您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
the name says it all
// ==UserScript== // @name admiral deleter/says goodbye to admiral adblocker blocker // @namespace http://tampermonkey.net/ // @version 0.6 // @description the name says it all // @author You // @match http*://*/* // @exclude *docs.google.com/*/* // @exclude *sites.google.com/*/edit // @grant none // ==/UserScript== setInterval(function(){ if(typeof ADBdetected == "undefined"){} else { ADBdetected = () => {console.log("bob")} if(document.body.getElementsByClassName("fEy1Z2XT ")[0]){ document.body.getElementsByClassName("fEy1Z2XT ")[0].remove(); } } if(typeof window.admiral == "undefined"){} else { window.admiral = () => {console.log("admiral is evil!")} } },1); for(i in document.getElementsByTagName("script")){ var script = document.getElementsByTagName("script")[i] if(typeof script.innerHTML != "undefined" && script.innerHTML.includes('.setTargeting("admiral-engaged","true")')){ script.innerHTML = "console.log('admiral is evil!');"; } }