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...