4 ms·
Safari's ad-blockers are not really comparable[0] to what's currently possible on Firefox, Chrome, or other Chromium-based browsers. They rely on declarative b
by danShumway 6y ago
Safari's ad-blockers are not really comparable[0] to what's currently possible on Firefox, Chrome, or other Chromium-based browsers.
They rely on declarative blocking and/or system-wide interception (ie, you run them as an entirely separate app outside of Safari). The majority of them are not going to be able to handle things like CNAME unmasking or page source rewrites[1]. The declarative blocking API in Safari isn't built to support those kinds of features.
[0] https://github.com/el1t/uBlock-Safari/issues/158 https://github.com/el1t/uBlock-Safari/issues/158
[1] The exception to this being maybe AdGuard when you run it system-wide? I vaguely remember reading that it sets itself as a MITM for all of your web traffic at an OS level, which allows it to do page-source rewrites. I could be wrong about that though.
- easton 6y agoAs I understand this is somewhat alleviated in Big Sur as Safari now has support for WebExtension.
- danShumway 6y agoIt's very partial support, but it is a step in the right direction. If they keep going in this direction they could eventually add the webextension request-blocking/modification APIs.
- saagarjha 6y agoNo, that doesn’t support WebRequest.