A Tampermonkey script that hides Mastodon content warnings.
- Hides all articles in a column, that have/are a content-warning.
- Works dynamically: new articles are automatically invisible
- nothing to configure during runtime
- Automatically handles columns added to the page dynamically.
- Install Tampermonkey in your browser if you haven’t already.
- Create a new script and copy-paste the code from the
mastodon-hide-cw.user.js
repository. - Save and enable the script.
- Change the @match directives to your mastodon server
- Visit Mastodon, and you'll see no more content-warnings
Once installed, the script will automatically hide content warnings on Mastodon pages.
- Mastodon instances of your choice (default:
sueden.social
,chaos.social
,mastodon.social
) - Works on other Mastodon instances as well (by modifying the
@match
rules). - tested with Mastodon v4.3.0
This project is licensed under the MIT License - see the LICENSE file for details.
Feel free to submit issues or pull requests if you'd like to contribute to improving the script.