Greasy Fork镜像 支持简体中文。

Fix Popcat Wrong Words

Fix some wrong words on the popcat webpage

  1. // ==UserScript==
  2. // @name Fix Popcat Wrong Words
  3. // @namespace http://tampermonkey.net/
  4. // @version 1.0
  5. // @description Fix some wrong words on the popcat webpage
  6. // @author Misaka-L
  7. // @match https://popcat.click/
  8. // @icon https://popcat.click/icons/favicon-32x32.png
  9. // @grant none
  10. // ==/UserScript==
  11.  
  12. (function() {
  13. 'use strict';
  14.  
  15. setInterval(function(){
  16. var items = document.getElementsByClassName("country")
  17. for (var i = 0; i < items.length; i++)
  18. {
  19. switch (items[i].innerText)
  20. {
  21. case 'Taiwan':
  22. items[i].innerText = "China Taiwan"
  23. break;
  24. case 'Hong Kong':
  25. items[i].innerText = "Hong Kong SAR"
  26. break;
  27. }
  28. }
  29. }, 1000);
  30. })();

QingJ © 2025

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