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!

  • Dmian@lemmy.world
    link
    fedilink
    English
    arrow-up
    22
    ·
    1 year ago

    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