隐藏微博分类侧边栏红点

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

  1. // ==UserScript==
  2. // @name 隐藏微博分类侧边栏红点
  3. // @version 0.1.2
  4. // @description 隐藏新浪微博网页版的左侧分类标签处恼人的红点
  5. // @author CWBeta
  6. // @include *weibo.com*
  7. // @icon https://www.google.com/s2/favicons?domain=weibo.com
  8. // @namespace https://gf.qytechs.cn/users/670174
  9. // @license MIT
  10. // ==/UserScript==
  11.  
  12. (function() {
  13. 'use strict';
  14. console.log("【隐藏微博分类侧边栏红点】运行中!")
  15. var style = document.createElement("style");
  16. style.type = "text/css";
  17. var cssString = ".NavItem_main_2hs9r .woo-badge-box{display:none !important}"
  18. try
  19. {
  20. style.appendChild(document.createTextNode(cssString));
  21. }
  22. catch(ex)
  23. {
  24. style.styleSheet.cssText = cssString;//针对IE
  25. }
  26. var head = document.getElementsByTagName("head")[0];
  27. head.appendChild(style);
  28. })();

QingJ © 2025

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