Live data from Hacker News

WebShield – A new wide-spectrum content blocker for Safari

github.com

31–40 of 78 posts

Re: WebShield – A new wide-spectrum content blocker for Safari

#32
post #30
post #14

Earlier quoted context omitted.

What are you missing specifically? I’ve been pretty happy with Ghostery and AdGuard Pro.

I've been using AdGuard Pro happily on all my devices for about ten years now. I'm wondering what adding Ghostery to the mix does on Safari?

Ghostery doesn’t just hide consent banners and blocks tracking cookies, it also automatically opts-out from tracking consent.

https://www.ghostery.com/blog/never-consent-by-ghostery#neve...

Re: WebShield – A new wide-spectrum content blocker for Safari

#33

Can someone explain what "wide-spectrum content blocker" means and how it differs from other ad blockers available for Safari?

To set a baseline: Ad blockers work by a combination of static rulesets and dynamic javascript.

Safari does not support the ruleset format of Chrome/Firefox, so a ruleset has to be maintained for it specifically. In practice this is always the AdGuard ruleset. I doubt a single adblocker doesn't use this as a base.

Beyond that is the custom JS they inject. It's hard to say how good it is but that is the only selling point:

- https://github.com/arjpar/WebShield/tree/cae7629f1c5fb79fe76...

AdGuard has its own too:

- https://github.com/AdguardTeam/AdGuardForSafari/tree/master/... (JS files)

They look similar in a lot of ways, because well they have to, but I haven't done any deep analysis.

Safari extensions will never match uBlock Origin because it simply does not provide the same APIs (webRequest blocking and DNS) that Firefox does. The ruleset format is also more limited.

Re: WebShield – A new wide-spectrum content blocker for Safari

#34
post #15

The only thing that is holding me back from not making safari my primary browser is not having an extension like ublock origin. This seems really promising.

1blocker works well for me on iOS, iPadOS and MacOS https://1blocker.com/ If you want to use uBlock Origin on Webkit you can do it with Kagi's Orion browser. https://help.kagi.com/orion/browser-extensions/ublock-origin...

Second the 1Blocker recommendation. Works really well for me for Mac, iPhone, and iPad

Re: WebShield – A new wide-spectrum content blocker for Safari

#36
post #10
post #7

Earlier quoted context omitted.

While everything you're saying is correct, Safari is only the biggest competitor to Chrome because Apple is going out of their way to make it hard or even impossible in the case of iOS for developers to develop well-oiled browsers for their OSes. Just wanted to add that, because I'm pissed.

Eh not quite. I switched off Chrome many years ago (on macOS) because it had gotten so bloated and was constantly running my fans. I remember reading that Chrome had worked on fixing a lot of that bloat (so did FF). But Safari was a breath of fresh air in how fast it worked and didn't seem to constantly kill my battery. Yes it has the occasional quirks. But I do like that Apple focuses more on UX than just DevEx by t…

> But at the end of the day, it's just mostly WebKit (and Blink derived from it) and Firefox

Blink is a separate engine, as it has significantly diverted from WebKit.

Re: WebShield – A new wide-spectrum content blocker for Safari

#37
post #7

Earlier quoted context omitted.

While everything you're saying is correct, Safari is only the biggest competitor to Chrome because Apple is going out of their way to make it hard or even impossible in the case of iOS for developers to develop well-oiled browsers for their OSes. Just wanted to add that, because I'm pissed.

No; it’s because then, the internet would go from 80% Chromium, to 95% Chromium. Allowing alternative browser engines does not mean Firefox gets a footing. It means Chromium gets a footing even on iOS, and we start seeing Electron apps on iOS, with every app bundling their own Chromium renderer. If Apple were forced to allow 3rd party engines on iOS, they might as well shut down WebKit. All hail Blink, the universal…

Yeah, that's the downside. I'm all for Apple to open up their platform. But the browsers will be dead, and everything will be Chrome

Re: WebShield – A new wide-spectrum content blocker for Safari

#39
post #18

It would be useful to describe what specifically this adds over existing Safari content blockers in that space.

Author here (I'm not OP): It converts filter lists to Safari's content blocking API using SafariConverterLib (by AdGuard) and stores advanced blocking (scriptlets, extended css, css & js) in a json file. The WebExtension then reads the json file through native messaging and injects the scriptlets, extended css, css & js. This means that things like YouTube ads can be blocked too, whereas using just the content blocking api won't allow YouTube ads to be blocked

Re: WebShield – A new wide-spectrum content blocker for Safari

#40
post #2

Seems to feature a lot of AdGuard filter lists. Does this blocker differ materially from AdGuard?

Author here: No, not really. It uses AdGuard lists, SafariConverterLib by AdGuard for converting filter lists to Safari content blocking format. The only difference is that WebShield works on iOS, iPadOS, visionOS, and macOS as one app & codebase (AdGuard has separate apps for Safari on macOS & iOS), and its completely free & open source, albeit I accept donations, but nothing is behind a paywall, and will never be behind a paywall. I'd rather just stop developing than sell out to ad companies (acceptable ads) or put things behind a paywall.
Post reply on HN