您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Disable ads and show FPS counter on kidschoiceawards.com
This userscript automatically removes all ads on the Kids’ Choice Awards site (kidschoiceawards.com
) and adds a live FPS counter in the top-right corner. It runs once when the page first loads, then re-applies ad-removal every 5 seconds to catch any dynamically injected slots.
<div class="bb-unit">
, iframe[src*="doubleclick"]
).requestAnimationFrame
) in the top-right corner.@match
line covers https://www.kidschoiceawards.com/*
.
// ==UserScript==
// @name Kids’ Choice Awards – Ad Block & FPS Counter
// @namespace https://greasyfork.org/users/YourName
// @version 1.0.0
// @description Disable ads and show FPS counter on kidschoiceawards.com
// @match https://www.kidschoiceawards.com/*
// @grant none
// ==/UserScript==
setInterval(disableAds, 5000)
line.counter.style
inside the script.function disableAds() {
window.googletag = {cmd: []}; // stub GPT
document.querySelectorAll('.bb-unit, .ad-slot, iframe[src*="doubleclick"]').forEach(e => e.remove());
}
requestAnimationFrame(loopFPS);
setInterval(disableAds, 5000);
MIT License — feel free to fork and improve!