Live data from Hacker News

YouTube ads in Safari: you see them now, will you see them in the future?

adguard.com

281–282 of 282 posts

Re: YouTube ads in Safari: you see them now, will you see them in the future?

#281

Maybe slightly tangential since this is about Safari - but have 𝗬𝗼𝘂𝗧𝘂𝗯𝗲 𝗮𝗱𝘀 𝗿𝗲𝗰𝗲𝗻𝘁𝗹𝘆 𝗿𝗲𝗮𝗽𝗽𝗲𝗮𝗿𝗲𝗱 𝗶𝗻 𝗖𝗵𝗿𝗼𝗺𝗲? The declarativeWebRequest YouTube adblocker I threw together in half an hour a few months ago recently stopped working on my end too. Opting out of targeted ads serves you the bottom of the barrel, which was enough motivation to waste a day of JS spelunking (YouTube's changes…

Yay; the /player endpoint can also use XHR. Add the following before the 'return' in the JSON.parse intercept:

  if (typeof data['adPlacements'] !== 'undefined') {   
    data.adPlacements = [];
    data.playerAds = [];
  }

Re: YouTube ads in Safari: you see them now, will you see them in the future?

#282
post #266
post #20

Earlier quoted context omitted.

I use Wipr as a content blocker on both macOS and iOS. I never see ads on YouTube. But I've always felt that it might not be enough some day. Perhaps that day is nearly here.

Interesting. I tried Wipr on macOS Safari for a couple weeks about a year ago, and there was effectively no ad blocking on YouTube, Twitch, or Twitter, which is coincidentally where I spend the bulk of my time. It was a frustrating experience, I've tried Safari multiple times over the years since it is so much better on battery life, but Chrome always wins in usability and adblocking. I switched back to Chrome + uBlo…

Sounds like you would be interested in Orion. https://browser.kagi.com
Post reply on HN