Advanced AdBlocker: A powerful Chrome extension that blocks advertisements across the web, with a focus on YouTube ad removal.
- 🛡️ General Ad Blocking — Blocks common ad networks and tracking scripts.
- 🎥 YouTube Ad Removal — Specifically targets YouTube video ads and overlays.
- 📊 Statistics Tracking — Monitor how many ads have been blocked.
- ⚙️ Customizable Settings — Enable/disable different types of ad blocking.
- 🎨 Modern UI — Beautiful glassmorphism design with real-time statistics.
- Download or clone this repository.
- Open Chrome and navigate to
chrome://extensions/. - Enable Developer mode.
- Click Load unpacked and select the extension folder.
- The extension will be installed and ready to use.
- Select all files in the extension folder.
- Right-click and create a ZIP archive.
- Rename the ZIP file to
advanced-adblocker.zip. - Share the ZIP file for easy installation.
- Intercepts network requests using Chrome's
webRequestAPI. - Blocks requests to known ad domains and YouTube ad servers.
- Removes tracking headers.
- Maintains statistics of blocked ads.
content.js— General ad blocking across all websites.youtube.js— YouTube-specific ad removal and video player modifications.
- Modern, responsive design with glassmorphism effects.
- Real-time statistics display.
- Toggle controls for different ad blocking features.
- Settings persistence using Chrome storage.
- Removes video ads before they play.
- Hides ad overlays and banners.
- Automatically clicks skip buttons when available.
- Speeds up ads that can't be skipped.
- Blocks YouTube ad network requests.
-
Blocks requests to major ad networks:
- Google AdSense/AdWords
- Facebook Ads
- Amazon Ad System
- DoubleClick
- And more
-
Removes ad elements from DOM.
-
Hides ad containers and iframes.
-
Blocks tracking scripts.
- Tracks total ads blocked.
- Separate counter for YouTube ads.
- Persistent storage across sessions.
- Reset functionality.
adblock/
├── manifest.json # Extension configuration
├── background.js # Service worker for network filtering
├── content.js # General ad blocking content script
├── youtube.js # YouTube-specific ad blocking
├── popup.html # Extension popup interface
├── popup.js # Popup functionality
├── icons/ # Extension icons
│ ├── icon16.png
│ ├── icon48.png
│ └── icon128.png
└── README.md # This file
- Main Toggle — Enable/disable all ad blocking.
- YouTube Ads — Toggle YouTube-specific ad blocking.
- General Ads — Toggle general website ad blocking.
- Does not collect or transmit personal data.
- Only blocks ad requests and removes ad elements.
- Stores settings and statistics locally.
- Does not track browsing history.
- Ensure the extension is enabled in
chrome://extensions/. - Check for conflicts with other ad blockers.
- Refresh the page.
- Inspect browser console for errors.
- Ensure YouTube ad blocking is enabled.
- Refresh YouTube page.
- Clear browser cache and cookies.
- Verify if YouTube updated ad delivery system.
- Temporarily disable extension to test.
- Check if issue persists on other websites.
- Monitor browser memory usage.
- Edit relevant JS files.
- Update
manifest.jsonfor new permissions. - Test changes by reloading extension.
- Create ZIP file for distribution.
- Add new ad blocking patterns.
- Improve YouTube ad detection.
- Enhance UI design.
- Add new features.
MIT License — Open source.
For educational and personal use only. Respect website terms of service and support content creators.