https://github.com/phpmacher/mastodon-hide-cw
A Tampermonkey script that hides Mastodon content warnings.
https://github.com/phpmacher/mastodon-hide-cw
content-warning fediverse greasemonkey greasemonkey-script javascript mastodon mastodoncustomization mitlicense opensource socialmediatools tampermonkey userscript userscripts
Last synced: about 1 month ago
JSON representation
A Tampermonkey script that hides Mastodon content warnings.
- Host: GitHub
- URL: https://github.com/phpmacher/mastodon-hide-cw
- Owner: phpmacher
- License: mit
- Created: 2024-10-20T14:40:18.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-10-20T16:33:17.000Z (7 months ago)
- Last Synced: 2025-02-03T23:08:09.214Z (3 months ago)
- Topics: content-warning, fediverse, greasemonkey, greasemonkey-script, javascript, mastodon, mastodoncustomization, mitlicense, opensource, socialmediatools, tampermonkey, userscript, userscripts
- Language: JavaScript
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Mastodon Content Warning Hider
## Description
A Tampermonkey script that hides Mastodon content warnings.
## Features
- 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.## Installation
1. Install [Tampermonkey](https://www.tampermonkey.net/) in your browser if you haven’t already.
2. Create a new script and copy-paste the code from the `mastodon-hide-cw.user.js` repository.
3. Save and enable the script.
4. Change the @match directives to your mastodon server
5. Visit Mastodon, and you'll see no more content-warnings## Usage
Once installed, the script will automatically hide content warnings on Mastodon pages.
## Compatibility
- 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## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
## Contributions
Feel free to submit issues or pull requests if you'd like to contribute to improving the script.