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.
TheCraiggers ( @TheCraiggers@lemmy.dbzer0.com ) English163•2 years agoI’ve got so many layers of adblock it’s hard to know which one(s) are responsible for blocking the ads.
DARbarian ( @DARbarian@artemis.camp ) 145•2 years agoSame 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.
NumbersCanBeFun ( @NumbersCanBeFun@kbin.social ) 76•2 years agoThis all sounds like extremely reasonable to me. Fuck the haters.
UndefinedIsNotAFunction ( @UndefinedIsNotAFunction@programming.dev ) English16•2 years agoSame. Keep up the good work.
DARbarian ( @DARbarian@artemis.camp ) 6•2 years agoHaha I appreciate y’all! Next stop: Tor City
TrustingZebra ( @TrustingZebra@lemmy.one ) English40•2 years agoI just use use uBlock Origin.
DARbarian ( @DARbarian@artemis.camp ) 2•2 years agoI didn’t think that could block Youtube ads alone? Like Hulu and Spotify
TrustingZebra ( @TrustingZebra@lemmy.one ) English43•2 years agoBefore this new behavior uBlock Origin always blocked YouTube ads.
Risk ( @Risk@feddit.uk ) English9•2 years agoI mean, it did up until maybe now.
nudny ekscentryk ( @nudnyekscentryk@szmer.info ) English6•2 years agostill does outside the US
reflex ( @reflex@kbin.social ) 20•2 years agoPiHole+Unbound . . . AirVPN with DNS blocking, mullvad Private DNS . . . Libretube
This is what I pictured reading all that.
DARbarian ( @DARbarian@artemis.camp ) 7•2 years agoHahaha yeah I may have went a little berserk there
Emanuel ( @Emanuel@lemmy.eco.br ) English8•2 years agoCorrect 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?
DARbarian ( @DARbarian@artemis.camp ) 4•2 years agoYeah that’s the point. I do use my instance for links when sharing to people, but the main reason I selfhosted was for control and mostly just fun
SomeBoyo ( @SomeBoyo@feddit.de ) English7•2 years agoWhy do you need adblock, when using piped?
Darkassassin07 ( @Darkassassin07@lemmy.ca ) English27•2 years agoBecause the internet includes more than just youtube…?
DARbarian ( @DARbarian@artemis.camp ) 17•2 years agoFor everything other than Youtube!
Very_Bad_Janet ( @Very_Bad_Janet@kbin.social ) 5•2 years agoDid your coworker know what you were talking about? Also, please explain how AirVPN with DNS blocking works.
DARbarian ( @DARbarian@artemis.camp ) 4•2 years agoWell they were already talking UBO and PiHoles, so I had faith lol AirVPN has the option to add blocklists to its DNS. Obviously with everything else I don’t really need it, but it can’t hurt.
deegeese ( @deegeese@sopuli.xyz ) English109•2 years agoThe irony of the straw poll site throwing up an anti-adblock banner 🤣
glad_cat ( @glad_cat@lemmy.sdf.org ) English42•2 years agoI have a VPN and I can’t vote.
- balderdash ( @balderdash9@lemmy.zip ) English1•2 years ago
That’s self selection bias if I’ve ever seen it
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!
Neato ( @Neato@kbin.social ) 21•2 years agoWhy 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.
nilloc ( @nilloc@discuss.tchncs.de ) English2•2 years agoI 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.
Farent ( @farent@lemmy.scam-mail.me ) English4•2 years agoPlease note that posting the script has html-encoded && <> and similar characters so you’ll have to replace those with the correct ones (or just get the script from GitHub)
speq ( @speq@lemmy.dbzer0.com ) English82•2 years agoFor those who don’t know: VLC also takes a YouTube video address as input (in the menu: Media | Open Network Stream…).
snowbell ( @snowbell@beehaw.org ) English6•2 years agoStrange, that doesn’t work for me
𝒍𝒆𝒎𝒂𝒏𝒏 ( @lemann@lemmy.one ) English10•2 years agoUpdate your VLC player if you haven’t already.
There is also a way to individually update just the extractor LUA script that VLC uses to play YT videos, but I haven’t messed with that in so long I’ve forgotten how to do it
henfredemars ( @henfredemars@infosec.pub ) English77•2 years agoThis is such a better use of their time and dollars versus improving their service to make it more attractive to customers.
If this is the change that really sets them financially straight, then I would say they have a failing business model.
splendoruranium ( @splendoruranium@infosec.pub ) English44•2 years agoThis is such a better use of their time and dollars versus improving their service to make it more attractive to customers.
Making their service more attractive to customers is precicesly what they’re trying to do.
It’s just that an advertising agency’s customers are not the folk who watch, read or hear the ads, it’s the folk who pay for the ads.
tryptaminev 🇵🇸 🇺🇦 🇪🇺 ( @tryptaminev@feddit.de ) English4•2 years agoI am not sure if it will work out like this though. The amount of ads they are forcing down peoples throat is isane. Eventually it will make people consume less videos and with that less ads overall.
BlueBockser ( @BlueBockser@programming.dev ) English7•2 years agoAnd thus the enshittification cycle completes
splendoruranium ( @splendoruranium@infosec.pub ) English7•2 years agoI am not sure if it will work out like this though. The amount of ads they are forcing down peoples throat is isane. Eventually it will make people consume less videos and with that less ads overall.
Sure, could be - but keep in mind that they have all the relevant usage data at hand. Any decrease in service popularity among users (or indeed any kind of user behavior) is immediately visible to them. They have the means to know exactly what annoyances the market will bear.
And considering that YouTube still holds a de-facto monopoly on video discoverability within the entire anglophone internet I feel like it’s safe to say that the market will likely bear a lot more annoyances :P
doggle ( @doggle@lemmy.dbzer0.com ) English24•2 years agoYou are not the customer. You are the product.
theshatterstone54 ( @theshatterstone54@feddit.uk ) English5•2 years agoYes, but if they destroy their products (aka drive users away) their real customers (ad companies) will pull out.
ours ( @ours@lemmy.film ) English5•2 years agoJust ask Twitter/X or what’s left ot it.
Skull giver ( @skullgiver@popplesburger.hilciferous.nl ) English3•1 year ago[This comment has been deleted by an automated system]
theshatterstone54 ( @theshatterstone54@feddit.uk ) English1•2 years agoLess viewer numbers to show to advertisers.
Skull giver ( @skullgiver@popplesburger.hilciferous.nl ) English3•1 year ago[This comment has been deleted by an automated system]
Landrin201 ( @Landrin201@lemmy.ml ) English14•2 years agoIf premium cost $5per month I’d pay for it, u use YouTube all the time
No way in hell it’s worth $15 a month though, their pricing is completely brwindead
Petter1 ( @Petter1@lemm.ee ) English9•2 years agoJust make a (digital) trip to India and get family of 5 accounts for about 1$ a month per account. This the way I did it.
whoareu ( @kionite231@lemmy.ca ) English7•2 years agoI won’t give a penny to the evil google.
charles ( @charles@poptalk.scrubbles.tech ) English4•2 years agoIt’s $25/mo for family. I hate that I pay for it, but I use music, and I mostly watch YouTube on a streaming device, so I’ve never been able to use ad blockers. $15 for the fam felt worth it, but $25 has me rethinking. Maybe I can configure YT-DL to get the shows I care about on my Plex
TwoCubed ( @TwoCubed@feddit.de ) English5•2 years agoAny android based streaming device can run SmartTube (formerly SmartTube next). On an Android phone you can patch the YouTube apk with revanced, which also gives you full access to yt music.
Skull giver ( @skullgiver@popplesburger.hilciferous.nl ) English1•1 year ago[This comment has been deleted by an automated system]
Landrin201 ( @Landrin201@lemmy.ml ) English1•2 years agoNope, not available her ein the states.
LoafyLemon ( @LoafyLemon@kbin.social ) 73•2 years agoRemember when some people said we’re nuts thinking Google will try to ban ad blockers with manifest v3? Yeah.
HerrLewakaas ( @HerrLewakaas@feddit.de ) English36•2 years agoGoogle will try everything in their power to stop us from blocking their ads. It’s their main source of revenue, you don’t have to be a genius to see why they don’t like ad blockers
jarfil ( @jarfil@beehaw.org ) English2•2 years agoWouldn’t this show that they failed, if they have to recur to site-based adblocker blocking? Clearly v3 hasn’t stopped people from using Firefox, yt-dl, or whatever.
LoafyLemon ( @LoafyLemon@kbin.social ) 4•2 years agoThe Gecko Engine (Firefox), holds a user share of 4%. When compared to Chromium’s (Google Chrome and its clones) whooping 72% (roughly) user share, it’s clear that Firefox has limited relevance to their business strategy.
https://en.wikipedia.org/wiki/File:StatCounter-browser-ww-monthly-202011-202011-bar.png
jarfil ( @jarfil@beehaw.org ) English2•2 years ago(according to latest statistics, Firefox would have an even lower share)
My point is: if v3 were effective at neutralizing ad blockers in 75% of the user base, or even 95% since Safari is supposed to get on board too, why are they developing additional countermeasures?
Or has Safari decided to do like Firefox, and still allow full ad blockers?
LoafyLemon ( @LoafyLemon@kbin.social ) 2•2 years agoI reckon that blocking ad blockers isn’t some extra countermeasure here. It’s actually right in line with what Manifest V3 and that new environment attestation system are all about. They’re basically making sure that if you tinker with crucial bits of the JavaScript – stuff they see as essential (like anti-adblock) – you won’t make it through the attestation and you’ll get blocked.
They don’t want to block all modifications because that would be a hindrance to many users, for example the visually impaired. However, anything affecting their bottom line will probably be blocked.
How that will affect Firefox? I don’t know, maybe nothing will change for us, or perhaps Google will block Firefox altogether. We certainly know they’re capable.
jarfil ( @jarfil@beehaw.org ) English1•2 years agoYes, attestation is in line with V3 changes, just that it makes them irrelevant: YouTube’s website could some day ask for environment attestation of “no extension using the intercept hooks”, or “only the approved ones”, and still have the same effect. The fact that they’re implementing a server-side anti-adblock now, while postponing V2 deprecation over and over, makes me think the V3 changes are a flop.
Firefox… would likely require Mozilla to play ball and implement similar attestation in an official binary attestable by the OS. Edge too, just so MS doesn’t mess with Chrome’s binary attestation on Windows.
Safari already has attestation, without extra parameters, but it could be extended:
https://httptoolkit.com/blog/apple-private-access-tokens-attestation/
immibis ( @immibis@social.immibis.com ) 1•2 years ago@LoafyLemon @jarfil @Honse but they could just as well mark the ads as essential then
DAMunzy ( @DAMunzy@lemmy.dbzer0.com ) English72•2 years agoI’ll just stop using YouTube like I’ve stopped using Reddit.
mayo ( @mayo@lemmy.today ) English34•2 years agoI’m ready for that. When being a youtuber started looking like a job I think the site lost something.
tryptaminev 🇵🇸 🇺🇦 🇪🇺 ( @tryptaminev@feddit.de ) English6•2 years agoThat is something you just cannot avoid with a new medium. Eventually there will always be professionalization. It just sucks that youtube now just gives us the same shit over and over instead of making it easy to find new creators, like it used to be.
seaturtle ( @seaturtle@lemmy.dbzer0.com ) English3•2 years agoYeah, YouTube was better when it was a bunch of amateur cat videos.
jarfil ( @jarfil@beehaw.org ) English5•2 years agoThere was a sweet spot when cat videos went pro. Then the spam killed it.
mayo ( @mayo@lemmy.today ) English2•2 years agoI’d say just smaller, less scripted content. Maybe that’s what tiktok is.
Landrin201 ( @Landrin201@lemmy.ml ) English71•2 years agoI genuinely think that advertising should be illegal at this point. It’s a ridiculous concept.
OminousOrange ( @OminousOrange@lemmy.ca ) English32•2 years agoIt 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.
MrPoopyButthole ( @MrPoopyButthole@lemmy.dbzer0.com ) English8•2 years agoMultinational scam artists
jarfil ( @jarfil@beehaw.org ) English2•2 years agoAdvertising 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.
WtfEvenIsExistence ( @WtfEvenIsExistence@lemmy.ca ) English62•2 years ago 𝒍𝒆𝒎𝒂𝒏𝒏 ( @lemann@lemmy.one ) English18•2 years agoAdmiral 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 ( @ramjambamalam@lemmy.ca ) English21•2 years agoSounds 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 ( @RogueBanana@lemmy.zip ) English7•2 years agoWhen has that stopped anyone from abusing it anyway…
Melody Fwygon ( @Melody@lemmy.one ) English48•2 years agoHere’s a rule for uBlock Origin.
Credit: https://lemmy.one/comment/597479 && original link: https://lemmy.nz/comment/446556
! Anti-Youtube Anti-Adblocker https://lemmy.one/comment/597479
youtube.com##+js(set, yt.config_.openPopupConfig.supportedPopups.adBlockMessageViewModel, false)
youtube.com##+js(set, Object.prototype.adBlocksFound, 0)
youtube.com##+js(set, ytplayer.config.args.raw_player_response.adPlacements, [])
youtube.com##+js(set, Object.prototype.hasAllowedInstreamAd, true)
This has not worked for me.
pdqcp ( @pdqcp@kbin.social ) 3•2 years agoI feel dumb, do I need to do anything else besides pasting it to my rules > temporary rules > save?
PelicanPersuader ( @PelicanPersuader@beehaw.org ) English1•2 years agoDoing the lord’s work. Thank you!
MattTheTekie ( @MattTheTekie@lemmy.test72.eu.org ) English36•2 years agoThere’s constant fixes for it btw from the ublockorigin team now! :D
Refurbished Refurbisher ( @refurbishedrefurbisher@lemmy.sdf.org ) English35•2 years agoI haven’t used youtube.com to watch YouTube in years. NewPipe x SponsorBlock (polymorphicshade) on mobile, SmartTubeNext on TV, Invidious, Piped, or FreeTube on desktop.
XYZinferno ( @XYZinferno@lemmy.basedcount.com ) English13•2 years agoHadn’t heard of FreeTube before, thanks for mentioning it!
riley0 ( @riley0@lemmy.dbzer0.com ) English8•2 years agoThanks! Freetube works great. Here are directions for importing YT subscriptions. https://docs.freetubeapp.io/usage/importing-subscriptions/
hakase ( @hakase@lemm.ee ) English33•2 years agoThe irony of this poll blocking access from users with a VPN.
barberousse ( @barberousse@lemmy.ca ) English4•2 years agoYep, I can’t vote because I have a VPN.
Thorny_Thicket ( @Thorny_Thicket@sopuli.xyz ) English1•2 years agoHuh… Worked for me
LoafyLemon ( @LoafyLemon@kbin.social ) 1•2 years agoNo problems with Mozilla VPN
Most Auspicious ( @Flynn_Mandrake@lemmy.dbzer0.com ) English28•2 years agoI’ve started to just download videos with
yt-dlp
after grabbing links via Invidious. Using Invidious itself has become somewhat unreliable lately, and this way I don’t have to put up with buffering and can watch in good quality. Cut out the middle men Altima NEO ( @altima_neo@lemmy.zip ) English6•2 years agoI have to wonder if once the ad blocking gets fully rolled out if yt-dlp will also cease to work?
Most Auspicious ( @Flynn_Mandrake@lemmy.dbzer0.com ) English2•2 years agoGood question. I’d hope not
ReversalHatchery ( @ReversalHatchery@beehaw.org ) English6•2 years agoMPV can directly play yt videos (it uses a built-in copy of yt-dlp afaik), and it’s very configurable. I always watch yt videos with it.
Sometimes it would be useful if it could use a proxy like piped or invidious, but those links don’t work
Most Auspicious ( @Flynn_Mandrake@lemmy.dbzer0.com ) English2•2 years agoOoh, I should try that! I already use mpv, so that’d streamline things a bit
ReversalHatchery ( @ReversalHatchery@beehaw.org ) English1•2 years agoConsider upping the cache for youtube. By default it is 2 minutes, which is mostly fine, except that if you are speeding through a part with 2x or faster, you may quickly run out of that small cache, because it only loads with the speed of something between 1x and 2x.
And then you may also set up saving the cache to disk instead of RAM, because it may be quite larger. Single config option.
You can make these only apply for youtube videos only with conditional auto profiles. The doc has an example for an automatic youtube profile, it’s perfect. Most Auspicious ( @Flynn_Mandrake@lemmy.dbzer0.com ) English2•2 years agoI don’t use the main YouTube website at all anymore. A big reason for this is that I spend a lot of time using a really weak laptop that tends to struggle with the JavaScript-laden abomination that is modern corporate web design. Firefox itself struggles as well, so I primarily use Luakit with Invidious, which runs peachy. I also put together a local html page for my bookmarks that is generated from Yaml using a small C application (which is not optimal, I know, but I’ve been learning C and this was a good opportunity). Whenever something doesn’t work in Luakit, I evade to Palemoon. I also tried watching YouTube via mpv earlier, and it’s great! It runs infinitely better than any web player at max resolution and buffers the whole video. Never going back.
ReversalHatchery ( @ReversalHatchery@beehaw.org ) English2•2 years agoI meant too increase the cache for yt videos in mpv :)
But you say it buffers the whole video, so maybe already changed something to do that
But yeah, I agree on your other points. If youtube blocks yt-dlp, mpv and proxies, then I’m done with it.
krimson ( @krimson@feddit.nl ) English1•2 years agoDo you self host Invidious? I have zero issues with it self hosted.
TurboTurbo ( @mosthated@feddit.nl ) English26•2 years agoSame. If I really need the website, I now use https://yewtu.be
American_Jesus ( @American_Jesus@lemm.ee ) English19•2 years agoOr https:/piped.video
krimsonbun ( @krimsonbun@lemmy.blahaj.zone ) English14•2 years agopiped has been giving me more issues recently, I think Google’s fighting them?
GivingEuropeASpook ( @GivingEuropeASpook@lemm.ee ) English11•2 years agoyeah same, only like half of the videos load or play.
Fjor ( @Fjor@lemm.ee ) English2•1 year agoHad the same issues, but decided to host my own instance. Not had a single issue since, plus the latency is great 😏