繞過二次壁的擋廣告檢查程式。chrome/Tampermonkey 建議開啟 Inject Mode = Instant
当前为
// ==UserScript==
// @name 二次壁 Anti Adblcok Bypass
// @namespace tw.nya.2cat_anti_adblock_killer
// @description 繞過二次壁的擋廣告檢查程式。chrome/Tampermonkey 建議開啟 Inject Mode = Instant
// @match *://*.2nyan.org/*
// @run-at document-start
// @version 5
// @grant none
// ==/UserScript==
let scope = (typeof unsafeWindow == "undefined") ? window : unsafeWindow;
scope.google_ad_block = 1;
// TemperMonkey with Instant mode = Default
if( GM_info.scriptHandler == "Tampermonkey" && document.readyState == "interactive" && document.body){
stop();
let html = document.documentElement.innerHTML;
document.open()
document.write(html);
document.close();
}