52 points · by migueldemoura · 7y ago · 43 comments
Oh, heck off. This is Google's fallback whenever people call them out on anything -- "you just don't understand the entire picture." It's just their way of gaslighting critics.
People understand the change perfectly.
a) The privacy arguments are untrue because the Observational capabilities of the WebRequest API aren't being deprecated. There are no privacy benefits unless an extension voluntarily ignores that part of the API -- which no one will do because, as Google says:
> when extension developers are given the choice between capability and security, the vast majority of developers choose capability.
Google makes the argument that 42% of malicious extensions use this API. Well, guess what they'll still be able to do under Manifest V3?
b) The vast majority of data suggests that ad blocker performance is not a serious issue on the web right now. Ad blockers pretty much universally help more than they hurt, so it's not clear why performance is such a big concern.
c) The declarative model is a less powerful alternative, which is the exact reason why Google is deprecating the blocking capabilities in the first place -- if they didn't force it, no one would switch (again, see their "why not both?" argument).
So what don't consumers and developers understand about this? It's an objectively less powerful API that does very little to improve privacy for the sake of performance improvements that aren't necessary.
They are being severely curtailed.
https://twitter.com/justinschuh/status/1138889508512866304
> Yes, but network requests won't be observable without permission on the relevant hosts. And host permissions are changing significantly in Mv3 (e.g. they can't be granted as blanket install time permissions).
> The underlying issue with blocking Web Request is that it is effectively a UXSS, which could not be bound by origin-based host permissions like the rest of the API can.
Google's privacy argument is correct.
On the current discussion thread, Chrome devs say:
> The webRequest API's ability to observe requests is foundational for extensions that modify their behavior based on the patterns they observe at runtime.
And in this article, they say:
> when extension developers are given the choice between capability and security, the vast majority of developers choose capability.
So the argument that hiding observation requests behind a permission means that they are "severely curtailed" is just plain wrong. Most extensions (including ad blockers) will still request these permissions as wildcards across all hosts, and most users will still grant them as wildcards across all hosts.
Per-domain permissions for the blocking WebRequest API would be great (that's a change I would broadly support), and if Chrome devs honestly believed that per-domain permissions were an adequate user protection against malware, they'd look for ways to implement per-domain permissions with the blocking API, rather than deprecating the entire thing.
The Twitter post you link claims that's impossible, I don't see why. That would be a good thing for someone from Chrome to explain in either the massive developer thread that's been going on for months, or maybe in the article that complains about how much "confusion" users and developers have, instead of asking devs to blindly take their word.
> The Twitter post you link claims that's impossible, I don't see why.
Your original post claimed that people understand this issue "perfectly." It turns out there was more to it than you thought.
>Since the original announcement of the Declarative Net Request API, we have added significant functionality to the API as a result of these discussions. The Declarative Net Request API now allows for the registration and removal of dynamic rules - specified at runtime rather than statically in the manifest. We’ve also added the capability to remove common tracking headers, such as Referer, Cookie, and Set-Cookie.
>We are actively exploring other ways to expand this API, including adding methods to get feedback about matched rules, and support for richer redirects leveraging URL manipulation and regular expressions. Additionally, we are currently planning to change the rule limit from maximum of 30k rules per extension to a global maximum of 150k rules.
They posted a simpler post to the Security blog also addressing these issues.
https://security.googleblog.com/2019/06/improving-security-a...
They lead with the point that most-seemed to get lost in translation, even on technical sites like HN.
>No, Chrome isn’t killing ad blockers
>>No, Chrome isn’t killing ad blockers
They’re just neutering them with a ridiculously low limit of rules.
One of the benefits of doing this declaratively is that they can optimize the shit out of these blocking declarations. There is no need for such a low limit. Or even a limit at all.
However I do agree that there shouldn't be a limit, in accordance with https://en.wikipedia.org/wiki/Zero_one_infinity_rule. I think they were just trying to get people to actually clean up EasyList to prune dead rules.
I just checked and my uBlock Origin -- which doesn't have any social filter lists applied -- has 148,339 rules applied in total.
Declarative rules engines are better and preserve privacy better. This is Google following Apple's lead and doing the right thing.
whose ads are getting blocked as a priority? doubleclick is going to be in there so is there really a difference to them either way.
If this is part of a longer-term plan to deprecate webRequest and completely remove that ability, then they should say so now.
uBlock Origin has over 10M installs and the author has stated publicly that they cannot effectively do what they do if this change goes ahead. I can guarantee that uBlock Origin does more to protect my privacy, security and performance than this change. How many people have been affected by malicious extensions? I seriously doubt it's greater than 10M. So to improve the privacy, security and performance for a few, they are going to make it worse for the many.
Surely there are better solutions to tackle this problem? Maintain the API but add in additional checks/vetting for any extensions that use it.
“API Changes WebRequest: Restrict the blocking capabilities of the webRequest API.”
Cannot they just instrument the code that intercept the requests and tell the user when performances are affected? Something like "It seems that extension xyz is slowing down Chrome. Do you want to disable it? Yes No [] Do not ask anymore"
In addition, because of the Chrome extension team's obsession with using js workers instead of persistent processes we're going to have to deal with finding work-arounds for holding important and unencrypted things in memory. Someone brought up the issue that some extensions will have to create a newly pinned tab to the top left of the browser because of these inane bullshit rules removing the background page. Imagine a stack of pinned tabs just so your extensions can do their jobs. Does that sound dumb enough yet? Sometimes it's necessary to hold a lot of information in memory because the user actually wants the extension to do a certain task in a reasonable amount of time. They are making our jobs harder because they're too stubborn to understand that extension developers are the ones who create the magic. This is central governance at its finest.
These rules are stupid as hell.
Declarative rules engines are better and preserve privacy better. This is Google following Apple's lead and doing the right thing.
And Firefox and most Chromium forks have no limit. Does that mean they have infinite generosity?
Seriously, how is Apple being bad at something an argument for lowering other options to the same level? Right now I have ~200K filters enabled on this machine. EasyList alone is sitting at 90K according to uBlock Origin.
No its not. Plus, if you combine Easylist with a bunch of additional filter lists, then it very easily crosses 50k.