

> There’s SFSafariExtensionHandler API which you can use with blockers as another extension with higher privileges to track who blocked what. The only time it does add any overhead is on a site with nothing to block at all and the amount is tiny compared to the time wasted on all the other sites.Īs someone who contributed to the post we're discussing, let me please respond. Besides, it is not like any developer worth his salt would run through hundreds of thousands of URLs looking for a match. Such sites load much faster with any good and modern ad-blocker installed. Almost all websites the average user visit have some form of advertisement and/or tracking. >hundreds of thousands of rules on every page request becomes a significant source of slower page load speed I wouldn't really trust Mozilla that much either come to think of it. Both Apple and Google are running advertisement services so I don't see any reason to ever put any trust in them doing what is best for the user in blocking ads. I would personally trust the author of uBlock Origin and the in-built uBO made lists over Safari and Chrome any day.
#Ad blocker on youtube for mac install
If you install an extension that shares your browsing habits then that is on you of course but good ad-blocking extensions doesn't do that and if the data doesn't leave the extension it isn't really monitoring you. I’m thinking about adding that capability into my blocker, but it isn’t a priority. To get around those you have to get beyond what content blockers are offering. By blocking resources you can get to the point where an ad will be a white screen or a video loading delay. Speaking of YouTube ads, yeah, it’s a pain point. But Safari itself doesn’t prevent you from doing that, only not as a part of content blocker extension that is privacy-safe. It seems that AdGuard guys don’t get why content blockers in Safari don’t run scripts. And if for whatever reason you hit 50k limit, you can add another content blocker extension to your app.Īnd the most important thing. I may add that it has some overlapping rules too. As explained in the original, EasyList has lot of mergeable rules.

The number of rules limit is a non-issue. Thanks to the compilation, content blockers have less overhead. There's also some rules that don’t match 1 to 1, but it isn’t something that can’t be solved.Ĭompiling speed, for the process that happens once the blocker rules json is changed, is irrelevant for the users, unlike battery life. Granted, ABP has more capabilities in its extended syntax, so you won’t be able to convert everything. Should I say that converting something like EasyList to Safari content blocker json is trivial? It is. Very handy in debugging (and informative for the user). There’s SFSafariExtensionHandler API which you can use with blockers as another extension with higher privileges to track who blocked what. So, when AdGuard guys say that the only debugging tool you can use is Console, know that this isn’t true. There's some misconceptions being put forth in the article which I, as a developer of a Safari ad blocker, would like to address.Ĭontent blockers are limited by design to ensure privacy and speed, but they may work together with other kinds of Safari extension. That won’t change without something like regulatory changes to lower the financial pressure. This is not a problem which technical tricks can solve – as soon as you do something effective, Google can deploy hundreds of engineers with huge resource budgets to foil you. You’re not stopping that short of doing something like buffering the content and running it through an AI, and if that became widespread we’d just see more embedded placement (“Hey, protagonist, why are you so irresistibly sexy?” “It’s these new briefs from My Undies”).Īdtech is a multi billion dollar industry and the people making the content you want are enthusiastically supporting them. You can already see what that’s like with podcasts where local ads are spliced right into the audio file. We’d still get the security problems, though.
#Ad blocker on youtube for mac code
If Safari allowed arbitrary code execution, it’d be a little better for as long as it took publishers to deploy first-party ad injection.

I think you’re right from the short-term perspective but largely irrelevant long-term.
