tanksmith.io adblock play button fix (also remves ads)

fix play button not working when using adblock (side effect when not using adblocker: removes ads)

当前为 2021-02-09 提交的版本,查看 最新版本

// ==UserScript==
// @name          tanksmith.io adblock play button fix (also remves ads)
// @namespace     http://bzzzzdzzzz.blogspot.com/
// @description   fix play button not working when using adblock (side effect when not using adblocker: removes ads)
// @author        BZZZZ
// @include       http://tanksmith.io/
// @include       https://tanksmith.io/
// @version       0.2
// @grant         none
// @run-at        document-start
// ==/UserScript==
 
{
const a=window.document.createElement("div");// greasemonkey fix
a.setAttribute("onclick","window.Object.defineProperty(window,'aiptag',{get:()=>({cmd:{display:{push:()=>{}},player:{push:()=>window.continueToPlay()}}}),set:()=>{}});");
a.click();
}

QingJ © 2025

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