7 ms·
I’m a huge fan of Mozilla and Firefox specifically, but I don’t think that the way classical adblock extensions are made is the right way. Instead, it should be
by ololobus 1mo ago
I’m a huge fan of Mozilla and Firefox specifically, but I don’t think that the way classical adblock extensions are made is the right way. Instead, it should be done as Apple/Safari do it [1]: the browser provides an API to hook/set a block list of identifiers that should be blocked, it could be resource hostnames, html signatures, need to think how to improve the API, but this way it’s completely safe, extension has zero access to the actual page content. Apple does the same for caller id apps. Afaik, Android has this API too, but the last time I checked, all relevant extensions were just “give me your whole phone control or web page access”, so Google clearly doesn’t enforce it
Yes, it kinda gives more control to the platform, but so far, iOS extensions that use this API worked surprisingly well for me
Please, correct me if I am wrong and uBclock can already work in this restricted mode
And the last thing, if people really want to give someone a full page content access, they surely should be able to do that, so kudos to Mozilla
[1] https://developer.apple.com/documentation/safariservices/creating-a-content-blocker https://developer.apple.com/documentation/safariservices/cre...
- arendtio 1mo agoI think that would limit its capabilities so much that it would be much easier for ad platforms to find ways to circumvent it.
- jchw 1mo agoYou can only get a very limited uBlock Origin facsimile, not the real thing. A lot of browsers have a uBlock Lite. It's missing a lot of useful features IMO.
- commoner 1mo agoAbsolutely not. This is exactly why people have a problem with Chromium, which now has some of the same restrictions on extensions as Safari (Manifest V3). - uBlock Origin works best on Firefox: https://github.com/gorhill/uBlock/wiki/uBlock-Origin-works-best-on-Firefox https://github.com/gorhill/uBlock/wiki/uBlock-Origin-works-b... - uBlock Origin Lite FAQ: https://github.com/uBlockOrigin/uBOL-home/wiki/Frequently-asked-questions-(FAQ) https://github.com/uBlockOrigin/uBOL-home/wiki/Frequently-as...
- Macha 1mo agoOne of my biggest annoyances about my iPad is how much less effective the content blockers on Safari are than on real Firefox and ublock origin that I have on my Android phone and had on my previous windows tablet. Also iOS “Firefox” can’t run any adblockers, whether ublock origin or iOS content blockers so I have to use Safari and put up without consent-o-matic or tab sync For example, ublock origin is able to patch out anti-adblock scripts that Safari content blockers cannot. Try tvtropes for an example. Works fine with firefox and ublock origin, displays a “allow ads of subscribe” instead of the content on safari.
- bartvbl 1mo agoKagi's Orion browser is a far as I know the only one on iOS that supports proper Firefox extensions, including ublock and others. You may want to give that a try.
- thisislife2 1mo agoThere is no real support for uBlock Origin on Orion - it's still very buggy and doesn't work. They do have their own adblocking built-in though.
- brycewray 1mo agoYou might want to try wblock (https://github.com/0xCUB3/wBlock https://github.com/0xCUB3/wBlock).
- pmontra 1mo agoWith that approach how am I going to block ads on long-tail-site.example.com and lots-of-ads.new-domain.com? I'll let uBO read my traffic. Firefox is reading my traffic anyway.
- inigyou 1mo agoSo you want to make it super easy to bypass the block by randomising identifiers every so often, and then the blocker will have to go through the full update process? Maybe this works for some extensions but an ad blocker has to be maximally dynamic to work.