←back to thread

143 points tW4r | 1 comments | | HN request time: 0s | source
Show context
busymom0 ◴[] No.43207283[source]
Can someone explain what "wide-spectrum content blocker" means and how it differs from other ad blockers available for Safari?
replies(1): >>43208085 #
TingPing ◴[] No.43208085[source]
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.

replies(2): >>43209198 #>>43211630 #
gruez ◴[] No.43211630{3}[source]
>AdGuard has its own too:

AFAIK only the paid version of adguard has access to these scriptlets. The free version only has content blockers, which puts webshield ahead of adguard.

replies(1): >>43222270 #
1. TingPing ◴[] No.43222270{4}[source]
I think its open source, but yes the app is paid.