YouTube Ad Blocker

Block YouTube ads effectively

Author
Patrick Gomes
Daily installs
0
Total installs
80
Ratings
1 0 0
Version
3.0
Created
2025-02-14
Updated
2025-02-14
Size
2.44 KB
License
N/A
Applies to

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.