To get rid of the annoying YouTube message (ad blocker are not allowed on Youtube) use this custom filter in uBlock extension

  1. Open uBlock extension dashboard
  2. Open my filters tab
  3. Copy & Paste this code into my filter
  4. Apply changes and close all tabs

via: enderman

A10@kerala.party
link
fedilink
English
201Y

Let the cat and mouse games begin!!! Thanks for the heads up though

fu
link
fedilink
31Y

deleted by creator

@vector@lemm.ee
link
fedilink
English
11Y

deleted by creator

Miku Luna \ she/it
link
fedilink
English
241Y

I miss 3 days ago when the blockade was just some HTML

Grant_M
link
fedilink
English
121Y

Get your FreeTube subs set up and ready to go. https://freetubeapp.io/

@RobotToaster@mander.xyz
link
fedilink
English
31
edit-2
1Y

How long until youtube add an anti-anti-anti-adblocker?

Like a fuzzbuster. Radar detector detector detector

Who blocks the blocker?

@mouth_brood@lemmy.one
link
fedilink
English
111Y

Is the any way to add something like this to my pihole to block all this shit network wide?

@AtariDump@lemmy.world
link
fedilink
English
71Y

Unfortunate, no.

denny
link
fedilink
English
171Y

Pihole, if i understand correctly, works by blocking DNS requests and YouTube ads are not DNS based the way ads usually are. You’re stuck blocking them by uBO on each device or use Invidious.

@techgearwhips@lemmy.world
link
fedilink
English
4
edit-2
1Y

I just spun up my own invidious instance on docker today. I’m so mad that I haven’t done this sooner!

@Swarfega@lemm.ee
link
fedilink
English
3
edit-2
1Y

I’ve run pihole for years. It works really well. The only problem I’ve seen is when you actually need a tracking URL to work. For example clicking a link in your emails to download a ticket for a concert. You just need to be mindful that when the browser fails to open a link it’s because of the PiHole. There’s no nice screen telling you. You just need to pop it into the whitelist to allow it although on a phone I just used to go to mobile data temporarily, click the link and then go back on WiFi.

I recently switched to using NextDNS, as it means all my DNS queries are encrypted and I still get filtering when I’m away from home. I also have three kids to manage so it allows me to set timers on their devices to block certain traffic. Good for blocking adult sites too.

@Mandy@sh.itjust.works
link
fedilink
English
31Y

and the code doesnt work, cause the thing just appeared while im trying to listen to music with my gf

@Azzu@lemm.ee
link
fedilink
English
21Y

Got to try disabling all other addons/blockers. Some interfere or trigger the ad blocker detection.

@Mandy@sh.itjust.works
link
fedilink
English
-11Y

i never use normal youtube otherwise and i shouldnt have to play detective for this to work

@PixTupy@lemmy.ml
link
fedilink
English
01Y

Lmao!

@Azzu@lemm.ee
link
fedilink
English
21Y

You shouldn’t, and you don’t have to. So enjoy the ads :)

So then fix it and then share the fix.

@Thorny_Insight@lemm.ee
link
fedilink
English
11Y

I followed those instructions to the letter aswell as cleared all the cookies and I’m still getting the popup. I first came up with this code more than 3 months ago so it’s probably outdated by now.

In human terms, what is that code saying? Never mind, it’s in the source link

There’s a popup that YouTube has started showing these days that tells you “AdBlockers are illegal. Stop using them” or something to that effect. This blocks that popup from appearing.

Ragdoll X
link
fedilink
English
31Y

Somehow I still haven’t seen that message despite also using uBlock and Firefox. Perhaps I’m just further down the line and Google will eventually come for me too, but I wonder if my DuckDuckGo and Privacy Badger extensions may also have something to do with it.

Are adblockers even illegal? I didn’t think it was.

DarkenLM
link
fedilink
41Y

No. It’s up to the browser (and even above it, the user) how the data is displayed.

I guess it’s against YouTube’s terms and conditions.

I keep getting that pop-up, I have had ublock installed for years. I haven’t done anything special to unlock and just refresh the page and it goes away.

Well, that’s pretty dumb and ruins my good times. Glad people are cracking down on it

Queue
link
fedilink
English
1751Y

https://www.macrotrends.net/stocks/charts/GOOG/alphabet/gross-profit

Alphabet gross profit for the quarter ending June 30, 2023 was $42.688B, a 7.85% increase year-over-year.

Alphabet gross profit for the twelve months ending June 30, 2023 was $160.503B, a 1.7% increase year-over-year.

Alphabet annual gross profit for 2022 was $156.633B, a 6.77% increase from 2021.

Alphabet annual gross profit for 2021 was $146.698B, a 50.01% increase from 2020.

Alphabet annual gross profit for 2020 was $97.795B, a 8.71% increase from 2019.

Huh, they seemingly have money to not fuck our eyes without lube for ads, but I guess they somehow just don’t have enough money, 156 billion dollars is really nothing after all. Probably more money in between my couch cushions. Such a small indie company that has to struggle to remain afloat, like an Etsy store.

Gormadt
link
fedilink
English
311Y

Of course they don’t have enough money

The goal is (as always) to have all the money

@Conwork@lemmy.world
link
fedilink
English
211Y

This phenomenon is normally created by a bunch of mid level people without many stock options trying to get promotions. They need the big arrow to go up to get a good raise, be recognized, etc in their individual business units.

The people pushing things to go up are typically not motivated by the gross number as much as they are making their boss happy enough to pay them more. That’s why the change is all that matters.

@Auli@lemmy.ca
link
fedilink
English
-41Y

How do you think they make that money? I mean yes it is an insane amount and do they need that much but they would still have ads.

@Tak@lemmy.ml
link
fedilink
English
391Y

Ah yes, Capitalism.

@zepheriths@lemmy.world
link
fedilink
English
81Y

Yes but does YouTube it’s self make money? There isn’t a reason to run a section of your company if it costs you money.

I am not justifying 17 ads in a 10 minute video, but no company keeps a product that doesn’t make money

True but data collection is still done and generates $$$

Think about gmail & Google docs

That’s why they want to run more ads.

There are lots of reasons that one area of your company may make less money. It’s like how the NYC subway or post office technically don’t “make money” but the value they bring to the whole system is a net positive by enabling all the other companies to make way more.

Government ≠ Private/Publically shared company.
Google couldn’t care less about what it brings if it doesnt make more money than it takes.

00
link
fedilink
61Y

Data aquisition for analysis, AI training, tracking and simply having monopolized a space. Theres a lot of positives and indirect profit that might make it feasible.

But does it “Good” for the public like say road improvement?
It does “Good” for the company by increasing the quality of the output of it’s AI/LLM, more data to track users etc.

You just confirmed what I said…

SuperDuper
link
fedilink
English
271Y

There isn’t a reason to run a section of your company if it costs you money.

It’s funny that you say this, because Google intentionally ran YouTube without making any profit from it for many years. The goal (which they succeeded in) was to starve out any competition and establish YouTube as the online video monopoly. Ever since establishing that monopoly, they’ve been squeezing more and more money out of the platform knowing that social inertia will work against any would-be competitors (everything is on YouTube, all of the content creators are on YouTube, all of the viewers are on YouTube, so how does someone convince enough people to move to another platform?).

That’s how they’re able to pull this anti-adblock nonsense, in fact. If they hadn’t killed off all competitors, everyone would just be going to them.

@TheLurker@lemmy.world
link
fedilink
English
91Y

Yes there is a reason to run a part of your business at a loss. It is well known market strategy and it is called a Loss Leader.

You offer a product or services at a loss because it helps you generate more revenue in another part of your business.

And plenty of companies keep products that don’t make money, because they are Loss Leaders into products that do make money.

https://en.m.wikipedia.org/wiki/Loss_leader

Karyoplasma
link
fedilink
English
6
edit-2
1Y

Prominent example is printer hardware and the ink. Hardware is sold at little mark-up or at a loss and then they force you to use their iteration of liquid gold. Printer ink is dirt cheap to manufacture and costs more than human blood.

Just because a company is profitable it doesn’t mean they can’t ask users to pay for a service.

I don’t love Alphabet either, but in their shoes I’d block ad filters too. YouTube is spectacularly expensive to run.

@ilinamorato@lemmy.world
link
fedilink
English
11
edit-2
1Y

Ok, I’m curious. Gonna do some math.

  • YouTube makes $30B/yr in revenue.
  • YouTube has 2.7B active users.
  • This means that YouTube is making about $11.11/person/year.
  • uBlockO has 10m active users.
  • This means that uBlockO is costing YouTube $111m annually, or about 4% of their overall revenue.

I’ll admit, that number is bigger than I expected. But almost any other line item on their budget sheet would be bigger.

ETA: it’s worth noting that YouTube has estimated operating costs of $5B, so this isn’t coming anywhere near making them unprofitable.

Is that 10 million active users of uBlock Origin or 10 million active installs? Also relevant because I’ve seen workplaces that deploy UBO to all users thanks to advertising being an easy vector of getting users to click random links they shouldn’t

So I can’t find my original source for that one anymore, but I looked at the Chrome Web Store and addons.mozilla.org and they show a total of ≈17m (10mil on Chrome, 6.9mil on Firefox).

I don’t see a good active users number on uBlockO’s website or anything, and I also don’t have a good way of estimating how many of those installs are second or third browsers; but an enterprise install probably wouldn’t go through the extension storefronts and would instead be delivered directly via MDM. Whether that means they’d count toward the browsers’ totals, I’m not sure.

Still, it seems to me that the vagaries around this probably cancel each other out decently well; sure, some might be double-counted or enterprise installs, but the actual uBlockO users are probably more inclined to be power users, online more often than other users. I’d say that 4% is probably in the ballpark at least. Maybe it’s 1%, maybe it’s 6%, but I don’t think it’s terribly far off.

@aceshigh@lemmy.world
link
fedilink
English
21Y

Alphabet

what does this mean? is it the stock market in general or google or is it tech co’s?

@maxprime@lemmy.ml
link
fedilink
English
141Y

It’s Google’s parent company. Like meta to fb.

trainsaresexy
link
fedilink
English
161Y

Fairly sure that Alphabet is google parent company

BIG NUMBER MUST GO UP

MUST APPEASE THE GOD OF CAPITALISM AND THE ALMIGHTY SHAREHOLDERS!

Does that stop YT from knowing you’re using an as block?

Can’t this just be a filter subscription or whatever in ublock origin?

@Azzu@lemm.ee
link
fedilink
English
21Y

I mean I’m pretty sure it is, I’m only using ublock and have no problems.

@Thorny_Insight@lemm.ee
link
fedilink
English
10
edit-2
1Y

I had this code saved and had suggested it to others before but now I didn’t take my own advice and had been struggling with those pop-ups for the past few days. I hope this solves it.

EDIT: Doesn’t work. Still got the popup despite having all other extensions disabled and uBlock on default settings

Semi-related: what’s a good frontend for android TV? I’m loving NewPipe on my phone, but on the TV it refuses to work in full screen and often in not-full screen too…

@QuazarOmega@lemy.lol
link
fedilink
English
191Y

SmartTubeNext is your best bet, I think Libretube devs will be working on landscape support too sometime, but that’s probably very far away

@VikingHippie@lemmy.wtf
link
fedilink
English
5
edit-2
1Y

Thanks, it’s working great so far! 🫶

@QuazarOmega@lemy.lol
link
fedilink
English
31Y

Glad you’re liking it!

@java@beehaw.org
link
fedilink
English
11Y

From my experience, LibreTube simply doesn’t work without a kbm. I couldn’t even select an instance using the TV controller.

@Azzu@lemm.ee
link
fedilink
English
11Y

Maybe Kodi works? It does on the FireTV Stick, as long as you can install apps from play store, you’re good.

They’re going to randomize all vars and function names, mark my words.

@arc@lemm.ee
link
fedilink
English
141Y

Yup. Ad blockers work on pattern matching rules. Countering them might take some work but it’s not impossible - make the URLs that do the bad shit indistinguishable from the ones that make the video works and likewise html elements. Randomise everything, make the paths to things unpredictable. I’m sure YouTube could even merge the ads into the content stream so they are unavoidable.

@abcxyz@lemm.ee
link
fedilink
English
111Y

“I’m sure YouTube could even merge the ads into the content stream so they are unavoidable.”

Who is going to tell him?

aren’t they already? It’s been some time since I worked in video. but I remember HLS manifest had ad insertion built-in.

Karyoplasma
link
fedilink
English
81Y

Last part is already done. Ads are delivered by the same DNS as the video, which is why DNS-based blocking methods like Pihole don’t work for YouTube video ads.

If you meant that Google will re-encode every video on their platform and insert ads like the sponsor segments, that’s not feasible. Ads ads served on a bidding basis and the advertiser who pays most, gets their ad delivered. That would be Impossible unless you keep multiple copies of the video with different ad segments.

@cozycosmic@lemmy.world
link
fedilink
English
71Y

You don’t need to re-encode the video. Look up HLS segments, which is the standard for streaming video and I assume YouTube uses it.

Each video is split into many segments, like 10 seconds long (though the duration doesn’t matter). The browser first fetches a “playlist” which is just a list of these segments. Then the video player plays each segment in order. So Google could just insert ad-segments into the video stream, and if they did it cleverly, there would be no way to determine that they were ads.

If the browser itself could check those fragments though… 🤔

@1984@lemmy.today
link
fedilink
English
1
edit-2
1Y

Yeah they are sooner or later going to do something like this. But then we can download videos and use Ai to remove the ads.

Will probably pop up YouTube proxys that does this on request so we don’t even have to download.

They are legally obligated to show which part of the video is an ad (and contractually obligated to have a clickable link), which always leaves ad blockers a way to correlate and remove those segments though (essentially skipping forward during the ad, then lying to the backend when asking for additional segments as if the user had skipped through the video after the ad was over).

On Twitch they managed to outplay even uBlock, because the streaming is realtime and if you skip the ad segments, there’s no data to fall back to and the backend won’t send you the regular segments until the ad break is over (from what I understand). So at best you get a waiting screen instead of an ad.

However I’m not sure if it would make (financial) sense to apply a similar strategy on YouTube, as that would require preventing buffering the video until the ads have stopped playing (and wouldn’t work at all for midroll ads since the video has already been buffered at that point). Not only would this be expensive to do in the backend, but it would likely cause disproportionate buffering on low-end connections which couldn’t start loading the video while the ad is playing.

Karyoplasma
link
fedilink
English
11Y

On Twitch they managed to outplay even uBlock, because the streaming is realtime and if you skip the ad segments, there’s no data to fall back to and the backend won’t send you the regular segments until the ad break is over (from what I understand). So at best you get a waiting screen instead of an ad.

Yes, you get a “commercial break in progress” banner, but it’s not loading ads when watching through HLS.

Ads on Twitch are not nearly as bad as on YouTube tho, so I actually have an exception for Twitch ads. I usually only watch esports tournaments and they make sure there are no ad breaks during games, just between segments. And on the rare occasion that I watch a regular stream, I get an ad or two maybe once every 45 minutes, which is fair.

The ads are really annoying if you streamhop frequently, because almost every time you switch stream you have to wait 30s-1m.

I pay for Turbo now so that’s fine, but the way it’s implemented seems really stupid to me, if you are looking for a stream to watch you sometimes get ad after ad after ad which can’t possibly be good for viewer retention.

Karyoplasma
link
fedilink
English
31Y

Pre-roll ads are stupid, yeah. At least give me some time to figure out if I want to watch the stream… But that a thing that’s also worse on YT since they removed dislike count. Is it another clickbaity jump-cut-ridden garbage video or is it actually information? Roll the dice to find out!

@ipkpjersi@lemmy.ml
link
fedilink
English
101Y

Of course they are, for example when targeting HTML elements you generally need to target text not vars or function names.

@XTornado@lemmy.ml
link
fedilink
English
5
edit-2
1Y

At the end there will always be some way since to the user the text should be similar or the UI should be similar… So there will be always a way… But yeah it can get more complex.

The only exception is the case they implement the web integrity thing at browser level or equivalent.

@blkpws@lemmy.ml
link
fedilink
English
11Y

But then others browsers like Firefox will gain popularity… I am okay whatever they do, I never see any ad or ad-blocker blocker and I doubt I will even see any of those.

@spiderman@ani.social
link
fedilink
English
111Y

it will be an interesting cat and mouse game or people will start to shift to another video sharing platform

The point being that if one can find the domain through which they push said script/the script itself, they can disable it (I use NoScript).

Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ
!piracy@lemmy.dbzer0.com
Create a post
⚓ Dedicated to the discussion of digital piracy, including ethical problems and legal advancements.

Rules • Full Version

1. Posts must be related to the discussion of digital piracy

2. Don’t request invites, trade, sell, or self-promote

3. Don’t request or link to specific pirated titles, including DMs

4. Don’t submit low-quality posts, be entitled, or harass others



Loot, Pillage, & Plunder

📜 c/Piracy Wiki (Community Edition):


💰 Please help cover server costs.

Ko-Fi Liberapay
Ko-fi Liberapay

  • 1 user online
  • 106 users / day
  • 270 users / week
  • 1K users / month
  • 3.5K users / 6 months
  • 1 subscriber
  • 3.4K Posts
  • 82.2K Comments
  • Modlog