Hacker News new | past | comments | ask | show | jobs | submit login

You can now switch your default browser in iOS, with Brave being one of the options.



I thought they still had to use Apple webview for rendering web content meaning as blockers should not be significant different?


Ah, that may be. Any iOS devs wanna weigh in?


Apple only allows their browser engine


IMHO, that's probably a good thing as long as Apple stays small. If a Chromium-based browser took over iOS as well, it would be the only rendering engine anybody targets.


What I was trying to say is that ad blocking cannot really be a lot better than Safari? You would have to block on the network level and not the content level.


Apple should open up its app store to GeckoView, then. It would be great to have both WebKit and GeckoView as options.


But all of them are safari core, Apple does not allow other browser runtimes, they're only the custom UI around the webview. [1]

All of the core browser bits including adblocking are safari still in every iOS browser on the app store.

[1]: https://developer.apple.com/app-store/review/guidelines/

> 2.5.6 Apps that browse the web must use the appropriate WebKit framework and WebKit Javascript.

(i.e. ~safari webview)


You're going to have to provide rather incredible evidence that adblocking is broken on iOS, because it's a rather incredible claim.


If you read my comment again you'll note the only claim I make about adblocking is that all browsers must use the same runtime.

I don't claim that it's broken, but the ability to switch browsers (finally!) doesn't seem terribly relevant given that they're all required to essentially be safari skins.


> But all of them are safari core, Apple does not allow other browser runtimes, they're only the custom UI around the webview. [1]

You’re mixing up Safari and WebKit. This gives a misleading impression. Safari is Apple’s web browser. WebKit is Apple’s rendering engine. There’s much more to a browser than its rendering engine. Apple requires browsers to use WebKit, not Safari. Everything else – add-ons, syncing, UI, homepage, etc. – can be completely custom.

I’d be pretty pissed off if I were a developer working on a browser for iOS and everybody treated all of my hard work as if it were nothing. Alternative browsers aren’t just reskinned Safari. They are entire applications of their own.


In this context they're more or less the same, because the relevant networking / adblocking bits are in webkit, AIUI.

It's true that safari and webkit are not the same, this comment is imprecise. But switching browsers won't net you different adblocking capability due to the restriction to use apples webkit core.

Edit: that is "safari core" is a very lazy shorthand for the webkit framework here. The impact to the user is pretty much the same in this context.


Many third party browsers actually implement their own networking bits. Firefox Mobile used to be based on Alamofire (but recently switched to NSURLSession). Chrome iOS uses the same stack as its desktop browser (Cronet). Third party browsers can implement adblocking any way they want, for example iCab 10 on iOS supports the AdBlock Plus format used by uBlock Origin.

Edit: most -> many


TIL, thank you :)


> switching browsers won't net you different adblocking capability due to the restriction to use apples webkit core.

That depends on what you mean by “different adblocking capability”. It’s absolutely possible for alternative browsers to block different things to Safari. I can think of three ways to do it off the top of my head: add a content rule list; inject JavaScript to remove elements from the DOM; inject CSS to hide elements.


Do you know if any browsers are doing this?

In practice on iOS nothing seems better than safari + the content rules for adblocking, but I admittedly didn't try every app

Shipping your own content lists seems like a tricky way to differentiate since users could install similar lists without using your browser.

aside: It also appears to just inject CSS you have to inject it via javscript now which feels a bit gross but certainly doable.


Changing the default browser doesn't get you much far:

1. Not all apps will use the default browser.

2. You can't uninstall Safari

3. Safari's content blocking framework doesn't work for third-party browsers. This means no adblocker.

4. iOS has a great time-tracking feature that lets you block websites beyond certain usage. Once again, only works on Safari.

Not to mention that we still don't have extensions in Firefox.




Consider applying for YC's W25 batch! Applications are open till Nov 12.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: