Block add-block warning

blocks the message that blosks adblock.

目前为 2021-07-27 提交的版本。查看 最新版本

  1. // ==UserScript==
  2. // @name Block add-block warning
  3. // @version 1
  4. // @description blocks the message that blosks adblock.
  5. // @author Dalveer
  6. // @match https://*.deccanchronicle.com/*
  7. // @compatible chrome
  8. // @namespace https://greasyfork.org/users/797771
  9. // ==/UserScript==
  10. function f(){
  11. if(document.querySelector("#adblock-warning") == null){
  12. setTimeout(f, 1000);
  13. return;
  14. }
  15. document.querySelector("#adblock-warning").style.display="none";
  16. document.querySelector("body").style.overflow = "scroll";
  17. document.querySelector("#autoRefresh").checked = false;
  18. }
  19. f();
  20.