Skip to content

sobhanrajabi31/ads-highlighter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Ads Highlighter ✏

A lightweight Chrome extension that highlights ad-related search results and scam/advertised sites.

✨ Features

  • Compatible with dynamic DOM changes in search results.
  • Lightweight and optimized (no strain on the system).
  • Identify the actual structure of the ads, not just the ad text.

💡 How it works

The extension on Google search pages:

https://www.google.com/search*

Examines the structure of advertising and:

  1. Detects ad blocks.
  2. Highlights the entire space allocated to advertising.
  3. It places a badge titled Ad on it.

📷 Screenshot

image

🧱 Extension structure

ads-highlighter/
│
├── manifest.json
├── content.js
├── popup.html
├── popup.css
│
└── icons/
    ├── icon16.png
    ├── icon48.png
    └── icon128.png

🛠 How to install

  1. Download or clone the project:
git clone https://github.com/sobhanrajabi31/ads-highlighter.git
  1. Open Chrome and navigate to:
chrome://extensions
  1. Toggle Developer mode in the top right corner.
  2. Click the Load unpacked button (top left).
  3. Select the folder containing your extension files.
  4. Do some browsing on the internet until you come across an ad!

📝 License

Free to use, but attribution of the project source is appreciated if used or modified ❤️

About

Fights ad-related search results and scam/advertised sites.

Topics

Resources

License

Stars

Watchers

Forks

Contributors