Skip to content

Instantly share code, notes, and snippets.

@jrw254
Created July 7, 2020 01:10
Show Gist options
  • Select an option

  • Save jrw254/08afb4628d7f353b828aac9a1c89adb6 to your computer and use it in GitHub Desktop.

Select an option

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") "
// ==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