// ==UserScript== // @name Anti-Anti Adblock // @namespace https://greasyfork.org/users/55460 // @author 阿皇仔 // @description 防止 Adblock 被偵測 // @include https://apk.tw/* // @include https://openload.co/* // @version 1 // @grant none // @run-at document-start // @downloadURL none // ==/UserScript== if (location.hostname == 'apk.tw') { document.cookie = 'adblock_forbit=1;expires=0'; } if (location.hostname == 'openload.co') { window.adblock = false; window.adblock2 = false; document.onbeforescriptexecute = function(e) { if (e.target.src.search('script.packed') != -1) e.preventDefault(); }; var HideAdv = function() { window.BetterJsPop = null; window.doPopAds = null; window.doSecondPop = null; window.secondsdl = 0; setInterval(function() { $("#downloadTimer").click(); }, 100); } document.addEventListener('DOMContentLoaded', HideAdv, false); }