YouTube Ad Blocker

Block YouTube ads effectively

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
Patrick Gomes
日安装量
0
总安装量
173
评分
1 0 0
版本
3.0
创建于
2025-02-14
更新于
2025-02-14
大小
2.4 KB
许可证
暂无
适用于

This script works by modifying the ytInitialPlayerResponse object to remove ad placements and intercepting fetch requests to modify ad-related data. It also includes additional logic to automatically click the skip button if an ad appears and to remove inline ads.

To use this script, you need to have a userscript manager like Tampermonkey installed in your browser. Once installed, you can create a new script and paste the above code into it. Save the script, and it should start working automatically when you visit YouTube.