News for hackers. Stuff that matters.
Re:Apple is not defending browser engine choice by mod50ack on Friday June 24, 2022 @03:24AM (#31858688)
It’s not just WebKit. Devs can’t extent WebKit very much. Orion is trying but they’ve barely gotten anything done on the iOS extension side. There are limitations on what you can do by linking into the iOS web browser API, it seems.

I recently switched to Mac with great success. So I decided to try out the iPhone. I hadn’t used one for years and I was sick of Android.

I’m still no great fan of Android. And so many little things are better on iOS.

However, the SINGLE BIGGEST THING is absolutely broken. Browsing on iOS is unusable if you’re used to uBlock Origin. I can run that on Fennec/Firefox. I cannot do so on iOS. I was hoping the content blockers and extensions might come close. They do not in any way.

I don’t even REALLY like FF and I don’t like Android but those are the options if I want browsing that doesn’t suck.

Or maybe I’m missing something and someone can enlighten me before I return the iPhone.

Re:Apple is not defending browser engine choice by threeseed on Friday June 24, 2022 @03:31AM (#31858734)
I use AdGuard which is a native Safari extension and works fine.

The issue with uBlock Origin is that it expects all URLs/content to pass through the plugin and they are not interested in any other model.

AdGuard instead works by submitting rules to Safari which is significantly better for privacy and performance.

Re:Apple is not defending browser engine choice by novok on Friday June 24, 2022 @03:38AM (#31858772)
There are a lot of things that are missed by safari content blocker extensions, and it's been getting a lot worse recently. Many obvious ads are not blocked anymore. And I'm using adguard too.

You need the power of a rules engine like uBlock Origin, which is able to do multiple types of filtering, pre and post rendering. There is a reason why uBlock origin insists on that model, because no other model really effectively works.

Eventually although, if adblock becomes very universal, all ads are going to be served internally from the same url / server as the webpage itself, with line noise identifiers and your going to start needing ML content recognition to start blocking ads effectively again.

Re:Apple is not defending browser engine choice by threeseed on Friday June 24, 2022 @03:45AM (#31858818)
I hate ads as much as the next person.

But we've already had examples of ad-blocking companies doing deals with advertisers to whitelist URLs and I simply don't trust them not to on-sell my browser history.

So you may criticise Apple for their position but I would rather have a 90% effective ad-blocker and a guarantee that my privacy is intact. With so much data reselling going on it's simply not worth the risk.

Re:Apple is not defending browser engine choice by cowtools on Friday June 24, 2022 @03:49AM (#31858840)
>But we've already had examples of ad-blocking companies doing deals with advertisers to whitelist URLs and I simply don't trust them not to on-sell my browser history.

Huh? uBlock Origin is a free/open source project.

Re:Apple is not defending browser engine choice by threeseed on Friday June 24, 2022 @03:56AM (#31858885)
Apple is not specifically blocking uBlock Origin.

They are blocking ANY extension from being a MITM and accessing traffic/URLs.

Re:Apple is not defending browser engine choice by ajvs on Friday June 24, 2022 @04:09AM (#31858960)
Which prevents powerful privacy-enhancing open-source extensions like uBlock Origin, LibRedirect and Redirector from existing on iOS.
Re:Apple is not defending browser engine choice by iasay on Friday June 24, 2022 @04:42AM (#31859155)
It also prevents the 90% case of nasty page replacement plugins and data theft extensions which are extremely common on other platforms.
Re:Apple is not defending browser engine choice by cowtools on Friday June 24, 2022 @04:47AM (#31859196)
Luckily, 100% of those malware plugins can already be avoided by voluntarily choosing to not install them.

This isn't a decision for apple or any other manufacturer to make. If you need an authority figure to babysit you while you use a computer then you shouldn't be using a computer in the first place, you should be in a nursing home.

Re:Apple is not defending browser engine choice by iasay on Friday June 24, 2022 @04:59AM (#31859290)
This is selection bias. Clearly you’ve never met an average computer user then. Malicious web pages force extensions on you which users do install.
Re:Apple is not defending browser engine choice by ajvs on Friday June 24, 2022 @11:34AM (#31863814)
uBlock Origin is exactly the type of extension which blocks these malicious webpages.
Re:Apple is not defending browser engine choice by iasay on Friday June 24, 2022 @03:14PM (#31867944)
Re:Apple is not defending browser engine choice by peoplefromibiza on Friday June 24, 2022 @04:57AM (#31859271)
it is a weird country that where people are scared that their data is at the mercy of an open source completely auditable browser extension, that adults have the choice to install or not install upon inspection, and oppose to it, but when it's about real threats that actually kill people (including kids) nothing gets done in the name of "freedom of choice" and against "baby sitting by the government"...
Re:Apple is not defending browser engine choice by iasay on Friday June 24, 2022 @05:00AM (#31859301)
Not scared of those extensions. The malicious web sites that force you to install malicious extensions are the problem. The average user isn’t immune to those problems.

I’ve cleaned out enough extension infested chrome browsers in my time…

Re:Apple is not defending browser engine choice by peoplefromibiza on Friday June 24, 2022 @05:46AM (#31859594)
> The malicious web sites that force you to install malicious extensions are the problem.

while the malicious Company that profits from the 30% cut on in game items sold to kids (and non kids) on their platform, that is ok!

> The average user isn’t immune to those problems.

The average user is not immune to bullets too, we don't force people to wear vests though (even though in USA that should probably be a requirement, given how little they are able to do to stop the shootings)

> I’ve cleaned out enough extension infested chrome browsers in my time…

that's funny, because in 25 years of web browsing and fixing other less tech savvy people's mess, what really changed everything was the invention of ad blockers, like uBlock origin. It immediately made the web a better place, safer, lighter and immensely more enjoyable.

Those "web sites that force you to install malicious extensions" disappeared in an instant and voila, problem solved.

The reward is worth the (negligible) risk.

Re:Apple is not defending browser engine choice by Jcowell on Friday June 24, 2022 @08:12AM (#31860588)
> The average user is not immune to bullets too, we don't force people to wear vests though

To be fair most countries deal with this via very strong national gun laws

Re:Apple is not defending browser engine choice by peoplefromibiza on Friday June 24, 2022 @08:31AM (#31860786)
> To be fair most countries deal with this via very strong national gun laws

That's true, but not the entire story.

Most countries don't escalate the issue to the level of public guns VS private guns and don't consider being armed a right, not even for some law enforcement officials.

So the real situation is that people are free to chose to buy arms, but the process is complicated enough that casual shooters won't even bother and criminals, well, criminals don't buy legal weapons anyway.

Most countries disincentivize buying and using guns.

In this context Apple decision is patronizing: you are entitled to spend thousands of dollars on my products because a bank approved the transactions and think you're fit to spend your money however you want, but I'll decide what you can or can't do because even though your government believes you can drive, have a family, raise kids, be a responsible citizen and also shoot guns, I'm sorry to inform you that according to my analysis you're too dumb to use a different web browser than the one provided by *me*. [1]

Even though you're probably already doing it on countless other devices and environments (another smartphone/OS/HW at work/school/library etc.)

Apple is not disincentivizing people from visiting malevolent websites, they are not making it harder for people to be scammed on the web, they are disincentivizing people from using the web because it harms their profits.

In this context, ad blockers protect users, so in theory they should be allowed by Apple that claimed more than once to be sensitive to privacy issues, but they could be used to make web browsing a better experience on iOS, which is against Apple interests. [2]

[1] of course the real reason is they want to control the platform 100% and want every single bit of information to pass through their pipes, not others' pipes.

[2] not differently from what Google does on Android, but at least on Android I can install alternative (for real) browsers. That's why OS vendors should not be allowed to dictate the browser platform, we know it's wrong since 1998 and the antitrust case against MS bundling IE, but here we are again...

Re:Apple is not defending browser engine choice by mission_failed on Friday June 24, 2022 @07:04AM (#31860053)
After 30 years of surfing porn, warez and dodgy hacking websites I have never been prompted to install a malicious plugin, mainly because decent (ie not Apple's allowed garbage) adblocking blocks it
Re:Apple is not defending browser engine choice by threeseed on Friday June 24, 2022 @10:27AM (#31862427)
Those extensions can exist on iOS perfectly fine.

They just need to agree to work without needing me to supply them the content of every web page I visit and every URL I click. Apologies for putting my privacy first.

Re:Apple is not defending browser engine choice by ajvs on Friday June 24, 2022 @11:32AM (#31863774)
You do realise uBlock Origin doesn't send the URLs you visit to anyone and it's open source so you can even check this yourself?
Re:Apple is not defending browser engine choice by BoorishBears on Friday June 24, 2022 @04:16AM (#31859002)
And so you get back to the original point above...

> So you may criticize Apple for their position but I would rather have a 90% effective ad-blocker and a guarantee that my privacy is intact. With so much data reselling going on it's simply not worth the risk.

Re:Apple is not defending browser engine choice by SllX on Friday June 24, 2022 @02:34PM (#31867311)
> But we've already had examples of ad-blocking companies doing deals with advertisers to whitelist URLs and I simply don't trust them not to on-sell my browser history.

As I recall, uBlock Origin originated as a direct response to ad-blockers engaging in exactly this behavior.

Content blockers are nice, but I’m going to have to agree they are necessary but insufficient on my phone. uBlock Origin as it exists in say Firefox is pretty much exactly what I want and I’d be able to probably uninstall every other ad-blocking extension. I appreciate that Apple tried this approach initially but it’s time to change course and allow more powerful ad-blockers to also exist.

Re:Apple is not defending browser engine choice by zyuiop on Friday June 24, 2022 @06:30AM (#31859837)
Yeah but the point of this discussion is that _Apple doesn't even give you the choice here._ If you want to do it this way, please do, but this is not a reason to prevent other people from doing things differently.
Re:Apple is not defending browser engine choice by dwighttk on Friday June 24, 2022 @06:55AM (#31859992)
Apple does give you the choice: Go buy Android.
Re:Apple is not defending browser engine choice by ezfe on Friday June 24, 2022 @09:39AM (#31861630)
Can you give me an example? I use Wipr and I don't see ads when I browse the web. Safari Content Blockers supports CSS queries and URL matching. For where those don't work, extensions can still interact and modify the DOM.
Re:Apple is not defending browser engine choice by systoll on Friday June 24, 2022 @05:18AM (#31859421)
uBlock Origin isn’t on iOS, but as of IOS15 the Safari Extension API has everything uBlock would use.

AdGuard implements similar script-based blocking if you buy & turn on its ‘advanced protection’

Re:Apple is not defending browser engine choice by lapcat on Friday June 24, 2022 @06:59AM (#31860022)
> uBlock Origin isn’t on iOS, but as of IOS15 the Safari Extension API has everything uBlock would use.

It doesn't. See all of the "Not supported" in this list, especially blocking webRequest: https://developer.apple.com/documentation/safariservices/saf...

Re:Apple is not defending browser engine choice by Nextgrid on Friday June 24, 2022 @05:31AM (#31859495)
> as of IOS15 the Safari Extension API has everything uBlock would use

Does it? My understanding is that the Safari Extension API isn't suitable for uBlock Origin: https://github.com/el1t/uBlock-Safari/issues/158

Re:Apple is not defending browser engine choice by izacus on Friday June 24, 2022 @03:47AM (#31858828)
> AdGuard instead works by submitting rules to Safari which is significantly better for privacy and performance.

This is the "Manifest v3" model that Chrome is trying to implement and has been called out by HN as being extremely anti-privacy and a scheme to cripple ad blockers?

You're putting this up as a comparable approach?

Re:Apple is not defending browser engine choice by kouteiheika on Friday June 24, 2022 @04:14AM (#31858991)
It's the usual HN bias where if Google does something it's bad, but when Apple does it it's suddenly okay.
Re:Apple is not defending browser engine choice by ntauthority on Friday June 24, 2022 @04:26AM (#31859051)
With Chrome, it's taking away. With Safari extensions, it's adding functionality that didn't exist before.

Compare 'some ad blocking' to 'no ad blocking at all' - you go from 100% of ads being shown to maybe 5-10% (and a lot of broken sites due to less advanced rules). Still not the ~0% people are used to on an open platform, but the iOS default was worse.

Re:Apple is not defending browser engine choice by kouteiheika on Friday June 24, 2022 @07:13AM (#31860101)
> With Chrome, it's taking away. With Safari extensions, it's adding functionality that didn't exist before.

Except on PC and Android you have the choice of either a) using something else (e.g. Firefox) or b) revert the changes you don't like, compile your own Chromium and use it. Apple doesn't give you any choice on iOS, it's either their way or highway.

Apple is not the savior here. Yes, Google doesn't act in the best interest of the open web, but if Apple was in charge there'd be no open web in the first place.

Re:Apple is not defending browser engine choice by lapcat on Friday June 24, 2022 @07:02AM (#31860041)
> With Chrome, it's taking away. With Safari extensions, it's adding functionality that didn't exist before.

Incorrect. uBlock Origin previously existed for Safari, but Safari version 13 removed support for the old safariextz format and the Safari Extension Gallery.

Re:Apple is not defending browser engine choice by liminvorous on Friday June 24, 2022 @04:32AM (#31859082)
I mean I basically want Apple to do this to any proprietary software and untrustworthy free software, I just want to be able to make an exception for trustworthy free software.

Given what I use my phone for I’m happy enough with the current compromise, so long as I have access to a general purpose computer.

Even if Apple allows other browser engines I think they should still ban Chrome.

Re:Apple is not defending browser engine choice by viktorcode on Friday June 24, 2022 @09:27AM (#31861438)
Not really. Safari had its own declarative content blocker engine for many years now. Additional, it is moving to the manifest standard for better interoperability with cross-browser web extensions.
Re:Apple is not defending browser engine choice by the_gipsy on Friday June 24, 2022 @03:52AM (#31858861)
You cannot say "it works fine" if you've ever used uBlock origin.
Re:Apple is not defending browser engine choice by matheusmoreira on Friday June 24, 2022 @04:21PM (#31868803)
You're completely in the right to worry about your privacy. I also agree that submitting rules that the browser can enforce without revealing any data to the extension is the proper API for 99% of extensions out there.

However, uBlock Origin is such an important extension that these limits shouldn't really apply to it. I think it's so useful and important that it should be a standard feature of every single browser out there, if not entire operating systems. The problem is browser makers are deeply involved with advertising and we can't trust them to implement ad blocking features due to conflicts of interest, so we have to trust uBlock Origin for now.

Re:Apple is not defending browser engine choice by planb on Friday June 24, 2022 @03:37AM (#31858763)
1Blocker works great for me. Even hides YouTube ads.
Re:Apple is not defending browser engine choice by girvo on Friday June 24, 2022 @03:41AM (#31858791)
Seconding 1Blocker. Well worth it.
Re:Apple is not defending browser engine choice by tehnub on Friday June 24, 2022 @03:26AM (#31858704)
I use Wipr on ios (and ublock origin everywhere else) and it works like 99% as well. Costs 2 bucks I think. Have you tried that?
Re:Apple is not defending browser engine choice by kmlx on Friday June 24, 2022 @09:04AM (#31861130)
> Browsing on iOS is unusable if you’re used to uBlock Origin. I can run that on Fennec/Firefox. I cannot do so on iOS.

https://apps.apple.com/us/app/wipr/id1030595027

this one works great on ios

Re:Apple is not defending browser engine choice by busymom0 on Friday June 24, 2022 @04:21AM (#31859029)
I use AdBlock Pro and it works well on iOS. It's free too-

https://apps.apple.com/us/app/adblock-pro-for-safari/id10183...

Re:Apple is not defending browser engine choice by neonsunset on Friday June 24, 2022 @03:30AM (#31858727)
AdGuard extension for iOS Safari is really good and does the same job as uBlock Origin on desktop.
Re:Apple is not defending browser engine choice by dvzk on Friday June 24, 2022 @04:19AM (#31859017)
If you use uBlock's advanced mode to default-deny scripts or third-party resources then no other extension comes close. (Except for uMatrix, which is by the same developer.)
Re:Apple is not defending browser engine choice by redox99 on Friday June 24, 2022 @06:52AM (#31859961)
It's doesn't do the same job, it's more like manifest v3. Which yes, with current ads that's enough for 99% of them. But especially once Chrome drops support for manifest v2, you'll start seeing a lot more antiadblocks and your rule based adblock won't be able to get around them.
Re:Apple is not defending browser engine choice by viktorcode on Friday June 24, 2022 @09:24AM (#31861390)
Yes, you do miss something. There is about a metric ton of various adblockers on mobile App Store.
Re:Apple is not defending browser engine choice by greggsy on Friday June 24, 2022 @04:03AM (#31858925)
AdGuard does the job fine on iOS