Greasy Fork is available in English.

隐藏微博分类侧边栏红点

隐藏新浪微博网页版的左侧分类标签处恼人的红点

// ==UserScript==
// @name         隐藏微博分类侧边栏红点
// @version      0.1.2
// @description  隐藏新浪微博网页版的左侧分类标签处恼人的红点
// @author       CWBeta
// @include      *weibo.com*
// @icon         https://www.google.com/s2/favicons?domain=weibo.com
// @namespace    https://greasyfork.org/users/670174
// @license      MIT
// ==/UserScript==

(function() {
    'use strict';
    console.log("【隐藏微博分类侧边栏红点】运行中!")
    var style = document.createElement("style");
    style.type = "text/css";
    var cssString = ".NavItem_main_2hs9r .woo-badge-box{display:none !important}"
    try
    {
        style.appendChild(document.createTextNode(cssString));
    }
    catch(ex)
    {
        style.styleSheet.cssText = cssString;//针对IE
    }
    var head = document.getElementsByTagName("head")[0];
    head.appendChild(style);
})();