News for hackers. Stuff that matters.
Re:WebKit Features in Safari 16.4 by stephenr on Monday March 27, 2023 @05:58PM (#35333303)
... what do you mean by "more advanced"? The default/efficient approach with Safari is content blockers (i.e. a precompiled list of url patterns to block in the engine itself), but extensions can also include javascript too.

1Blocker - a well known 'traditional' safari content-blocker - does this for example, to provide ad blocking on sites like YouTube.

Re:WebKit Features in Safari 16.4 by warning26 on Monday March 27, 2023 @06:17PM (#35333534)
I've found that AdBlockers on Safari don't work well at all. I have 1Blocker on my iPad, and not only does it fail to block YouTube and many other ads, it also seems to slow down Safari and induce crashes + memory leaks.
Re:WebKit Features in Safari 16.4 by wdb on Monday March 27, 2023 @06:40PM (#35333797)
1Blocker works fine for blocking YouTube. Are you sure you have the `1Blocker Actions` and `1Blocker Scripts` extensions enabled?
Re:WebKit Features in Safari 16.4 by stephenr on Monday March 27, 2023 @06:21PM (#35333585)
I have to admit I don't use 1Blocker for YouTube ads. I use Vinegar, which isn't strictly speaking an ad blocker - what it does is replace the custom YT player with a native platform player (i.e. regular controls you get with a plain <video> element)...

this has the side-effect of removing all Youtube ads, and you get familiar controls for the video player.

I can't say I've seen any issue with performance or crashes due to 1blocker being active, on phone or Mac (I have on my iPad too but dont use that device any where near as much as the phone/mac)

Re:WebKit Features in Safari 16.4 by ezfe on Monday March 27, 2023 @07:10PM (#35334103)
I use Wipr and it handles everything including YouTube ads (iPhone & Mac)
Re:WebKit Features in Safari 16.4 by McAtNite on Monday March 27, 2023 @09:46PM (#35334786)
Strange, I also have 1Blocker on my iPad, and it blocks YouTube ads just fine in safari.
Re:WebKit Features in Safari 16.4 by X-Istence on Tuesday March 28, 2023 @01:09AM (#35336181)
I use 1Blocker on both my Mac and my iPad/iPhone and have had no issues with it blocking YouTube ads.

I kinda wish I could use 1Blocker on my Apple TV :P