Created
October 22, 2019 11:21
-
-
Save mrpatg/6655dff346e10d30963cc0fa54b75248 to your computer and use it in GitHub Desktop.
Discord - Hide Blocked Message Bar
This file contains 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
/* | |
Open Discord desktop app and press CTRL+SHIFT+I. | |
Paste this whole thing into the console and press enter. | |
This will need to be repeated each time Discord is started/restarted. | |
*/ | |
(function hideBlocked() { | |
// This script already existed, but the class names in Discord have changed. I modified it to work again. | |
document.querySelectorAll('[class^=messageGroupBlocked]').forEach(div => div.setAttribute("style", "display: none;")); | |
// Adjust timeout accordingly. 500ms is plenty for me. | |
setTimeout(hideBlocked, 500); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment