Learn how to build your own ad-blocker for Chrome!

Опубликовано: 13 Май 2026
на канале: Michael Mintz
1,622
69

Learn how to build your own ad-blocker for Chrome using the Manifest V3 format for Chrome extensions in under 40 lines of code. All you need is two files in a folder ("manifest.json" and "rules.json"), and then you can load that unpacked extension on the chrome://extensions/ page after you've enabled "Developer mode".

The API for Blocking URLs using `declarativeNetRequest`:
https://developer.chrome.com/docs/ext...

The API for Blocking specific elements using `declarativeContent`:
https://developer.chrome.com/docs/ext...

SeleniumBase on GitHub: https://github.com/seleniumbase/Selen...