Skip to content

jeevan-lal/Blocker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🛡️ Blocker Chrome Extension Blocker Icon

🚀 A powerful Chrome extension for blocking and overriding web requests. Monitor, block, and modify web requests in real-time.

License: MIT Chrome Web Store PRs Welcome GitHub issues GitHub stars GitHub forks Languages

✨ Features

🚫 Request Blocking

  • Block specific URLs using patterns
  • Maintain block lists and white lists
  • Global JavaScript blocking
  • Per-tab JavaScript blocking
  • Priority-based blocking rules

🔄 Content Override

  • Replace content for specific URLs
  • Support multiple resource types:
    • 📜 JavaScript
    • 🎨 CSS
    • 🖼️ Images
    • 📝 Fonts
    • 🎬 Media
    • 🔌 WebSocket
    • 📦 Other
  • 📤 Upload local files or use remote URLs
  • 🎯 Set block locations (Top-Level Pages, 3rd-Party Embeds, Data Requests)
  • ⚡ Configure override priorities

📊 Request Monitoring

  • 🔍 Real-time web request monitoring
  • 🏷️ Filter requests by type and status
  • 📝 Detailed request information
  • 🔎 Search through request logs
  • 🗑️ Clear request history

⚙️ Settings Management

  • 💾 Import/Export settings
  • 🔧 Enable/Disable extension
  • 🧹 Clear request logs
  • 📋 Rule management with priorities
  • 🎮 User-friendly interface

📥 Installation

Chrome Web Store

Chrome Web Store

🚀 Click the badge above to install from the Chrome Web Store.

🛠️ Manual Installation

  1. Clone this repository or download the source code
  2. Open Chrome and navigate to chrome://extensions/
  3. Enable "Developer mode" in the top right corner
  4. Click "Load unpacked" and select the extension directory

📖 Usage

🔵 Popup Interface

The popup interface provides quick access to:

  • 🔘 Enable/Disable extension
  • 🚫 Toggle JavaScript blocking (global and per-tab)
  • 📊 Start/Stop request monitoring
  • 🔍 View and filter request logs
  • 🛑 Block/Unblock URLs directly
  • 📋 Access detailed request information
  • 🔄 Quick reload current tab

⚙️ Options Page

The options page allows you to configure:

1. 🎛️ General Settings

  • Enable/Disable Blocker
  • Block All JavaScript
  • Clear Request Logs

2. 🚫 Block List Management

  • Add/Remove URLs to block
  • View blocked URLs
  • Clear block list

3. ✅ White List Management

  • Add/Remove URLs to whitelist
  • View whitelisted URLs
  • Clear white list

4. 🔄 Content Override Settings

  • Create content overrides with:
    • 🎯 Target URL patterns
    • 📦 Resource type selection
    • 📤 Content source (file upload or URL)
    • 🌐 Block locations
    • ⚡ Priority settings
  • View and manage existing overrides
  • Enable/Disable individual overrides

5. 💾 Import/Export

  • Export current settings to JSON
  • Import settings from JSON file

🤝 Contributing

Feel free to submit issues and pull requests for new features or bug fixes. Visit our GitHub repository to:

📄 License

License: MIT

MIT License - feel free to use this code in your own projects.

About

A powerful Chrome extension for blocking and overriding web requests. Monitor, block, and modify web requests in real-time.

Topics

Resources

License

Stars

Watchers

Forks