Hide Numbers

Hide Twitter followers count on your page

  1. // ==UserScript==
  2. // @name Hide Numbers
  3. // @namespace http://tampermonkey.net/
  4. // @version 0.1.1
  5. // @description Hide Twitter followers count on your page
  6. // @author Norza
  7. // @match https://twitter.com/*
  8. // @icon https://www.google.com/s2/favicons?domain=twitter.com
  9. // @grant none
  10. // @require http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js
  11. // @require https://gf.qytechs.cn/scripts/383527-wait-for-key-elements/code/Wait_for_key_elements.js?version=701631
  12. // @license MIT
  13. // ==/UserScript==
  14.  
  15. var interval = setInterval(function(){
  16. var arr = document.querySelectorAll("span[data-testid='app-text-transition-container']");
  17. arr.forEach(element => element.style.display = "none");
  18. }, 1000);
  19.  
  20. function hideFollowerCount (jNode) {
  21. $("a[href*='/followers']").hide();
  22. }
  23.  
  24. function hideStatusCount (jNode) {
  25. $("a[href*='/followers']").hide();
  26. $("a[href*='/likes']").hide();
  27. $("a[href*='/retweets']").hide();
  28. }
  29.  
  30. waitForKeyElements ("a[href*='/followers']", hideFollowerCount);
  31. waitForKeyElements ("a[href*='/likes']", hideStatusCount);

QingJ © 2025

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