Has YouTube Blocked Your Adblocker Yet??

UPDATE 2It seems that starting today, uBlock Origin is working to combat this Youtube Block. Mine started working again! Lets all thank the devs of UBO for fighting this fight!

UPDATESo as new info comes out, I’ll be posting it here. It seems as if this Rollout Has Several Parts.

Part 1

You get a popup message over top of your video, blocking the screen: https://lemmy.dbzer0.com/pictrs/image/bd0e0c67-f37d-4b82-a5b8-1703542f0af1.jpeg

  • This is the first sign. If you see this popup AND are logged into a YouTube account, your account has been selected.
  • At this stage you can likely close or block these messages with an adblocker.

Part 2

This message will change, indicating that you have 3 remaining videos to watch without ads.

Will insert photo once one has been found

  • At this stage your adblocker will imminently stop working in 3 videos time.
  • Personally using Firefox + uBlock Origin and tweaking filters and updates does not even fix it.

Part 3

None of the video loads now, everything looks blank.

https://lemmy.dbzer0.com/pictrs/image/e37261ac-cf82-4ecd-9481-bea42029a3a0.png

  • At this stage you must tred new ground to avoid ads. I have posted methods in the comments. If you want to bypass this end page, read down there.

End of Update


YouTube has started rolling out anti-adblock to users inside the United States, which means that they are preparing to roll this out to the entire country. Personally, I have been blocked already. I want to gauge how common this occurrence is.

Honse, (edited )

I’m going to start a discussion in the comments here about methods to bypass the message. I will add suggestions here, so leave comments if you find a method!

Methods to bypass Youtube Anti-Adblock:

- The easiest method is simply to comply and turn off your adblock extension.
My Method
  • My method, and the one that will likely work universally is as follows:

Install Extension Enhancer for YouTube™

Go to the extensions settings and ensure that under the Ads Management section, “Block Ads” is turned OFF

https://lemmy.dbzer0.com/pictrs/image/16230dc5-ade1-4c6a-b6f8-f0104a4b080d.png

Now find the Custom Script box at the very bottom and enter the following script. I did not write this code, it comes from egaudette on GitHub


<span style="color:#323232;">(function() {
</span><span style="color:#323232;">    'use strict';
</span><span style="color:#323232;">    var clickInterval = setInterval(skipAds, 5);
</span><span style="color:#323232;">    var ytpAdModule;
</span><span style="color:#323232;">    var miniAdd;
</span><span style="color:#323232;">    var skipButton;
</span><span style="color:#323232;">    var currentVideo;
</span><span style="color:#323232;">
</span><span style="color:#323232;">    function skipAds() {
</span><span style="color:#323232;">        ytpAdModule = document.querySelector('.ytp-ad-module');
</span><span style="color:#323232;">        skipButton = document.querySelector('button[class*="ad-skip"]');
</span><span style="color:#323232;">        miniAdd = document.querySelector('.ytp-ad-overlay-container');
</span><span style="color:#323232;">
</span><span style="color:#323232;">        if (ytpAdModule !== null &amp;&amp; ytpAdModule.innerHTML !== '') {
</span><span style="color:#323232;">            ytpAdModule.style.display = 'none';
</span><span style="color:#323232;">        }
</span><span style="color:#323232;">
</span><span style="color:#323232;">        if (skipButton !== null) {
</span><span style="color:#323232;">            skipButton.click();
</span><span style="color:#323232;">            return;
</span><span style="color:#323232;">        }
</span><span style="color:#323232;">
</span><span style="color:#323232;">        currentVideo = document.querySelector('video[class*="main-video"]')
</span><span style="color:#323232;">        if (currentVideo !== null &amp;&amp; currentVideo.duration &lt;= 5) {
</span><span style="color:#323232;">            currentVideo.muted = true;
</span><span style="color:#323232;">            currentVideo.play();
</span><span style="color:#323232;">            currentVideo.currentTime = currentVideo.duration;
</span><span style="color:#323232;">        }
</span><span style="color:#323232;">    }
</span><span style="color:#323232;">})();
</span>

Lastly, ensure the “Automatically execute the script when YouTube is loaded in a tab” box is checked, and press Save

https://lemmy.dbzer0.com/pictrs/image/10b997a8-0a72-4616-8155-0cdfc59d7b59.png


I’ll add more methods as they are discovered!

Neato,
@Neato@kbin.social avatar

Why would this work when others get blocked? Is it a novel way to block YT ads that's not popular? Because I think YT isn't looking for specific extensions but looking for certain kinds of behavior.

Honse,

This method lets ads load for half a second but then get skipped instantly. i have not personally found a way to 100% block ads once ive gotten their block page.

nilloc,

I use greasemonkey to do a similar trick with the skip and dismiss buttons. But added random delays up to 2 seconds in an attempt to mimic a human clicking the button.

Also instead of an interval running, you can use MutationObserver and a callback to only run the code when the DOM changes and adds the button.

SharkEatingBreakfast,

Thank you, thank you, thank you, thank you!!! ❤️

Platform27, (edited )

Until today I haven’t seen an ad on YT, for years. Then I searched for a video, clicked, and got an ad. Clicked off the video, restarted the browser (also updated uBlock’s filters), and that fixed it.

Edit: I wrote this and got another ad. No video, just the audio.

WtfEvenIsExistence,
lemann,

Admiral is the worst kind of anti adblock there is.

They buy thousands of domains at a time, with individually corresponding Google Cloud IPs to evade adblock lists. Real pain in the ass to block them, they also DMCA community blocklists containing their domains

ramjambamalam,

Sounds like DMCA abuse to me. You can’t copyright a fact. In this case, the fact that these IPs are used by a company is a fact.

RogueBanana,

When has that stopped anyone from abusing it anyway…

ArmokGoB,

People should tell them to kick rocks.

mah,

well, I will stop to use YouTube, and that will solve 2 problems

toiletwhole,
@toiletwhole@feddit.de avatar

If you are on Linux you can just use freetube. Maybe it’s also available on windows but that’s something I don’t know

orvorn,

FreeTube is available on Windows as well.

TinyPizza,
@TinyPizza@kbin.social avatar

Thanks for the recommendation. Just downloaded (just in case) and I've gotta say, I might like this enough to switch out even if they don't mess with my browser player.

twena,

Not from US but my uBlock has a problem with YouTube since yesterday. It blocks the ad video but the sound of it is still audible.

mah,

true

twena,

glad i’m not the only one

JelloBrains,
@JelloBrains@kbin.social avatar

I followed this from Ublock's Reddit page, it's working for now.

Current anti-adblock status: Latest fixed (ID: 462a8d5d)*

Please, remember these 3 steps:

Force update all your filter lists (click uBO icon > ⚙ Dashboard button > Filter lists pane > 🕘 Purge all caches > 🔃 Update now)
Turn off all other extensions AND browser's built-in blockers
Remove all your current custom filters AND custom filter lists that you have enabled / added manually (Adguard lists...)
It might be quicker to make a backup of your config and restore to defaults before proceeding to step 1.

Fixing anti-adblock can cause ads slipped. If you see any ads slipped, please report back the EXACT URL and your country when accessing the URL so volunteers are able to investigate.

The filter lists can be updated multiple times a day, so please always do step 1 before reporting.

  • About the ID above, it's the ID of YouTube's script that's used for anti-adblock, you can monitor it via this link: https://pastefy.app/G1Txv5su/raw (top to bottom is oldest to latest). It means that the current fix is matched with the script with corresponding ID.

If the latest ID (the last line) does not match the current one written above, it means YT has updated the new one and it might cause anti-adblock again. If it matches and you still get anti-adblock, kindly check the 3 steps above. Thank you.

twena,

I will definitely try this. Thank you really

daredevil,
@daredevil@kbin.social avatar

I can't remember the last time I've seen an ad on YouTube

mosthated,
@mosthated@feddit.nl avatar

Same. If I really need the website, I now use yewtu.be

American_Jesus,

Or https:/piped.video

krimsonbun,
@krimsonbun@lemmy.blahaj.zone avatar

piped has been giving me more issues recently, I think Google’s fighting them?

GivingEuropeASpook,
@GivingEuropeASpook@lemm.ee avatar

yeah same, only like half of the videos load or play.

Fjor,

Had the same issues, but decided to host my own instance. Not had a single issue since, plus the latency is great 😏

deegeese,

The irony of the straw poll site throwing up an anti-adblock banner 🤣

glad_cat,

I have a VPN and I can’t vote.

balderdash9,

That’s self selection bias if I’ve ever seen it

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • uselessserver093
  • Food
  • aaaaaaacccccccce
  • [email protected]
  • test
  • CafeMeta
  • testmag
  • MUD
  • RhythmGameZone
  • RSS
  • dabs
  • Socialism
  • KbinCafe
  • TheResearchGuardian
  • oklahoma
  • feritale
  • SuperSentai
  • KamenRider
  • All magazines