Skip Navigation

YouTube's anti-adblock rollout has finally arrived for Firefox users

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.
698 comments
  • So annoyed at how all these services keep degrading for users. I was happy to pay for premium light. I don't need download/music/etc I just wanted no ads. Simple as that. The price was fairly reasonable and I would have kept paying it. Now they got rid of the premium light and I have to pay at least 50% more for additional things I don't and will not use.

    Alright then, well you lost a customer and I'll just use AdBlock. And if you somehow figure out how to disable that, I'm just going to find content somewhere else. I'm fucking sick of ads. I'll pay a reasonable amount to remove them. But I will not be continually wrung out for more and more money. Just leave me alone.

  • I started using freetube for linux a month or so ago. This is so much better than native youtube. The entire interface is smoother, I get less "loading" moments (none really) and it does not try and constantly reduce my resolution by "auto adjusting". No ads, no BS. Just better all around.

  • They're just being dicks considering how tiny the Firefox userbase is

    I fully expect to have to be fingeprinted, DNA tested and retinal scanned to access cOnTenT in a year or two

    • They already requested my ID a couple of years ago, because for some reason they classified some RDR2 channel I was watching to be 18+. I literally blacked out EVERYTHING besides my name and date of birth and they accepted it lol.

  • So, Youtube's dying.

    Maybe not right now. Maybe not next year. But they've decided to make everybody miserable, for a "business" that still won't cause enough misery to turn a profit.

    Meanwhile creators are censored worse than broadcast TV. Nevermind the effective ban on swearing - they can't even reference concepts without a surveillance program declaring that their latest video doesn't count, even though they'll still slap ads all over that removed.

    Those people have things they want to share with an audience that wants to see. Any middleman can either help, or become irrelevant. Bandwidth is cheap. Some creators are just in it for the money... but the money is bad, on Youtube, and it's getting worse. Patreon is more direct and far less stupid. As with all these lumbering ruins of 2010s internet media, the network effect of being the default will keep them relevant for a while, no matter what they do. Twitter's on fire and it's still not dead. But its prospects sure aren't getting better... and not because people changed.

    People are sadly predictable. These idiot robots exploit that masterfully, to a point, and then act bewildered when more pressure stops making more money. Like they forgot we can just leave.

  • For those using Safari, a simple custom browser stylesheet with a few styles is all you need, and is undetectable, as anti-adblock works with javascript, so no pesky “Why you blocking the ads? Mimimimimi…”

    • Go on..... As an avid non-applemac household I would install safari pretty quickly just to watch ad-less YouTube.

      • I think this should work with any browser that allows you to apply a custom user stylesheet. This used to be normal in the past, but Chrome took it away, and I don’t know if Firefox still allows it. Copied from a reply I put in another post:

        Ok, do this: download this stylesheet: http://damianvila.com/external/fuckyoutube/hider.css Save it somewhere where you can find it easily. Open Safari and go to Safari > Settings > Advanced. In the "Style sheet" dropdown, select "Other" and navigate to the style sheet. For maximum effect, do this while you have YouTube open... :D

        The stylesheet is organized in a way that you can comment/uncomment blocks to customize what you want/don't want to see on YouTube. Right now it has my preferences, but if you want to keep something, or hide something I had viewable, just comment/uncomment as you wish. The ads part is clearly marked, and the rest is menu things and navigation elements (I don't need most of those). I also hate Shorts with a passion, so I hide those too. Keep in mind that this can only be used in the desktop version. It doesn't work for mobile or any of the apps. Sadly, you'll have to suffer with the shitty ads there. But at least, you can have a decent experience while watching on your Mac. And since it's a user stylesheet, and has no Javascript whatsoever, YT has no way ob detecting or blocking it, so they can do nothing (other than changing the names of the titles, but that is easily fixed).

        Have fun.

        P.S: you'll notice that sometimes, where there should be an ad, you'll see like a blink in the video. Don't worry, it's normal. The video will continue without problems, and you won't see the ad.

        P.S.2: This stylesheet sometimes blocks shitty Google (or other sites) pages (because people are assholes and put things there that shouldn't be there). If you happen to find yourself in this situation (a page that is suspiciously blank, or don't allow to scroll, or behaves oddly) you can temporarily change the sylesheet to "None Selected", and see if the problem is fixed. When you're finished, remember to switch back to the stylesheet, or you'll have a shock when you go to YouTube... XDDDDD

      • Genuine question, why be avid anti-apple? I’m a mac fan, but I still use Linux and windows in my daily life. I’be never understood the anti-mac hate

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

    Is this just privacy-adjacent extensions, like privacybadger and disconnect, youtube-altering like sponsorblock and clickbait remover, all extensions, or some combination of the possibilities? All extensions seems a little extreme.

    edit: May have answered my own question. Skipped step 4 and restarted my browser and no popup after loading a couple videos.

    Edit The Second [Sadness Remix]: Got the popup again :( Guess it's on a timer for how often it comes up. I'll disable my youtube addons and report back. Already removed all privacy addons that aren't uBlock at recommendation of others.

  • I was thinking of experimenting with a Firefox extension that upon hitting a YouTube page, it just launches yt-dlp [url] && mpv [downloaded file]. Is there any interest here in that sort of thing?

  • For me in Europe with Linux its thankfully still working with uBlock

    I always try to use alternatives, but at least on desktop, it unfortunatelly often doesnt work right (freetube, piped)

    But theres of also youtube-dl, hope at least this stays an option!

  • @Flatworm7591 Many people will refuse to pay the high price of YouTube Premium or suffer through multiple pre and midroll adverts. It could lead to many abandoning the platform entirely.

    I think the way forward is self or federated hosting. The time of YouTube may finally be coming to a close. @neil

  • Corpo spies lurking around open community and implement what we are doing for years. What an f'ed up world.

  • This is interesting: The Blocker works on Windows-x86-Firefox but NOT on my Linux-x86-Firefox or any ARM-Device. It seems Google holds back very carefully not to overblock. Can someone try if the Browser-Identifier does influence this behaviour?

698 comments