安装步骤: 先安装脚本管理器,再点“安装”,最后打开脚本适用的网站。
以下数据来自原始来源,与本站收到的安装请求分开统计。
原始脚本: YouTube Ads-Bypass + Premium Logo (Ultra Light)
来源版本: 1.29.0
最近来源检查:
最近成功检查:
本站收到的请求不代表用户已完成安装。
点击安装只表示本站收到安装请求,不代表安装已完成。 安装后无法使用?查看问题反馈与排查
A high-performance, ultra-lightweight, and event-driven Tampermonkey script designed to bypass all YouTube video ads, completely block adblock warning popups, and inject the official YouTube Premium logo for both light and dark modes. Built with 0% idle CPU usage and zero polling loops (no setIntervals).
setInterval loops constantly, this script is fully event-driven, utilizing native modern APIs like MutationObserver.isIntersecting: true), while it is actually completely hidden and disabled.dark) themes.document.documentElement at document-start to hide known ad elements, overlays, and warnings immediately, preventing any visual flickering or layout shifts.yt-navigate-finish event to ensure the script remains active and re-initializes correctly across in-page transitions.Proxy wrapper around the browser's native IntersectionObserver. If the target element is an anti-adblock dialog (YTD-ENFORCEMENT-MESSAGE-VIEW-MODEL, TP-YT-PAPER-DIALOG, etc.), the observer returns isIntersecting: true and intersectionRatio: 1.MutationObserver watches for newly added elements in the DOM. Once the warning popup is detected, it automatically clicks the dismiss button, clears the warning container contents to prevent memory leaks, and triggers the play button to resume the video.#movie_player element for .ad-showing or .ad-interrupting classes. Once detected, the skip actions are instantly executed.Make sure you have a UserScript manager extension installed in your browser:
Ctrl + S or File -> Save).If you make modifications to the source code in ads.js, you can minify the script offline by running:
node minify.js
This will automatically process your changes and generate/update the optimized adsMinify.js file (compressed down to ~12KB).
评分: 0