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

Technology

59312 readers
5184 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) (11 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!

load more comments (10 replies)