Greasy Fork 支持简体中文。

YouTube Ad Blocker

Block YouTube ads effectively

作者
Patrick Gomes
今日安裝
0
安裝總數
47
評價
0 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.