News for hackers. Stuff that matters.
Re:Ask HN: What do you do on an Android phone that cannot be... by Nextgrid on Sunday June 30, 2019 @08:51PM (#20321608)
It does indeed win in terms of performance, however the situation in terms of add-ons is depressing. There’s basically no add-on API other than a very limited content blocking API (which doesn’t allow you to do powerful things like uBlock Origin can).

(full disclosure: I am a happy Safari user, and the content blocking API is good enough that I tolerate it but I do miss uBlock for sure)

Re:Ask HN: What do you do on an Android phone that cannot be... by hombre_fatal on Sunday June 30, 2019 @08:54PM (#20321626)
I added to my comment just as you responded but I ended up looking at the declarative content blocker as an upside after developing my own. Have you tried 1Blocker X? I haven't missed uBlock Origin when using Safari. Though I can certainly appreciate the power of an onRequest(req) at-runtime API that you definitely lose with declarative rules.

But for example I have a script that can convert Adblock format rules (like Easylist) into content blocker rules.

Re:Ask HN: What do you do on an Android phone that cannot be... by Nextgrid on Sunday June 30, 2019 @09:05PM (#20321673)
1Blocker X is a disaster, and I’m saying this as a customer of the original 1Blocker and an early adopter (pre-order) of 1Blocker X - it appears they’ve given up on updating their block lists and weren’t ever clear on where the lists were sourced from (I want EasyList and I kind of assumed that’s what they used but I could never be sure). I’m currently using AdGuard Pro instead which uses EasyList/EasyPrivacy and can import and convert (to the best of its abilities) uBlock-style lists.

The problem with the declarative API is that 1) it’s just not as flexible as uBlock, especially in a world where billions are being poured into bypassing blockers and 2) each blocker extension is limited to 50k rules which is not enough (some apps work around this by registering multiple blocker extensions, but frankly this limitation is BS and should not exist to begin with) and 3) blockers don’t run with the browser, so you have to open the app every so often to update the blocking rules.