stop Adblock page

sdasdasdasd!

  1. // ==UserScript==
  2. // @name stop Adblock page
  3. // @namespace http://tampermonkey.net/
  4. // @version 0.3
  5. // @description sdasdasdasd!
  6. // @author massyao
  7. // @run-at document-start
  8. // @match https://getadblock.com/*
  9. // @match https://adblockplus.org/*
  10. // @icon https://www.google.com/s2/favicons?sz=64&domain=getadblock.com
  11. // @grant none
  12. // @license MIT
  13. // ==/UserScript==
  14.  
  15. (function() {
  16. 'use strict';
  17. const page_list = [
  18. 'adblockplus.org',
  19. 'getadblock.com'
  20. ];
  21. if(page_list.some(domin => location.href.includes(domin))) {
  22. window.close()
  23. }
  24. // Your code here...
  25. })();