DiscordTextReact

Discord client-side userscript that allows users to comment messages with reactions/emojis (eg you input nice in the text box and it will react with 🇳 🇮 🇨 🇪 to the message)

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

You will need to install an extension such as Tampermonkey to install this script.

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

作者
nopeee
今日安裝
1
安裝總數
107
評價
0 0 0
版本
1.3
建立日期
2023-03-20
更新日期
2023-06-02
尺寸
10.8 KB
授權條款
MIT
腳本執行於

Discord web client userscript that allows users to react/comment messages with emojis or reactions. Read the installation steps for it to work proprely.

INSTALLATION STEPS :

  • Install the script
  • Select the text code at the end of this description (starts with javascript: )
  • Click and drag the selected text to your bookmarks (usually located under you address bar)
  • Open discord web client. Make sure the userscript script in running and that you are already logged in to discord
  • Click on the bookmark
  • Done ! (you can check console logs to verify that values have been stored) Now, next to the normal actions you can do when hovering a message, another possibility will appear. Click on it and enter your text. Then reactions will appear under the message. As an example, if you input nice in the text box, it will react with 🇳 🇮 🇨 🇪 to the message. As there is a limited number of letter emojis, sometimes not all of your text will be reacted with. If there is a shorter way the program will take it (if you input cool it will react with 🆒).

You can delete the bookmarklet afterwards. The values are stored in the script's storage.

↓↓↓↓↓ Bookmarklet ↓↓↓↓↓↓ javascript:var getToken = () => { const webpackCache = window.webpackChunkdiscord_app.push([ [Symbol()], {}, (req) => Object.values(req.c) ]); webpackChunkdiscord_app.pop(); const { getToken } = webpackCache.find(m => m?.exports?.default?.getToken).exports.default ; return getToken();};var getxsuperpropreties = () => { const webpackCache = window.webpackChunkdiscord_app.push([[Symbol()], {}, (req) => Object.values(req.c) ]);webpackChunkdiscord_app.pop();const { getSuperPropertiesBase64 } = webpackCache.find(m => m?.exports?.default?.getSuperPropertiesBase64).exports.default;return getSuperPropertiesBase64();};["authorization","xsuperproperties"].forEach((thing)=>{ var obj = document.createElement("meta"); obj.setAttribute("property",thing); obj.setAttribute("content",(thing == "authorization" ? getToken() : getxsuperpropreties())); document.head.appendChild(obj);})

TROUBLESHOOTING

  • If suddenly, no reactions are set but the script is running, you gotta update your important values ! (aka run the bookmarklet on the discord web page)