How to Bypass YouTube Ad Blocker Detection (uBlock Origin Steps)

Ashwin Karthik
Updated •
Youtube

To get around YouTube's ad blocker detection, update uBlock Origin to the latest version, remove custom filters and extra lists, then reset and update the built-in filter lists. Disable any other blocker, restart the browser and test again. YouTube changes its detection often, so a fix can stop working. YouTube says blocking ads violates its Terms of Service and playback may be blocked.

This page covers the filter-list steps for the "Ad blockers are not allowed" prompt, the other workarounds reported, and what YouTube says about blockers.

How to bypass YouTube's ad blocker detection with uBlock Origin

The 2023 fix for YouTube's anti-adblock prompt is to run a current uBlock Origin with only its built-in filter lists, refreshed. uBlock Origin's developers dated the October 2023 change of YouTube's anti-adblock script to October 6, 2023 (script ID 7c155e84) and published a step list in their Reddit thread. The steps from that guide:

  1. Install the latest version of uBlock Origin (1.52.0 or above was required in 2023) from the Chrome Web Store or Firefox add-ons page.
  2. Back up your settings: open the dashboard, go to Settings and choose Back up to file. This saves your custom rules and filters to a text file.
  3. Delete your custom filters (you restore them at the end) and disable all additional lists. Keep only the five built-in lists under the dashboard's Filter lists tab.
  4. Click Purge all caches, then Update now, to refresh the lists. In newer uBlock Origin builds the Purge all caches button was removed (version 1.54.1b11 per the project's wiki), so check your version: there, Update now refreshes lists that are out of date, and clicking a list's clock icon marks it out of date.
  5. Disable your browser's built-in blocking and other ad blocker extensions, such as Firefox's Enhanced Tracking Protection or Brave Shields. Several blockers at once work inefficiently.
  6. Restart the browser and reload YouTube.

uBlock Origin settings page with the back up to file option

uBlock Origin dashboard Filter lists tab

uBlock Origin Purge all caches and Update now buttons in the Filter lists tab

If the prompt remains, uninstall and reinstall uBlock Origin as a last resort, then restore your backed up settings. In the 2023 test, restoring the custom filters afterwards worked fine. Because YouTube changes its script repeatedly, check the uBlock Origin project's current YouTube threads for fixes newer than this guide.

Other workarounds readers report

Besides filter updates, a few extension and setup changes were reported to help against the detection prompt:

  • Enhancer for YouTube: if you use this add-on, its built-in ad blocker conflicts with uBlock Origin, so switch it off under Enhancer for YouTube settings, Ads management, Block ads.
  • A separate profile for YouTube: the 2023 article suggested a dedicated Firefox container (or a separate Chromium profile) used with a secondary Google account, in case YouTube acts against the account that triggers detection. This is a precaution the author suggested, not a proven fix.
  • Whitelist instead of fight: pause the blocker on youtube.com only, which ends the prompt for that site and leaves other sites protected.

Enhancer for YouTube settings with the ad blocking option

What YouTube's ad blocker detection does

YouTube's ad blocker detection checks whether ads on a video are being blocked and, if so, shows a prompt asking you to allow ads or try Premium. YouTube's Allow ads on videos that you watch page says that blocking ads violates its Terms of Service, that ad blocker extensions may affect video playback, and that continued use may lead to blocked playback.

YouTube prompt asking users to disable their ad blocker

The history: YouTube began testing ad blocker detection in May 2023 and widened it in October 2023, when this page was first written. Prompts have appeared in waves since, and YouTube says that if you see the message without using a blocker, or after turning it off, you can report it through the help page.

YouTube-approved options when the prompt appears

If the workarounds above stop working, YouTube offers three routes, depending on how you watch:

  • Allow ads on YouTube: whitelist youtube.com in your blocker or turn the extension off for that site, which also supports the creators you watch.
  • Subscribe to YouTube Premium: the ad-free route that YouTube itself recommends. Check the current plans and prices on YouTube Premium, since they vary by country; our note on Premium family plan household checks explains one rule to know about.
  • Watch in a privacy-focused browser: browsers with built-in tracker protection are a legitimate choice, but YouTube's policy applies to anything that blocks its ads, so the prompt may still appear.

Disabling your blocker everywhere is not necessary: most blockers let you pause on a single site.

Keep in mind that YouTube can change its detection at any time, and that using a blocker is against its terms, so playback restrictions are possible. Extension support also differs by browser; our coverage of uBlock Origin Lite on Microsoft Edge shows how.

Related: best Chrome ad blocker extensions, get rid of the "Before you continue to YouTube" prompt

Comments

  1. Anonymous said on
    Reply

    youtube hucksterism.

  2. Darren koh said on
    Reply

    Advert that time I just take a toilet break . Company just waste money on advertising

  3. Uncreated said on
    Reply

    I’m thinking Manifest v3, which Google is already knee deep in, is the problem.

  4. gridsleep said on
    Reply

    Or, just stop visiting Youtube and do the other million things in life that are available.

  5. Tim said on
    Reply

    I don’t have an ad blocker but they say I do so screw youtube

    1. penny said on
      Reply

      your browsers? every mainstream browser has one

      1. Anonymous said on
        Reply

        Interesting. I always had to download/install it myself in Chrome and IE.

  6. Alessandro Nanna said on
    Reply

    I tested it. Just log out of your youtube account and browse with ad block plus on. It works. Youtube can not kick you out if you are already logged out.

    1. Sandra said on
      Reply

      Yeah, but you wouldn’t be able to post comments that way. Defeats the purpose for me as most of the videos I look at I am itching to leave a comment with.

  7. Sunshine Kid said on
    Reply

    No problem with me. YouTube doesn’t want me on their site, I’m gone. Simple as that. There are lots of other places to watch videos.

    1. penny said on
      Reply

      lol where? dont those sites have ads as well…..

  8. Sunshine Kid said on
    Reply

    Too much hassle. There are other video sites on the Internet, such as BitChute, etc., so all this does is make another “woke” company go broke. It is enough to make me smile at their dictatorial policies that force people to go away.

    1. aol said on
      Reply

      lol. i just checked that site not only is the content laughable they have ads everywhere lolol. almost every site has ads brother

  9. Johan said on
    Reply

    Is working, but only temporary. You have to update the filter everyday. Sometimes several times. I gave up on it and went for Premium. I can afford it it’s to much hassle. Maybe they find a permanent fix, until then Premium.

    1. Max said on
      Reply

      It’s sad that you had to bend to their will. There’s an add-on that bypasses their adblocking block, making it possible to see videos with no issues. I’m using it on Firefox.

      I will never allow them to blackmail me by forcing me to choose between their ultra annoying ads and paid/premium subscription. I understand that they need to make money, but it can be done without such a heavy hammer IMHO.

      If this ad-forcing BS continues, then even more people will be moving to other video platforms. :)

      1. Newfie Joe said on
        Reply

        Please tell us, what’s the name of the add-on for Firefox?

      2. Max said on
        Reply

        Youtube Anti Adblock Bypasser

  10. Lucky Joestar said on
    Reply

    After getting the anti-ad blocking nanny message from YouTube today, I just gave up on the site altogether. While it may still be on the Internet, YouTube is now a dead site to me, in a de facto 404 status as far as I’m concerned. I’ve moved on to the so-called “right-wing” alternatives Rumble, Odysee and BitChute. They don’t censor content either. If you can reach out to your favorite content creators on YouTube, you can recommend they diversify to these alternative platforms.

  11. RockOrDie said on
    Reply

    Firefox is my everyday browser, so when ad blocker messages started appearing on YouTube this week, I did a Web search for help and found you. All I had to do was follow the Firefox instructions to refresh and speed up the browser, and then install Ublock. A million thanks for your help!

  12. David Harrison said on
    Reply

    They have also blocked my You Tube account as they say I have an ad blocker. But I dont as far as I know. I have never set out to get one. Unless someone has added it without me knowing ? I have never had any ads on any part of the internet so I may have ? But how do I know ? Thanks David Harrison

    1. Anonymous said on
      Reply

      The most likely reason is that your browser has a built-in adblocker. That is the case for Opera GX, as well as firefox I believe?

  13. Anonymous said on
    Reply

    I’m not sure what the hell to do about this. After getting my first “3 strikes and you’re out” warning yesterday evening, I opened Ghostery and clicked “trust youtube.com”. YouTube then successfully showed me ads. A few hours later, I opened another video, and got another “3 strikes” warning even though Ghostery was still grayed out on my toolbar.

    I sent a message informing them of their error, but because their “screenshot” tool doesn’t take a full screenshot, they won’t be able to see the relevant icon proving Ghostery was inactive. Plus knowing Google, who knows if a human will ever read my report, let alone help me?

    Now I’m afraid to use YouTube on my computer at all, because their ad block detection is clearly prone to false positives. Depending on how it counts, I’m not sure if I’m one or two false positives away from getting banned entirely, but either way it’s incredibly alarming.

  14. Anonymous said on
    Reply

    The absurdity is that if Google / YouTube had any sense, and a LOT less corporate greed, they’d do the maths and make it attractive for people to pay for YouTube Premium. Instead of charging families £20 a month, which I’d suggest most people will automatically multiply by 12 and decide not to pay, they could charge £1 per month per account or £5 per month per family and I’d imagine most people would see it as a reasonable cost. It’s sad that no one in their accounting department has managed to get across to them that some money is better none, especially when you multiply ‘some’ by a few hundreds of millions of users!

  15. John Constantinides said on
    Reply

    In a latest statement Google claims that “use of ad blockers violates the TOS”.

    Starting with video playback blocking after a 3 strike notification, the San Francisco-based tech giant plans going a step further by removing ad-blocking extensions from Chrome Web Store, with the nuclear option of purging hundred million accounts from YouTube refusing compliance with the new anti-ad blocking policy being their last resort.

    1. Johan said on
      Reply

      But if they do that removing ad blockers, won’t users that use ad blockers ditch Chrome and use another browser like Firefox or Brave?

  16. Anonymous said on
    Reply

    most of us stopped watching tv because of adds.

    1. boomshakalaka said on
      Reply

      facts. cant stand them

  17. Emily said on
    Reply

    If you “x” out of the pop-up without answering the question that acknowledges you read it and agree to it etc, the pop-up goes away and you can continue watching the videos. That is what I’ve been doing.

    1. Anonymous said on
      Reply

      Not anymore. I just got blocked forever because I used up “my last three videos without enabling ads on this shthole, or buying youtube premium, giving my data to fully trustable big brother google.

Leave a Reply

By commenting, you accept our privacy policy and keep the discussion respectful and on topic.