Odjebite trolovi

mice sve postove, ukljucujuci i kvotove

  1. // ==UserScript==
  2. // @name Odjebite trolovi
  3. // @license MIT
  4. // @namespace https://forum.hr*
  5. // @version 01
  6. // @run-at document-idle
  7. // @description mice sve postove, ukljucujuci i kvotove
  8. // @author fs
  9. // @match https://www.forum.hr/*
  10. // @grant GM_getResourceText
  11. // ==/UserScript==
  12.  
  13. (function() {
  14. 'use strict';
  15. const postsContainer = document.getElementById('posts');
  16. const postDivs = postsContainer.querySelectorAll('div');
  17.  
  18. const keywords = ['ZoomZoom'];
  19.  
  20. postDivs.forEach(postDiv => {
  21. const postText = postDiv.textContent;
  22.  
  23. // Check if any of the keywords are present in the post text
  24. const keywordFound = keywords.some(keyword => postText.includes(keyword));
  25.  
  26. if (keywordFound) {
  27. postDiv.remove();
  28. }
  29. });
  30. })();

QingJ © 2025

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