Home » Social Media » YouTube » How to Fix “Ad blockers violate YouTube’s Terms of Service”

How to Fix “Ad blockers violate YouTube’s Terms of Service”

Are you getting an “Ad blockers violate YouTube’s Terms of Service” error?

Here’s the second part of the error “It looks like you may be using an ad blocker”.

Followed by, “Video playback is blocked unless YouTube is allowlisted or the ad blocker is disabled”.

And, “Ads allow YouTube to be used billions worldwide”.

And, “You can go ad-free with YouTube Premium, and creators can still get paid from your subscription”.

In this guide, you’ll learn how to remove, bypass, or fix “Ad blockers violate YouTube’s Terms of Service” on Chrome, Brave, Firefox, and more.

How to Fix “Ad blockers violate YouTube’s Terms of Service”

Ad blockers violate YouTube's Terms of Service

To fix “Ad blockers violate YouTube’s Terms of Service”, you need to connect to a VPN where the error message doesn’t show up like Russia, Israel, or India.

You can also try downloading the uBlock Origin extension and applying some filters.

Fix 1: Connect to a VPN

  1. Enable your existing adblocker (e.g. AdBlock).
  2. Go to protonvpn.com, scroll down, and select “Get Proton Free”.
  3. Select “Continue with free” and create an account.
  4. Follow the on-screen instructions and download Proton VPN.
  5. Connect to a Russia, Israel, or India VPN.
  6. Open YouTube and try watching some videos.
  7. The adblocker that you’re using (e.g. AdBlock) should work.

Note: YouTube does not prevent adblockers in certain countries—so you can connect to the VPN of those countries to bypass the error.

Fix 2: Download uBlock Origin

  1. Remove all existing adblock extensions on your browser.
  2. Download the uBlock Origin extension for Chrome or Firefox.
  3. If you’re on Chrome, click on the puzzle icon.
  4. Select “uBlock Origin” and click on the settings icon.
  5. Click on the “My filters” tab.
  6. Copy and paste the following code:
    • youtube.com##+js(set, yt.config_.openPopupConfig.supportedPopups.adBlockMessageViewModel, false)
    • youtube.com##+js(set, Object.prototype.adBlocksFound, 0)
    • youtube.com##+js(set, ytplayer.config.args.raw_player_response.adPlacements, [])
    • youtube.com##+js(set, Object.prototype.hasAllowedInstreamAd, true)
  7. Click on “Apply changes” and try watching some YouTube videos.

Note: By applying these filters to uBlock Origin, both the “Ad blockers violate YouTube’s Terms of Service” error and ads on videos should be gone.

Further reading

How to Fix “Ad blockers are not allowed on YouTube”

How to Fix Instagram Error Code 6296

How to Fix “The audio track in your reel is no longer available” on Instagram


About the author

Lim How Wei

Lim How Wei is the founder of followchain.org, with 8+ years of experience in Social Media Marketing and 4+ years of experience as an active investor in stocks and cryptocurrencies. He has researched, tested, and written thousands of articles ranging from social media platforms to messaging apps.

Lim has been quoted and referenced by major publications and media companies like WikiHow, Fast Company, HuffPost, Vice, New York Post, The Conversation, and many others. One of his articles about the gig economy was quoted by Joe Rogan who hosts The Joe Rogan Experience (arguably the most popular podcast in the world), in the This Past Weekend podcast by Theo Von.

In his free time, Lim plays multiple games like Genshin Impact, League of Legends, Counter-Strike, Hearthstone, RuneScape, and many others. He creates guides, walkthroughs, solutions, and more on games that he plays to help other players with their progression.