Skip to content

Instantly share code, notes, and snippets.

@davidkrider
Created May 26, 2021 20:30
Show Gist options
  • Save davidkrider/86853bb5237a3b3c7eab4f57c12ffbb8 to your computer and use it in GitHub Desktop.
Save davidkrider/86853bb5237a3b3c7eab4f57c12ffbb8 to your computer and use it in GitHub Desktop.
Redact the placeholder for tweets with muted words
// ==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