YouTube AdBlocker: The Ultimate Solution to Blocking Ads on Chrome, Microsoft Edge, and Firefox
Kanani Nirav

Kanani Nirav @kanani_nirav

About: Software Engineer 💻 Passionate About Continuous Growth And Development.

Location:
Tsukuba, Japan
Joined:
Aug 8, 2022

YouTube AdBlocker: The Ultimate Solution to Blocking Ads on Chrome, Microsoft Edge, and Firefox

Publish Date: Nov 11 '23
13 8

Currently, YouTube tries to force us to watch ads by showing a message that says “Ad blockers are not allowed on YouTube”. Here is the solution that effectively blocks YouTube ads, and ad-blocker detection popups, and gives you an ad-free experience.

GitHub Repository: Youtube-AdBlocker

If you find this helpful, please give a star to the above repository and share it with your friends. Your support is greatly appreciated!

Installation Steps

Chrome

  • Type chrome://extensions/ in the address bar of Chrome and press Enter.

  • Enable Developer mode: Toggle the Developer mode switch at the top right of the Extensions page.

  • Load the extension: Click on the Load unpacked button and select the folder where you extracted the extension files or drag the folder.

  • Confirm installation: Confirm that the extension is now listed on the Extensions page and is enabled.

Microsoft Edge

  • Access Extensions Menu: Click on the three horizontal dots in the upper-right corner to open the menu and select Extensions from the menu.

  • Enable Developer Mode: Scroll down on the Extensions page and find the Developer mode toggle switch. Turn on Developer mode.

  • Load the Extension: Click on the Load unpacked button that appears after enabling Developer mode. Navigate to the folder where the extension files are located and select the extension's folder or drag the folder.

  • Confirm Installation: Confirm that the extension is now listed on the Extensions page and is enabled.

Mozilla Firefox (https://addons.mozilla.org/en-GB/firefox/addon/youtube-adblocker-free/)

Install from a store or follow the below steps for local installation.

  • Access the Add-ons (Extensions) Manager:

    • Click on the three horizontal lines in the upper-right corner to open the menu.
    • Select Add-ons from the menu.
  • Enable Developer Mode:

    • In the Add-ons Manager, click on the gear icon (settings) in the top right corner.
    • Choose Choose Debug Add-ons
    • Turn on the Enable add-on debugging and Enable extension debugging options.
  • Load the Extension:

    • Click on Load Temporary Add-on
    • Navigate to the folder where the extension files are located and select the extension’s manifest.json file
  • Manage Extension Settings:

    • In the Add-ons Manager, click on the three horizontal dots next to the extension you installed. Choose “Manage”
    • Under Permissions, enable (*://youtube.com, *://www.youtube.com, *://m.youtube.com) toggle button
  • Confirm Installation: Confirm that the extension is listed on the Add-ons Manager page and is enabled.

Open YouTube in a new tab and verify whether the extension is working as expected.

I’ve confirmed the installation steps provided above and the extension works seamlessly. It effectively blocks YouTube ads and prevents ad-blocker detection popups, ensuring an uninterrupted and ad-free browsing experience.

If You are using Medium Please support and follow me for interesting articles. Medium Profile

Subscribe to My Newsletter:

If you're ready to subscribe, simply click the link below:

Subscribe to My Newsletter

By clicking the link, you'll be directed to the newsletter page, where you can easily subscribe and receive regular updates delivered directly to your inbox. Don't miss out on the latest trends and expert analysis in software development.

Stay updated with my latest and most interesting articles by following me.

If this guide has been helpful to you and your team please share it with others!

Comments 8 total

  • Jon Randy 🎖️
    Jon Randy 🎖️Nov 11, 2023

    uBlock Origin still working just fine for me

    • Eljay-Adobe
      Eljay-AdobeNov 11, 2023

      uBlock Origin and uMatrix are must "must have" extensions.

      I have not yet tried Pi-hole, but that may be an alternative I'll try at some time.

  • Harsha S
    Harsha SNov 11, 2023

    Thank You :)

  • Anita Olsen
    Anita OlsenNov 11, 2023

    Thank you so much for this!

  • Leroy
    LeroyNov 11, 2023

    How is this not just a shameless plug for your own extension which also needs dubious permissions..

    Otherwise you could have just launched it on the browser extension stores and plug that

    • James
      JamesNov 12, 2023

      I've taken a look at the code and while I'm more of a C# guy I didn't see anything in the code that was weird. Granted I just woke up, so I might've missed something, but for the people in the back row could you clarify your objections? What didn't I see in his code?

      • Kanani Nirav
        Kanani NiravNov 12, 2023

        @sfleroy @crazycga
        I created this extension for my own use and later decided to share it on GitHub so just write installation instructions for others. However, I haven't launched any extension to extension stores, as I'm not familiar with the process and don't have any interest.

  • waleed raza
    waleed razaJan 31, 2024

    I create a blog post about the Best ad blocker in 2024 top 7best free ads blocker in 2024 but when I place the download button it's not working every time when clicking on it it opens another kind of site I am very tense can you help me with this you can check that if you think you can do it

    shorturl.at/byA27

    My budget is just 20$ if you fix it for just 20$ please let me know waitang for you a positive response thanks

Add comment