https://github.com/kananinirav/iframe-ad-blocker
Blocks ads delivered through iFrames - perfect for video sites and embedded content
https://github.com/kananinirav/iframe-ad-blocker
adblock adblocker adblocking adsblock iframe video-player
Last synced: about 1 year ago
JSON representation
Blocks ads delivered through iFrames - perfect for video sites and embedded content
- Host: GitHub
- URL: https://github.com/kananinirav/iframe-ad-blocker
- Owner: kananinirav
- Created: 2025-04-17T16:08:29.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2025-04-17T16:13:40.000Z (about 1 year ago)
- Last Synced: 2025-05-11T08:56:13.876Z (about 1 year ago)
- Topics: adblock, adblocker, adblocking, adsblock, iframe, video-player
- Language: JavaScript
- Homepage:
- Size: 74.2 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# iFrame Ad Blocker
A lightweight Chrome extension that blocks advertisements delivered through iFrames on websites, enhancing your browsing experience.
## Features
- **Targeted Ad Blocking**: Specifically blocks ads that are delivered through iFrames
- **Performance Optimized**: Lightweight implementation with minimal impact on browsing speed
- **Privacy Enhancement**: Limits tracking in embedded frames
- **Stats Tracking**: See how many iframe-based ads have been blocked
- **Simple Controls**: Easy on/off toggle when you need to temporarily disable blocking
- **Automatic Operation**: Works in the background without requiring configuration
## How It Works
iFrame Ad Blocker targets and restricts advertisements that are loaded through iFrames by applying sandbox attributes to them. This approach:
- Blocks most iframe-based ads in video players
- Stops iframe-based banner advertisements
- Maintains website functionality while removing intrusive content
## Works Best On
- Video Streaming Sites
- News Websites
- Blog Platforms
- Social Media with embedded content
## Installation
1. Download this repository as a ZIP file and extract it
2. Open Chrome and navigate to `chrome://extensions/`
3. Enable "Developer mode" (toggle in the top-right corner)
4. Click "Load unpacked" and select the extracted folder
## Usage
- The extension works automatically in the background
- Click the extension icon in your toolbar to:
- See how many iframe-based ads have been blocked
- Toggle the extension on/off
- Get information about the extension's effectiveness
## Screenshots

## Contributing
Contributions are welcome! If you'd like to improve the extension
## Visitors Count