I’m sure many of you are already aware that YouTube has been rolling out anti-adblock detection for Chrome users for a few weeks now.

Today, as a long time Firefox user with the fantastic uBlock Origin extension installed, I got my first anti-adblock popup on the platform. Note that this may not happen to you personally for a while, but it is inevitably coming for everyone.

Thankfully, the fine folks at uBlock Origin have already advised a simple workaround (on Reddit, yuck!) which I will duplicate in a simplified form below for your convenience. I have tested it on Firefox and it is working fine for me (so far).

PLEASE READ AND FOLLOW ALL OF THE INSTRUCTIONS IN THIS POST.

  1. Update uBO to the latest version (1.52.0+) . <== The extension itself, for technical improvements. You do this in your browser.

  2. Remove your custom config / reset to defaults. <== This means removing your custom filters (or disabling My filters) and disabling ALL additional lists you’ve enabled. It might be quicker to make a backup of your config and restore to defaults instead.

  3. Force an update of your Filter Lists. <== This is within the extension. Lists are what determine what’s blocked or not. How to update Filter lists: Click 🛡️ uBO’s icon > the ⚙ Dashboard button > the Filter lists pane > the 🕘 Purge all caches button > the 🔃 Update now button.

  4. Disable all other extensions AND your browser’s built-in blockers. <== No need to uninstall, just disable them. They might interfere with our solutions.

Make sure you follow all 4 points above. If you’re seeing the message, it’s likely due to your custom config (either additional lists or separate filters in My filters).

Restarting your browser afterwards may help too.

Once you’ve gotten rid of the issue on default settings, you can slowly start restoring your config (if you really need it). Do it gradually, to easier find out what was causing the issue in the first place. Once you find the culprit, simply skip it in your config.

If you want to use Enhancer for YouTube*, you have to* disable its adblocking*.*

May the force uBlock Origin be with you!

Update

Just wanted to mention a few things that have been pointed out in the comments:

  • There are quite a few projects that provide an alternative ad-free front end to YouTube. These include Invidious, FreeTube, LibreTube, Newpipe, Revanced, and I’m sure there are several more options I’ve missed. I don’t have any particular preference really but I routinely use NewPipe on my cellphone just because I tried it once and couldn’t be bothered trying all the others.
  • In step 4 listed above, to clarify, afaik you only need to remove adblocker extensions (if you have more than one installed) that might conflict with the uBlock Origin rules and trigger the anti-adblock, not all extensions.
  • If you hate non-stop ads but want to support your favorite content creators then be sure to give them some love on Patreon or whatever alternative options they provide. Creators typically make only a tiny, tiny fraction of what YouTube makes in ad revenue, assuming YouTube doesn’t just outright steal the lot, and it’s a shitty business model that’s ruining the internet. Even if you watch the ads, you’re only supporting YouTube most of the time, not the creators.
  • Yote.zip@pawb.social
    link
    fedilink
    English
    arrow-up
    100
    arrow-down
    2
    ·
    1 year ago

    Emphasis on #4 here - the anti-adblock will trigger if it detects any subpar adblocker, including e.g. Brave Browser’s “Shields” thing (even if you also use uBlock Origin). Helped a friend figure this out lately and found out they were running 3 adblockers and Brave Browser. Some people are truly special.

    • Unruffled [he/him]@lemmy.dbzer0.comOPM
      link
      fedilink
      English
      arrow-up
      33
      ·
      1 year ago

      Definitely, and note that (for me anyway) I didn’t have to disable any of my other extensions. I think they are referring mainly to adblocking extensions in that step.

    • akilou@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      6
      ·
      1 year ago

      #4 says “all” other extensions. Does it really mean all? Password managers, gui shit, source citation extensions?

      • takeda@lemmy.world
        link
        fedilink
        English
        arrow-up
        12
        ·
        1 year ago

        That’s too figure out which extension is causing an issue. If everything works right then you have nothing to worry about.

        If things do not work, the easiest is to get to a working state (latest version, removing any custom filters, disabling extensions) then once confirming that it works, gradually enabling things back until you can identify the offender.

    • atetulo@lemm.ee
      link
      fedilink
      English
      arrow-up
      4
      ·
      1 year ago

      What sucks about these measures (and others) is that they usually do a decent job of subverting the adblocker AdNauseam, which clicks on ads in addition to blocking them.

      This forces me to us uBlock Origin, ironically causes the people who implement these countermeasures to make less money off of my visits.

      • Yote.zip@pawb.social
        link
        fedilink
        English
        arrow-up
        14
        ·
        1 year ago

        Not as far as I know, but I don’t have much experience with Brave Browser. They probably use the same ad-filtering lists on the backend but their implementation is probably not identical. I know that for this situation in particular, Brave Shields was causing Youtube to act up but Ublock Origin wasn’t (might be fixed at this point in time).