UPDATE 2 It 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!
UPDATE So 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:
- 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.
- 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.
I’ve got so many layers of adblock it’s hard to know which one(s) are responsible for blocking the ads.
Same here. Was just explaining to a coworker who was complaining about YT ads that I “just” use PiHole+Unbound for network blocking, AirVPN with DNS blocking, mullvad Private DNS on Android, and then Libretube to view my self-hosted Piped instance. As I said it I realized how ridiculous it’s gotten and how deranged I probably sound.
PiHole+Unbound . . . AirVPN with DNS blocking, mullvad Private DNS . . . Libretube
This is what I pictured reading all that.
Correct me if I’m wrong, but isn’t the point of using Piped having a proxy between you and YouTube? Or are you serving your instance to friends/family so that your queries get mixed together?
Did your coworker know what you were talking about? Also, please explain how AirVPN with DNS blocking works.
The irony of the straw poll site throwing up an anti-adblock banner 🤣
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
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
(function() {
'use strict';
var clickInterval = setInterval(skipAds, 5);
var ytpAdModule;
var miniAdd;
var skipButton;
var currentVideo;
function skipAds() {
ytpAdModule = document.querySelector('.ytp-ad-module');
skipButton = document.querySelector('button[class*="ad-skip"]');
miniAdd = document.querySelector('.ytp-ad-overlay-container');
if (ytpAdModule !== null && ytpAdModule.innerHTML !== '') {
ytpAdModule.style.display = 'none';
}
if (skipButton !== null) {
skipButton.click();
return;
}
currentVideo = document.querySelector('video[class*="main-video"]')
if (currentVideo !== null && currentVideo.duration <= 5) {
currentVideo.muted = true;
currentVideo.play();
currentVideo.currentTime = currentVideo.duration;
}
}
})();
Lastly, ensure the “Automatically execute the script when YouTube is loaded in a tab” box is checked, and press Save
I’ll add more methods as they are discovered!
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.
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.
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.
I genuinely think that advertising should be illegal at this point. It’s a ridiculous concept.
How do you define “advertising”?
Is it advertising if a community government makes citizens aware that bus service will be changing?
Is it advertising to tell people that there’s a suicide hotline available if they need help?
Is it advertising to encourage people to volunteer for a local festival?
What about telling people that the festival exists using a poster? Is that an ad? Does it depend if the festival is free or non-profit?
Advertising is just fundamentally about bringing people’s attention to something. The spectrum can range from a municipal government “advertising” its monthly meeting so that local people can participate in their local democracy, to spam emails hyping a pump-and-dump cryptocurrency.
Different people will have different ideas where the cut-off should be. The extreme libertarians will say that nothing should be banned. Others will say that it’s ok to ban ads for alcohol and cigarettes but not for makeup or coffee. Even totalitarian states and supposedly communist states where one entity controls all companies have ads. Some of the most striking ads ever made were for Mussolini.
So, the question really isn’t about banning ads, it’s just where to draw the line.
An increasing number of states are banning billboards along highways. Travelers do need a low tech method for finding certain services though, such as food, lodging, fuel and restrooms. So you’ll see those blue signs that says “FOOD NEXT EXIT” with a Waffle House and Burger King logo. In order to put the logo on that sign, the business has to meet certain criteria (which vary from state to state like all highway laws), for example a restaurant must be within 3 miles of the highway, be open for at least 12 hours a day and feature public restrooms and telephones. The sign itself may include a distinctive logo and the name of the business in legible font but no slogans or ad copy. “This burger restaurant is nearby.”
This I see as an appropriate amount of advertising.
Paying to tell others that they should buy something they otherwise would not.
It is a great example of how an industry can survive with only self-reported effectiveness. I remember a freakonomics episode where it was shown that very infrequently do companies get a positive return on marketing spending. It will be very interesting if that industry ever collapses.
Advertising is about creating trends, and catching some impulse buyers. Effectiveness is likely overstated, but on the other hand it’s difficult to quantify the effectiveness of a trend. I don’t think it’s likely to ever collapse, people will always want to believe they can influence others more than they actually can.
For those who don’t know: VLC also takes a YouTube video address as input (in the menu: Media | Open Network Stream…).
Your vlc is probably busted and could use a reinstall. Happened to me once. It still works.