Created
May 26, 2021 20:30
-
-
Save davidkrider/86853bb5237a3b3c7eab4f57c12ffbb8 to your computer and use it in GitHub Desktop.
Redact the placeholder for tweets with muted words
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @name Twitter Redact Mutes | |
| // @namespace http://tampermonkey.net/ | |
| // @version 0.1 | |
| // @description try to take over the world! | |
| // @author dk | |
| // @match ... | |
| // @grant none | |
| // ==/UserScript== | |
| (function() { | |
| 'use strict'; | |
| var badDivs = document.querySelectorAll("div div:contains('This tweet includes a word you muted, CASE SENSITIVE')"); | |
| badDivs.remove (); | |
| })(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment