Ad blockers are not allowed on YouTube : Solved

by Ekta

Ad blockers are not allowed on YouTube : Do you love watching YouTube videos but can’t stand those pesky ads? If you’re using an ad blocker to enhance your viewing experience, you might have encountered the dreaded “Ad Blockers are Not Allowed on YouTube” error.

But fear not, there are ways to work around this obstacle and enjoy ad-free content. In this guide, we’ll show you two methods to fix this issue, so you can get back to watching your favorite videos without interruptions.

Fix 1: Connect to a VPN

Step 1: Enable Your Ad Blocker

If you’re already using an ad blocker like AdBlock, make sure it’s enabled in your browser. You’re on the right track.

Step 2: Get ProtonVPN

  1. Open your web browser and search for “ProtonVPN.”
  2. Click on the official ProtonVPN website.
  3. Scroll down on the ProtonVPN page and find the option that says “Get Proton Free.” Click on it to start the process.
  4. You’ll be prompted to “Continue with free.” Go ahead and create an account.
  5. Follow the on-screen instructions to set up your Proton VPN account. It’s a simple process.
  6. Once your account is ready, you can download the ProtonVPN software.

Step 3: Connect to a VPN Server

ProtonVPN allows you to connect to servers in different countries. To bypass the “Ad Blockers are Not Allowed on YouTube” error, we need to connect to a country where YouTube doesn’t restrict ad blockers. Some countries, like Russia, Israel, or India, are known to be ad-blocker friendly.

  1. Open the ProtonVPN application and log in with your account.
  2. You’ll see a list of available servers. Choose one in a country where ad blockers work on YouTube.
  3. Connect to the server by clicking on it.

Step 4: Open YouTube

With the VPN connection in place, open your web browser and visit YouTube. Now, you can try watching some videos. You’ll find that your ad blocker works without triggering the error.


YouTube doesn’t prevent ad blockers in certain countries, which is why connecting to a VPN server in one of those countries helps you bypass the error.

Fix 2: Download uBlock Origin

uBlock Origin is a fantastic ad-blocking extension that can help you get rid of those annoying YouTube ads. Here’s how to set it up:

Step 1: Remove Existing Ad Blockers

Before we install uBlock Origin, it’s a good idea to remove any other ad-blocking extensions you might have in your browser. We want to avoid conflicts between different ad blockers.

Step 2: Download uBlock Origin

  1. If you’re using Chrome, open the Chrome Web Store. For Firefox users, visit the Firefox Add-ons website.
  2. In the search bar, type “uBlock Origin” and hit Enter.
  3. You’ll see the uBlock Origin extension. Click on “Add” or “Install” to add it to your browser.

Step 3: Configure uBlock Origin

Now that you have uBlock Origin installed, we need to make a few adjustments to ensure it works smoothly with YouTube.

For Chrome:

  1. Click on the puzzle icon in the upper-right corner of your browser to access your extensions.
  2. Find “uBlock Origin” and click on it.
  3. Click on the settings icon (usually represented by three horizontal lines).
  4. In the menu, select the “My filters” tab.
  5. This is where we’ll add some code to make sure uBlock Origin plays nicely with YouTube. Copy and paste the following code into the “My filters” tab:scssCopy, yt.config_.openPopupConfig.supportedPopups.adBlockMessageViewModel, false), Object.prototype.adBlocksFound, 0), ytplayer.config.args.raw_player_response.adPlacements, []), Object.prototype.hasAllowedInstreamAd, true)
  6. After pasting the code, click on “Apply changes.”

For Firefox:

The process for Firefox is similar to Chrome:

  1. Open Firefox and click on the three horizontal lines in the upper-right corner to access the menu.
  2. Choose “Add-ons.”
  3. Find uBlock Origin in the list of your extensions and click on “Options.”
  4. Click on the “My filters” tab.
  5. Copy and paste the same code as provided for Chrome.
  6. After pasting the code, click on “Apply changes.”

Step 4: Enjoy Ad-Free YouTube

With these filters applied to uBlock Origin, you should be able to watch YouTube videos without encountering the “Ad Blockers are Not Allowed on YouTube” error. Say goodbye to those ads and enjoy your favorite content interruption-free!

Wrapping Up

Now you have two effective methods to bypass the “Ad Blockers are Not Allowed on YouTube” error. Whether you choose to use a VPN or opt for uBlock Origin, you can enjoy your YouTube videos ad-free.

Just remember to use ad blockers responsibly and respect the policies of the websites you visit. Happy ad-free watching!