Version 0.1.4
A simple user-script for the Mastodon Web UI which adds a toggle button to unhide/hides all content warning text by default.
If there's interest, I'll mod the mastodon sourcecode and submit a patch so instance owners can include it as a feature.
Give this repo a star to let me know you want more.
Choose from one of these options for your browser (more options coming). The script is tested in Violentmonkey so your milage may vary with the others.
Browser | Options |
---|---|
Chrome | Tampermonkey or Violentmonkey |
Firefox | Greasemonkey, Tampermonkey or Violentmonkey |
Click Here! your user-script manager should handle everything and bring up a review screen. Follow step #3 and you should be good to go.
In this early version of the script, you'll have to install the script and then edit the @match
line to match your instance's URL through Tamper/Grease/Violentmonkey's script editor.
For example, if you browse your instance at https://icosohedron.web/ then you'd change the top of the script to read:
// ==UserScript==
// @name unContentWarn
// @description Adds a button to toggle the hiding of content warning text content.
// @match https://icosohedron.web/web/*
You should be in business!
Look for this button
Click it to toggle content warnings off and on.
You'll have to reinstall the script from the link above and copy your @match. If I enable auto-update, it'll wipe your @match every time and that's just annoying.
Simply add an extra @match line e.g.
// ==UserScript==
// @name unContentWarn
// @description Adds a button to toggle the hiding of content warning text content.
// @match https://icosohedron.web/web/*
// @match https://cybre.space/web/*
Limited support available at @Fumon@cybre.space