Created
July 7, 2020 01:10
-
-
Save jrw254/08afb4628d7f353b828aac9a1c89adb6 to your computer and use it in GitHub Desktop.
Just archiving this script for future use. " Make Banning Great Again (actually hides banned users' "blocked messages") "
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 Friendlier Discord | |
| // @namespace http://tampermonkey.net/ | |
| // @version 1.0 | |
| // @description Make Banning Great Again (actually hides banned users' "blocked messages") | |
| // @author fjleon | |
| // @match https://discord.com/channels/* | |
| // @grant none | |
| // ==/UserScript== | |
| (function() { | |
| 'use strict'; | |
| var rule = "[class^=groupStart] { display: none }"; | |
| var styleElement = document.createElement("style"); | |
| styleElement.type = "text/css"; | |
| if (styleElement.style.cssText) { | |
| styleElement.style.cssText = rule; | |
| } else { | |
| styleElement.appendChild(document.createTextNode(rule)); | |
| } | |
| document.getElementsByTagName("head")[0].appendChild(styleElement); | |
| })(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment