Skip to content

Blocks YouTube ads including skip-able, non-skip-able, and sponsor ads.

License

Notifications You must be signed in to change notification settings

Pekadii/YouTube-Ad-Blocker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

License Release Development

YouTube Ad Blocker

YT Logo

Important

Undetectability:

  • My ad blocker avoids detection by YouTube because it uses declarativeNetRequest rules and carefully crafted filters to block ad-related resources directly at the network level. Unlike traditional ad blockers that modify content or scripts dynamically, which YouTube can detect, the blocker prevents ad-related requests from being loaded in the first place. This silent blocking approach ensures seamless integration and avoids triggering YouTube's ad-detection systems.

Bypass Logo

My YouTube Ad Blocker is a powerful Chrome, Edge, Opera - Opera GX extension designed to block intrusive ads on YouTube. It eliminates skip-able ads, non-skip-able ads, sponsor segments, and overlay ads, enhancing your YouTube viewing experience. This extension runs in the background to ensure seamless ad-free playback without requiring manual intervention.

Browser Support


Chrome

Edge

Opera

Opera GX

Features

Tip

  • Removes skip-able and non-skip-able ads. Sponsor block:
  • Blocks sponsor content and overlays. Dynamic ad removal:
  • Monitors and blocks dynamically loaded ads during video playback. Lightweight:
  • Minimal performance impact while blocking ads effectively. Custom rules:
  • Configured to target YouTube and related domains (e.g., DoubleClick and Google Video).

Installation

Important

  1. Clone or download this repository.
  2. Open Chrome (or a Chromium-based browser like Opera).
  3. Go to chrome://extensions/ or opera://extensions/.
  4. Enable Developer mode (toggle in the top-right corner).
  5. Click Load unpacked and select the downloaded folder containing the extension files.
  6. For any reason a ad does pop up just click CTRL + R!

How It Works

The extension uses:

  • Declarative Net Request API: Blocks network requests for ads at the browser level.
  • Content scripts: Observes and removes ads dynamically injected into the DOM.
  • Service worker: Keeps the extension active and ensures continuous functionality.

Contributing

Feel free to contribute to this project by opening an issue or submitting a pull request.

License

This project is licensed under the MIT License.

About

Blocks YouTube ads including skip-able, non-skip-able, and sponsor ads.

Resources

License

Stars

Watchers

Forks

Languages