An extension for Discord that allows you to hide and show content in messages.
- Drop-down arrows are shown above content that can be hidden; similar to Slack.
- Hide images, animates gifs, videos, emojis, and embedded link content.
- Hidden content persists between page and application loads.
- Support for dark and light themes
- Works on the Web and Desktop apps.
This works on both the desktop app and Discord.com. The Desktop app needs a local installation of Python while the web app has a couple different options to use.
If you want to hide content on the Discord web app, this script is available as a browser extenstion on:
If you have a user script extension such as Violent Monkey, Tamper Monkey, or Grease Monkey, this script is hosted here on greasyfork.org
Unfortunately, the desktop installation isn't as seamless as it is on the web. A console command needs to be run whenever starting Discord, but that can be solved on Windows by creating a .bat file or something similar. The install process also has some prerequisites that need installed first.
- Python is available on the Microsoft Store or through the Python website
- Download and extract the lastest release for the discord-content-toggle anywhere on your PC
- Open a cmd prompt, navigate to the folder you extracted, and type:
python -m pip install -r requirements.txt
python discord-content-toggle.py
Discord will open with this script injected. The cmd prompt is safe to close if it didn't automatically.
- To launch again in the future, you only need to type:
python discord-content-toggle.py
- Consider making a .bat file that you can double click to run
python discord-content-toggle.py
- If Python is not already installed, the install instructions are here.
- Download and extract the lastest release for the discord-content-toggle anywhere on your Mac
- Open a terminal, navigate to the folder you extracted, and type:
python -m pip install -r requirements.txt
python discord-content-toggle.py
Discord will open with this script injected. The terminal is safe to close if it didn't automatically.
Note: Assumes the Discord application is installed in /usr/bin/Discord
- Install Python if it's not already installed
- Download and extract the lastest release for the discord-content-toggle anywhere on your computer
- Open a terminal, navigate to the folder you extracted, and type:
python -m pip install -r requirements.txt
python discord-content-toggle.py
To make the extension seemless, create a local application launcher which will override the system launcher
cat > ~/.local/share/applications/discord.desktop <<EOL
[Desktop Entry]
Name=Discord
StartupWMClass=discord
Comment=All-in-one voice and text chat for gamers that's free, secure, and works on both your desktop and phone.
GenericName=Internet Messenger
Exec=python /opt/discord-ext/desktop-app/discord-content-toggle.py
Icon=discord
Type=Application
Categories=Network;InstantMessaging;
Path=/usr/bin
X-Desktop-File-Install-Version=0.26
EOL
- To launch again in the future, you only need to type:
python discord-content-toggle.py