Remove Down-thumb Count for CC98

隐藏CC98每个帖子的获踩数量

  1. // ==UserScript==
  2. // @name Remove Down-thumb Count for CC98
  3. // @version 0.1.1
  4. // @description 隐藏CC98每个帖子的获踩数量
  5. // @author anonymousII, dont try to guess who i am :)
  6. // @license AGPL-3.0
  7. // @match https://www.cc98.org/*
  8. // @grant none
  9. // @run-at DOMContentLoaded
  10. // @namespace https://gf.qytechs.cn/users/1268364
  11. // ==/UserScript==
  12.  
  13. (function() {
  14. 'use strict';
  15. setInterval(function() {
  16. var divs = document.querySelectorAll('div[id^="dislike"]');
  17. for (var i = 0; i < divs.length; i++) {
  18. var div = divs[i];
  19. if (/^dislike\d+$/.test(div.id)) {
  20. var children = div.childNodes;
  21. for (var j = 0; j < children.length; j++) {
  22. var child = children[j];
  23. if (child.tagName === 'SPAN' && child.className === 'commentProp') {
  24. child.textContent = '0';
  25. break;
  26. }
  27. }
  28. }
  29. }
  30. }, 500);
  31. })();

QingJ © 2025

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