禁用微博首页黑白特效

禁用微博首页部分黑白特效

  1. // ==UserScript==
  2. // @name 禁用微博首页黑白特效
  3. // @name:en Disable grayscale on Weibo.com
  4. // @namespace http://neet.coffee/
  5. // @version 0.32
  6. // @description 禁用微博首页部分黑白特效
  7. // @description:en Disable the grayscale effects on weibo.com
  8. // @author Neet-Nestor
  9. // @license MIT
  10. // @match *://*.weibo.com/*
  11. // @icon https://weibo.com/favicon.ico
  12. // @grant none
  13. // ==/UserScript==
  14.  
  15. (function() {
  16. 'use strict';
  17.  
  18. document.querySelectorAll('.grayTheme').forEach((ele) => {
  19. ele.classList.remove('grayTheme');
  20. });
  21.  
  22. // Periodically check for any more grayTheme to remove
  23. setInterval(() => {
  24. document.querySelectorAll('.grayTheme').forEach((ele) => {
  25. ele.classList.remove('grayTheme');
  26. });
  27. }, 1000);
  28. })();

QingJ © 2025

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