Greasy Fork镜像 支持简体中文。

Asura Scans Comments Remover

Removes Asura Scans comments

  1. // ==UserScript==
  2. // @name Asura Scans Comments Remover
  3. // @namespace Violentmonkey Scripts
  4. // @match https://asuracomic.net/*
  5. // @grant none
  6. // @version 1.0
  7. // @author Jacob68
  8. // @description Removes Asura Scans comments
  9. // @license GNU GPLv3
  10. // ==/UserScript==
  11.  
  12. (function() {
  13. function removeThread() {
  14. const element = document.querySelector('.p-4.space-y-4');
  15. if (element) {
  16. element.remove();
  17. console.log("Thread Removed");
  18. return true;
  19. }
  20. return false;
  21. }
  22.  
  23. removeThread();
  24.  
  25. const observer = new MutationObserver(() => {
  26. if (removeThread()) {
  27. observer.disconnect();
  28. }
  29. });
  30.  
  31. observer.observe(document.body, {
  32. childList: true,
  33. subtree: true,
  34. });
  35.  
  36.  
  37. setTimeout(() => observer.disconnect(), 5000);
  38. })();

QingJ © 2025

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