Skip to content

z1nc0r3/Facebook-Ad-Blocker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Facebook Sponsored Post Blocker (Chrome Extension)

A lightweight Chrome extension that automatically detects and hides sponsored posts on Facebook.
It works by reconstructing obfuscated "Sponsored" labels, so even when Facebook scrambles the letters, this extension still catches them.

✨ Features

  • 🔍 Detects sponsored posts by reconstructing hidden "Sponsored" text.
  • 🚫 Hides sponsored posts from your feed (default behavior).
  • 🟨 Debug Mode: highlight sponsored posts instead of hiding them. image
  • 📌 Optional banners: show a placeholder banner where the post was hidden. image

⚙️ Installation (Developer Mode)

  1. Clone or download this repository.
  2. Open Chrome → go to chrome://extensions/.
  3. Enable Developer mode (top-right).
  4. Click Load unpacked and select the project folder.
  5. The extension will appear in your toolbar.

🔧 Usage

  • By default, sponsored posts are hidden.
  • Click the extension icon to open the pop-up:
    • Enable/Disable – master switch to toggle functionality.
    • Debug Mode – highlights posts instead of hiding them.
    • Show Banner – places a placeholder for the hidden sponsored posts.

ToDo:

  • Update Show Banner option to add toggle the hidden post.

⚠️ Disclaimer

This extension is for educational purposes only.
Facebook may change its DOM structure at any time, which could break detection.

About

A lightweight Chrome extension that automatically detects and hides Sponsored posts on Facebook.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published