This is a basic Chrome extension that blocks ads on websites using simple rules and content filtering.
- Blocks ads from known ad networks like DoubleClick, Taboola, Media.net, and more
- Removes ad elements from web pages
- Has a toggle switch to enable or disable the ad blocker anytime
- Clean, lightweight, and easy to use
- Download or clone this repo
- Open Chrome and go to
chrome://extensions/ - Enable Developer Mode (top right)
- Click "Load unpacked"
- Select this project folder
That’s it! The ad blocker will start working immediately.
- Click on the extension icon in the toolbar
- it blocks ads every second
manifest.json– main file that tells Chrome about the extensioncontent.js– removes ad elements from the pagerules.json– blocks ad network requestspopup.html– the interface you see when you click the extensionpopup.js– logic for the toggle buttonstyles/popup.css– styling for the popup UI
Made by AJ (Abhishek Jain)
This project is open source and free to use for learning purposes.