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)

当前为 2022-02-18 提交的版本,查看 最新版本

// ==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     /^https?\:\/\/(www\.)?tanksmith\.io\/([?#]|$)/
// @version     0.6
// @grant       none
// @run-at      document-start
// @inject-into content
// ==/UserScript==
 
{
const a=window.document.createElement("div");
a.setAttribute("onclick","window.Object.defineProperty(window,'aiptag',{get:()=>({cmd:{display:{push:()=>{}},player:{push:()=>window.continueToPlay()}}}),set:()=>{}});");
a.click();
}

QingJ © 2025

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