432 points · by adrian_mrd · 3y ago · 315 comments
> In fact, we were able to circumvent the issue just by changing the name of the Chrome app on a Windows desktop. It seems that Microsoft threw up the roadblock specifically for Chrome, the main competitor to its Edge browser.
From the beginning of the article, I was led to believe Microsoft had changed an API around checking/setting the default browser to show Microsoft's dialog instead. Which doesn't seem great to change an API without warning, but maybe you can make an argument that it ensures a "neutral" choice rather than apps pushing the choice on users.
But this shows it's specifically against Chrome. Regardless of whether it's legal or not, it's unforgivably anti-competitive behavior. It's a truly shameful tactic.
Remember the entire reason Microsoft scrapped their own browser engine was because Google kept breaking YouTube video acceleration in Edge/IE.
Or you know, make it extra hard to change the default application and "forget" what I told you every now and then, bring that edge icon back to the task bar after every update etc.
It is not a platform that can be trusted. And maybe in 2023 there is value in a digital platform that can be trusted.
Breaking it is basically guaranteed to lead to plugging the hole and blacklisting the misbehaving app is easier than getting out the real fix. You can be all like "rebel chrome is taking on big operating system" and that's fine and makes total sense but "how dare MS enforce their own rule" is a weird take. You can't be like "hey, they weren't supposed to do it back" when you intentionally abuse your elevated privs to bypass security measures.
I don't think they were doing it from scratch. Their scratch happened all the way back.
Microsoft cannot market they OS as developer friendly and then take steps against a specific developer.
MS. MS never changes.
I'm going to assume that you intended this to be read in the Fallout voice [0].
Browsers are hard to reverse engineer
Reverse-engineering is difficult and time-consuming. Reverse-engineering something as large and complex as a browser would be a huge project all by itself.
Lots of interesting discussion in there, even if the phrase didn't come out of Microsoft as the article anecdotally suggests it didn't.
According to the article:
"the worst was reserved for users on the enterprise version of Windows. For weeks, every time an enterprise user opened Chrome, the Windows default settings page would pop up. There was no way to make it stop unless you uninstalled the operating system update. It forced Google to disable the setting, which had made Chrome more convenient."
Enterprise maybe didn't like settings getting changed that way (conflict with group policy?). If it was constantly opening new windows, it's probably because it was constantly calling an API (probably in the wrong or an undocumented way). So it would make sense to change how the API works based on a known bugged application. It wouldn't be the first time Windows changes how something works based on application name [0].
Keep in mind there's also more than just the documented Win32 API exposed to applications on Windows (and who knows if Chrome was misusing these undocumented ones) [1].
[0] https://devblogs.microsoft.com/oldnewthing/20031224-00/?p=41...
[1] https://learn.microsoft.com/en-us/sysinternals/resources/ins...
It is 100% consistent with everything Microsoft does.
https://googleblog.blogspot.com/2011/02/microsofts-bing-uses...
https://www.theregister.com/2003/02/06/msn_deliberately_brea...
Edge ain't done 'till Chrome don't run...
I have not encountered any other browser that has a button like Chrome put in. Back in the day, a browser and email apps could set themselves as default, on their own. A long time ago.
This was bad. I don't want an app to be able to make itself default for something, and just magically trust that the app will ask me first. There is an OS control for that - I don't want apps to be able to do that on their own. So MS fixed it, and all was good, for a long time.
Chrome then somehow found a sneaky way to get that back. Truly a shameful tactic.
Well guess what "google" - you're not allowed to do that, and there's a reason the functionality was removed for all apps. You're just a browser app, I don't want you to screw with or even have access to screw my OS settings.
Microsoft fixed a security hole. Good on them. For now, they specifically fixed it for the malicious actor. Hopefully they'll fix it OS-wide eventually.
Did end users benefit when YouTube was blocked from being used on Amazon Firesticks? Did they benefit when Roku and HBO were feuding and you couldn't use HBO Max on Roku devices?
Be careful what you wish for.
From the horse's mouth, "privacy sandbox" is explicitly designed "to build thriving digital businesses."
https://privacysandbox.com/intl/en_us/
At face value they claim it's designed to eliminate tracking techniques like fingerprinting, it's actually a system explicitly designed to collect the users' private information. From the horse's mouth.
"To provide this free resource without relying on intrusive tracking, publishers and developers need privacy-preserving alternatives for their key business needs, including serving relevant content and ads."
It isn't so much a privacy sandbox, it's an anti competition sandbox.
Google is designing standards and practices under the auspices of user privacy but in reality these changes simply lock others out of accessing data while serving it up to Google.
* Not only are they locking out competition, but they're preventing the user from stopping or mitigating collection of data as well.
On one hand it’s better than what’s going on now, on the other hand it’s not going to give you privacy and it’s likely going to further Google’s advertisement monopoly on much of the internet. Which is where a lot of the debate can be had, but as a user, do you really want any company to track you? If not, then you most likely don’t want control of who gets to track you in the hands of the biggest advertisement company on earth.
The intention of the Topics API is to enable high level interests of web users to be shared with third parties in a privacy-preserving way in order to enable targeted advertising, while also protecting users from unwanted tracking and profiling. The TAG's initial view is that this API does not achieve these goals as specified.
The Topics API as proposed puts the browser in a position of sharing information about the user, derived from their browsing history, with any site that can call the API. This is done in such a way that the user has no fine-grained control over what is revealed, and in what context, or to which parties. It also seems likely that a user would struggle to understand what is even happening; data is gathered and sent behind the scenes, quite opaquely. This goes against the principle of enhancing the user's control, and we believe is not appropriate behaviour for any software purporting to be an agent of a web user.
The responses to the proposal from Webkit and Mozilla highlight the tradeoffs between serving a diverse global population, and adequately protecting the identities of individuals in a given population. Shortcomings on neither side of these tradeoffs are acceptable for web platform technologies.
It's also clear from the positions shared by Mozilla and Webkit that there is a lack of multi-stakeholder support. We remain concerned about fragmentation of the user experience if the Topics API is implemented in a limited number of browsers, and sites that wish to use it prevent access to users of browsers without it (a different scenario from the user having disabled it in settings).
We are particularly concerned by the opportunities for sites to use additional data gathered over time by the Topics API in conjunction with other data gathered about a site visitor, either via other APIs, via out of band means, and/or via existing tracking technologies in place at the same time, such as fingerprinting.
We appreciate the in-depth privacy analyses of the API that have been done so far by Google and by Mozilla. If work on this API is to proceed, it would benefit from further analysis by one or more independant (non-browser engine or adtech) parties.
Further, if the API were both effective and privacy-preserving, it could nonetheless be used to customise content in a discriminatory manner, using stereotypes, inferences or assumptions based on the topics revealed (eg. a topic could be used - accurately or not - to infer a protected characteristic, which is thereby used in selecting an advert to show). Relatedly, there is no binary assessment that can be made over whether a topic is "sensitive" or not. This can vary depending on context, the circumstances of the person it relates to, as well as change over time for the same person.
Giving the web user access to browser settings to configure which topics can be observed and sent, and from/to which parties, would be a necessary addition to an API such as this, and go some way towards restoring agency of the user, but is by no means sufficient. People can become vulnerable in ways they do not expect, and without notice. People cannot be expected to have a full understanding of every possible topic in the taxonomy as it relates to their personal circumstances, nor of the immediate or knock-on effects of sharing this data with sites and advertisers, and nor can they be expected to continually revise their browser settings as their personal or global circumstances change.
A portion of topics returned by the API are proposed to be randomised, in part to enable plausible deniability of the results. The usefulness of this mitigation may be limited in practice; an individual who wants to explain away an inappropriate ad served on a shared computer cannot be expected to understand the low level workings of a specific browser API in a contentious, dangerous or embarrassing situation (assuming a general cultural awareness of the idea of targeted ads being served based on your online activities or even being "listened to" by your devices, which does not exist everywhere, but is certainly pervasive in some places/communities).
While we appreciate the efforts that have gone into this proposal aiming to iteratively improve the privacy-preserving possibilities of targeted advertising, ultimately it falls short. In summary, the proposed API appears to maintain the status quo of inappropriate surveillence on the web, and we do not want to see it proceed further.
https://github.com/w3ctag/design-reviews/issues/726#issuecom...
From reading that GitHub thread further, the comment you're quoting seems to be an "initial review" only.
Further down the thread are various people (Google, etc) downplaying it, and trying to get around it. Not unsuccessfully.
A browser that truly protected people's privacy would definitionally not meet the needs of advertisers, because those needs are in direct opposition to people's need for privacy.
If it’s so great it would be any easy opt-in for users. But it’s not.
Any chance you're familiar with their last antitrust suit?
If that was what Windows was intending, and Google found a way around it with sneaky automatic API calls, and Windows fixed the exploit which then resulted in those sneaky calls popping open Settings every time, that would be fine and Google would be the bad guy.
Sounds like that was not what happened here, Windows did some ugly hack (up to and including ‘relying on a Chrome.exe process name’, like, come on) and in fact doesn’t even have a “make request then approve in Settings” workflow, so yeah Windows is the bad guy here. Google is still a little bit bad - you’re fucking up my UI by forcing a self-promotion button into my tab bar, that’s not cool - but overall this situation is a point against Microsoft.
(Personally I’m glad the extent of browser wars for Mac is some apps doing some trick to make you choose between “Chrome”, “Safari”, or “the default browser [Safari]” every time you click a link. I want to use the default option every time automatically, that’s what default means.)
Apple oughta put a stop to this nonsense.
1. There's a global default browser setting: follow it.
2. Almost no app needs an embedded SFSafariViewController just to open random links
2b. Extend this to photo pickers (especially those that expect access to the entire library)
I suspect Chrome was misusing an API, because according to the article
"the worst was reserved for users on the enterprise version of Windows. For weeks, every time an enterprise user opened Chrome, the Windows default settings page would pop up. There was no way to make it stop unless you uninstalled the operating system update. It forced Google to disable the setting, which had made Chrome more convenient."
Enterprise maybe didn't like settings getting changed that way (conflict with group policy?). If it was constantly opening new windows, it's probably because it was constantly calling an API (probably in the wrong or an undocumented way). So it would make sense to change how the API works based on a known bugged application.
"Any customer can have a car painted any color that he wants so long as it is black".
-Henry Ford, My Life and Work (1922)
Which makes sense.
I would bet this is an application shim of some sort. Hardcoding behavior like this into the shell is risky. Shims often target based on process name and executable path on disk (but can be configured to also match resource info).
I would dig into it, but I cannot repro the issue on Win10.
While Chrome included a button to ask users beforehand, they could've just as easily changed the default browser without asking. I'm not saying Google would do that, but maybe they shouldn't have the ability to do so regardless of intention.
I really liked edge, but that didn't last long... I'm trying to minimize the Google in my life as well, beyond search which is less and less useful itself. Not sure what to use. Keep seeing Vivaldi mentioned, and I do use Brave on my phone.
And no, I don't find Firefox "good" ... I do like having bookmarks and plugins sync'd though. Anyone have an extension that syncs bookmarks... I keep my passphrases in Bitwarden, not the browser as it is.
Google should be forced to open the system settings panel that allows users to change the default browser, not do it for them. If this window unfairly favours one browser over another, I'd say that would be anti-competitive, but requiring to go through said window is not.
The best solution is a system permissions dialog to confirm the change, so an app can't change anything silently.
Because using a control panel for all handlers isn't a particularly user-friendly experience, scrolling through 60 file types to hunt down the one you're looking for and then locate the appropriate .exe file. I mean the panel should exist but for power users.
No 3rd party app should have write access to system configurations.
- The user attempts to open a link in the default browser and it isn't set.
- The user installs a new browser.
- The user uninstalls a browser that is set as the default.
Inside the app there is no way to tell the difference between wanting to use that particular app for this one specific task, or preferring this app above all others. (An adaptive UX could notice that the user has manually opened an app many more times than others and suggest setting it as default.)The problem here is Microsoft gives no way to uninstall Edge. So the only way to know if the user wants to stop using it as default, if they didn't switch when installing another browser, is for the 3rd-party app to reach in and claw back the default setting.
I don't see anything anti-competitive about Windows coming with a Microsoft browser or Microsoft setting it as the default as long as we're able to download other browsers and go to the system settings to change the default. Pretty much the first thing everybody does after installing Windows is use Edge to install Chrome although that's probably not necessary these days since Edge is just a Chrome reskin that is integrated with the Microsoft ecosystem instead of the Google ecosystem.
The problem here is that the new APIs - to open the UI to let user manage stuff - as well as that UI itself, keeps changing in various unhelpful ways.
If applications can't change this, then an OS with a competing application can just implement a high-friction process that discourages most people from completing the switch.
Why is it not enough that the user clicked on the button to change the default browser?
> If this window unfairly favours one browser over another, I'd say that would be anti-competitive, but requiring to go through said window is not
Making it harder for users to switch from the default browser to another browser unfairly favours the default browser over non-default browsers.
It’s a button in Chrome, intuitively it should only be able to affect things inside Chrome. If you want to affect system-wide (user-wide…) defaults, that should be done in System, not Chrome. A analogy might be “turning your house lights’ dimmers to maximum brightness shouldn’t also set your car’s headlights to high-beam”.
In the absence of this utopia, you have to ask if its a better world that Microsoft retains unilateral control over its users' ability to set a default browser (or, any other decision of a similar caliber). I'd rather no one have control; that it just be some file content on the disk that any program can edit, and I'll adopt the responsibility of trying to make sure the programs I install can be trusted with that power.
The alternative smells more like Apple's Security Dystopia than a utopia. Microsoft has already proven to be a bad steward of this functionality: there was a time (which may still be the case, I don't know) where changing the default browser would prompt you to "give Edge another shot" no short of three times. There was a time when even Googling "Chrome" in the Edge browser would re-write the HTML to list the Edge website first (I'm pretty sure they've removed this). Click on a link in any of Windows 11's useless widgets will always open Edge, even if you've overridden the default browser.
The better analogy is possibly: Turning your house's lights to maximum brightness maybe should also set your car's headlights to high beams, if the car manufacturer prompts you to install their own more expensive, worse headlights every time you adjust their brightness in the car.
Perhaps we should add "for unregistered file types" there but if I am installing a software, I am probably wanting it to associate themselves for relevant files and I wouldn't want to go through settings to find all relevant files
The proper ux is peovably a "this application wants to open these file types" system pop up
Been a while since I've seen the WinRAR install screen, but pretty sure it does exactly what I described
The reality is nobody makes ad revenue from WinRAR opening .ZIP files so nobody cares.
I long for the days where I was able to pay for a piece of software. The nature of the transaction ensured that the software did what I as a user wanted it to do, and served no hidden agenda. But those days are gone, possibly forever.
Basically, I am paying the Apple tax because I get to be a few cycles behind the state of the art in software commoditizing their users.
Have you been on the App Store lately? macOS and iOS are relatively clean, but the most apps in the stores are out to get you.
Apple isn't an angel, but they don't tend to do shit like this. Macs also don't come with a shitload of goofy ads in the Dock, like every consumer build of Windows. Opening a new Dell is like entering a shitty mall.
I assume that Google's takeaway from the Internet Explorer anti-trust case was that they needed plausible deniability for their non-standard browser features.
This was not a "Google" thing - vendor prefixes were a common practice in the industry. Webkit was using -webkit- prefix before Google was using it.
Many years ago the harm of this was recognised and browsers did move these to configuration/feature flags instead.
https://developer.mozilla.org/en-US/docs/Glossary/Vendor_Pre...
Apple, Mozilla, Microsoft, and Opera all were doing that before Google even had a browser; there never even was a Chrome-specific prefix, all of the features included in Chrome this way were -webkit- prefix and, IIRC, implemented in the WebKit shared codebase.
-ms- wasn't really a thing until IE10 if I remember correctly, when they started prefixing their own IE5-era properties like the DirectX-based `filter` [citation needed]
The fix? as simple as changing the browser's user agent to look like Android/Chrome.
I'm not defending Google here, but once I worked for a company whose web support strategy consisted of explicitly supporting a specific subset of browsers, and have a user-agent allowlist to pick if a request loaded the current version of the page or a legacy, feature incomplete but broadly supported version. The guiding principle was that we would have to draw the line in the sand regarding which browsers we'd cover in our test matrix, and instead of risking subjecting users who used unsupported browser to broken experiences then it was preferable that we assured they would experience an old but bulletproof version of it.
We started off by showing a "this browser is not supported, please upgrade" page, until some other department in our company complained up and down the org tree because they used thin clients with outdated browsers. Thus instead of showing a "please upgrade" page we fed the old version, and everyone was happy.
I see how this looks like intentionally feeding a degraded experience to subsets of users, but having been in a decision-making process that led to the same outcome, let me assure you there are real-world scenarios where this outcome does not originate in malice or any ulterior motive.
You can pay for software, but you'll still be the product. Just like how it's the case here with Windows.
It's ironic how the best software are often made by unpaid volunteers. Compare that with commercial software. Most of them are bloated and user-hostile.
Microsoft has, whether you like it or not, a documented and official way to set your app as a default app. And apps which growth hack around that will probably have problems.
https://ec.europa.eu/commission/presscorner/detail/en/IP_13_...
We need more legislation it seems.
Point being; there's history and context to this fight, and I don't think that sympathy is a valuable experience to hand out to any megacorporation. Both Google and Microsoft can be in the wrong; its not binary.
Agreed - I mentioned that only in the sense that the article seemed to be portraying it very much in Google’s terms and this has more history as you mentioned. I’d especially feel it worth mentioning how for years Google used their sites to push Firefox, Safari & Edge users to switch to Chrome so it’s rather dubious that they’re suddenly deeply concerned with consumer choice.
Microsoft loves to complain about applications doing things it doesn’t like, while its own applications are doing those exact same things. According to Microsoft the rule is that the rules just don’t apply to Microsoft Office and Microsoft Edge.
Microsoft likes to pretend they play fair. But when they can’t win by playing fair, the facade quickly drops.
They are purposely separate teams because if it were any other way, IBM would have sued them into the ground for anti-competitive actions.
At least, this was the case ten years ago.
It happened decade ago tho.. Now Google is practically leader in web standards so there no need to use this practice anymore.
1. https://www.reddit.com/r/operabrowser/comments/e6e7x/google_...
...countdown to downvotes and replies asking for source for something that is easy to find online.
There's a little typo in there. They wrote in - but what they actually meant was under our.
Common mistake. The keys are right next to each other.
At least on the systems I manage, workstation updates have been responsible for a lot larger share of the same kind of problems (data loss, availability loss, etc.) that I am starting to get questions that I don't have very convincing answers for.
However, I really wonder what kind of attack surfaces I may have, if I have zero exposed ports, never plug in any drive from untrusted sources, and always double and triple check any program before running? I haven't used any antivirus(including windows defender) since I got my first computer and never got any virus, also I monitor my running processes frequently and have an adequate knowledge of windows internals. Malwares are not like COVID-19...
> never got any virus
That you know of... > I monitor my running processes frequently
PSA: Search for something called lolbin. Short for "living off the land binaries". Not every malware needs to have it's own process or will be easily identifiable when looking at a process list.Anyways, you can simply disable feature updates on Windows and keep the security ones until that specific version reaches EOL: https://www.bleepingcomputer.com/news/microsoft/take-control...
On every major update. It's just a nag.
So Google has a button to make it the standard browser and a group policy to do that automatically. This computes the userchoice hash based on the SID, obfuscated formulas, the create time of the registry key (minute only, retrying when the minute has changed while writing).
Now MS publishes an update which breaks this (But how?). Gizmodo says it only happes to "chrome.exe". Google implemented the userchoice hash algorithm, but now they disabled "the experiment".
And now?
When will Google come up with another solution? Does the group policy still work? What exactly did the update from MS change? Did the userchoice algorithm change somehow?
Does the button in Chrome to set the default even still work?
Here's how userchoice is or was implemented: https://chromium.googlesource.com/chromium/src/+/0dfc676a46a... https://chromium.googlesource.com/chromium/src/+/58e203f9ba9...
Although not sure if it has ever changed before though just by quickly scanning the change log for this app people were using to set it https://kolbi.cz/blog/2017/10/25/setuserfta-userchoice-hash-...
I'd love to ditch Edge, any recommendations?
It’s not for everyone but it’s interesting to see someone trying new things.
At my company, we're Mac for everything not engineering and linux for engineering. Every new hire at first hates the new thing, but after a few months, I'll ask them if they'd like to switch to Windows... and the answer is usually something between "no" and "for the love all that is good and wholesome, no!" The issue with Windows is lots of tiny spikes and sharp edges that interrupt your workflow.
I ask because we saw a huge campaign by our corporate IT (large 50,000+ userbase) recently to eliminate Chrome for all company assets -- with mailers touting the superior security features of Edge.
If they simply said we cannot / donot want to support multiple browsers -- it would be forgivable. But the mailers seemed to be rather persistent in justifying why Edge -- sounding like PR from MS.
A principled approach to app pinning and app defaults in Windows (windows.com) [1]
[1] https://blogs.windows.com/windowsexperience/2023/03/17/a-pri...
* Insert comic of different parts of Microsoft pointing guns at each-other *
For example, I want a separate icon for .txt .py .cpp, and all open them with sublime text. I tried many things, but I just gave up. Once I associate with ST again, it sets to another icon.
There are really few things holding me back to windows, really.
Upstream source is Chromium.
The only reason Edge or whatever Microsoft is pushing these days didn't trigger the issue is because their browser didn't make the API call on every new window event and not because of some sinister plan to increase their market share.
Back in the day trying to do things as silently as possible was reserved for malware.
> Gizmodo was able to replicate the problem. In fact, we were able to circumvent the issue just by changing the name of the Chrome app on a Windows desktop. It seems that Microsoft threw up the roadblock specifically for Chrome, the main competitor to its Edge browser.
> Mozilla’s Firefox has its own one-click default button, which worked just fine throughout the ordeal.
so no, this doesn't appear to be about an app using a backdoor API, it's specifically targeted at Chrome.
https://chromium.googlesource.com/chromium/src/+/refs/heads/...
A little dive in the original feature would reveal a bunch of unfortunate time-bombs of behaviors taking dependencies on _write time to the registry_, adding arbitrary retry loops to overcome time resolution, and circumventing the standard path in the platform.
https://chromium-review.googlesource.com/c/chromium/src/+/37...
The conspiracy theory is wild, and seems to be based largely on the changing of the name, but if you read the patch, it's dependent on the file.
The comments on the review that were rejected by the author could easily be the conditions that changed and a plausible cause.
The whole thing smells like sensationalist FUD, particularly given the content of this patch.
For what it's worth, around this time Microsoft's own API (which will only set Edge as default) messed this up occasionally if you ran it on the edge of a minute. When I implemented the equivalent feature for Firefox I checked the time, only one retry instead of Chrome's 5 and it's still not perfect, though my approach doesn't write the potentially out of date values first. That was already sufficiently stable that I couldn't make it fail.
Yes, installing Candy Crush and a version of solitaire filled with IAP or filling the start menu with MSN news cruft is really looking out for its users. The only entities that Microsoft gives half a shit about is their shareholders.
It’s no response to MS’s anti competitive behavior.
Dark patterns are not monopolistic.
I see that journalism remains second oldest profession.
I think Microsoft should do more to Google. Meanwhile, I am happy with Firefox.