this post was submitted on 25 Jul 2024
699 points (98.5% liked)

Technology

59452 readers
3805 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS
 

YouTube has been spotted testing server-side ads, which could pose a problem to ad blockers.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 266 points 3 months ago* (last edited 3 months ago) (8 children)
www.youtube.com##+js(json-prune-fetch-response, playerAds adPlacements adSlots playerResponse.playerAds playerResponse.adPlacements playerResponse.adSlots, , propsToMatch, /player?)

Click on uBO icon > ⚙ Dashboard button > Add the filter(s) in "My filters" pane > ✓ Apply changes > Open new tab and test again.

from the reddit page idk if it works but most comments say it does

and if it does, that's fucking hilarious

this will have taken a team months of work and one ublock dev just threw it in the toilet within an hour

[–] [email protected] 104 points 3 months ago* (last edited 3 months ago)

ok, so i added this code to my ublock origin filter list, then went to youtube, and the injected ads were still showing up in about half the vids. closed firefox, reopened, same. rebooted my win11 machine, now the injected ads are NOT showing up any longer. not sure if youtube switched it off because they're still beta testing this bullshit or if the code is working but it SEEMS to be working. if it stops i'll come back to edit this comment. thanks for the tip man!

[–] shotgun_crab 25 points 3 months ago* (last edited 3 months ago) (1 children)

The ublock origin guys are wizards, I tell you...

[–] [email protected] 4 points 3 months ago

I am amazed how they didn't spell like others did in that market.

Prolly should donate.

[–] kokesh 22 points 3 months ago (1 children)

So in theory.. can reVanced come up with something like this,

[–] [email protected] 16 points 3 months ago

NewPipe works, so I'm sure reVanced can/could do it as well. SmartTube (Android TV exclusive) also implemented it weeks ago, I never have seen a single ad.

[–] ShunkW 18 points 3 months ago

This worked for me. Thanks!

[–] [email protected] 7 points 3 months ago
[–] big_slap 7 points 3 months ago
[–] [email protected] 3 points 3 months ago

I stll haven't get any ads with just stock ubo but when it does I'll try this filter, thanks

[–] Mercury 1 points 3 months ago (1 children)

Do I need to add this filter or are the uBO devs going to update the extension to include it ootb?

[–] [email protected] 1 points 3 months ago* (last edited 3 months ago)

i'd be shocked if they didn't update it but i just timed myself doing it and it took less than 10 seconds