A lightweight, elegant browser extension to block YouTube ads.
- Blocks pre-roll and mid-roll video ads
- Removes banner and overlay ads
- Simple toggle to enable/disable ad blocking
- Statistics tracking to see how many ads have been blocked
- Works on both Chrome and Firefox browsers
- Minimal resource usage
- Download this extension folder. 📂
dist-chrome
- Open Chrome and navigate to 🔗
chrome://extensions
- Enable "Developer mode" in the top right
- Click 🧈
Load unpacked
and select the extension folder. 📂dist-chrome
- The extension is now installed and active
- Download this extension folder. 📂
dist-firefox
- Open Firefox and navigate to 🔗
about:debugging#/runtime/this-firefox
- Click 🧈
Load Temporary Add-on
- Select 📜
manifest.json
file from the 📂dist-firefox
extension folder. - The extension is now installed and active
- Click on the extension icon in your browser toolbar to open the popup
- Use the main toggle to enable or disable ad blocking
- Configure specific settings using the options provided
- View statistics about how many ads have been blocked
The extension uses content scripts to detect and remove ads on YouTube:
- When a video ad is detected, it either skips it or fast-forwards to the end
- Banner ads and overlays are hidden using CSS
- The extension works without interfering with regular YouTube functionality
This extension:
- Does not collect any user data
- Does not communicate with any external servers
- All processing happens locally in your browser
MIT License