Do not display discord blocked messages

I don't care about blocked messages...

目前为 2020-01-13 提交的版本。查看 最新版本

// ==UserScript==
// @name         Do not display discord blocked messages
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  I don't care about blocked messages...
// @author       Bum
// @require      http://code.jquery.com/jquery-3.4.1.min.js
// @grant        GM_addStyle
// @match        https://discordapp.com/channels/134286179121102848/211187501153386496
// @grant        none
// ==/UserScript==

(function() {
    function GM_addStyle(css) {
        const style = document.getElementById("GM_addStyle") || (function() {
            const style = document.createElement('style');
            style.type = 'text/css';
            style.id = "GM_addStyle";
            document.head.appendChild(style);
            return style;
        })();
        const sheet = style.sheet;
        sheet.insertRule(css, (sheet.rules || sheet.cssRules || []).length);
    } GM_addStyle ( `
.messageGroupBlocked-3wrQQX, .messageGroupBlockedBtn-1PBBh- {display: none !important}
` );
})();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址