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

  • polonius-rex
    link
    fedilink
    266
    edit-2
    4 months ago
    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

    • downpunxxOP
      link
      fedilink
      104
      edit-2
      4 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
      link
      English
      25
      edit-2
      4 months ago

      The ublock origin guys are wizards, I tell you…

      • sunzu
        link
        fedilink
        44 months ago

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

        Prolly should donate.

    • Kokesh
      link
      English
      224 months ago

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

      • @[email protected]
        link
        fedilink
        English
        164 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
      link
      English
      184 months ago

      This worked for me. Thanks!

    • @[email protected]
      link
      fedilink
      English
      34 months ago

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

    • @Mercury
      link
      English
      14 months ago

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

      • polonius-rex
        link
        fedilink
        1
        edit-2
        4 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