TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Brave and Firefox to intercept links that force-open in Microsoft Edge

571 pointsby gbilover 3 years ago

24 comments

walrus01over 3 years ago
Microsoft doing exactly the same thing they were, twenty plus years ago, with the IE vs Netscape browser wars. At least they&#x27;re consistent about being hostile. And now, of course, their main competition is Chrome and Google.<p><a href="https:&#x2F;&#x2F;www.google.com&#x2F;search?client=firefox-b-1-d&amp;q=netscape+microsoft+lawsuit" rel="nofollow">https:&#x2F;&#x2F;www.google.com&#x2F;search?client=firefox-b-1-d&amp;q=netscap...</a><p>I would encourage anyone who doesn&#x27;t use Windows 10 on a regular basis to take a look at what the &#x27;defaults&#x27; are that Microsoft steers people towards on a brand new Win10 Home installation. Including the creation of a Microsoft account, bing, edge, all the telemetry turned on, etc. Just... Yuck.
评论 #28748683 未加载
评论 #28748281 未加载
评论 #28752007 未加载
评论 #28748377 未加载
评论 #28749334 未加载
评论 #28749744 未加载
评论 #28748734 未加载
评论 #28748242 未加载
评论 #28748255 未加载
评论 #28748397 未加载
评论 #28751176 未加载
评论 #28751166 未加载
评论 #28749333 未加载
indymikeover 3 years ago
I booted up Windows this weekend, and immediately was forced to login to my MS account, and it attempted to change my default browser. The solution was to reboot, pick Ubuntu from the Grub menu and to then delete the Windows partition and give the space to Ubuntu. I&#x27;m tired of fighting with computers I own that don&#x27;t work for me.
评论 #28751901 未加载
评论 #28753736 未加载
评论 #28755412 未加载
lpcvoidover 3 years ago
Leave it to Microsoft to be openly user-hostile in every way possible, knowing perfectly well that it won&#x27;t hurt their market share one bit. I have no idea why people think this is a different Microsoft now than it was under Ballmer.
评论 #28748254 未加载
评论 #28748685 未加载
评论 #28748235 未加载
Waterluvianover 3 years ago
I used Windows 10 for the first time in years and was taken aback by the fact that despite Firefox being my default browser, a ton of Microsofty things open in Edge anyways. For example: search a term in the start menu and get the magnifying glass options for looking up related terms. They all just open in Edge for me anyway.
评论 #28760851 未加载
siproprioover 3 years ago
&gt; Brave Software is also considering taking things one step further. The company is planning to intercept Windows Search&#x2F;Cortana links to Bing and redirect them to its users’ default search engine instead.<p>Yes! THANK YOU! OH MY GOD THANK YOU BRAVE!! FINALLY!
CyberShadowover 3 years ago
Devil&#x27;s advocate: if the link is in a Windows component, then it would somewhat make sense that clicking the link would open it in a first-party application which the OS vendor can control. If the association with http: URLs somehow got messed up (e.g. the default web browser got broken due to something outside Microsoft&#x27;s control), you&#x27;d be in a worse situation than if the Control Panel etc. used a simpler but fully supported first party web browser.
评论 #28751404 未加载
tempfsover 3 years ago
Why use MSFT-overlayed Chrome(aka Edge) at all instead of just using Chrome?<p>Edge will always lag Chrome for security matters and MSFT will just be yet another surveillance layer within it.<p>Just use Firefox folks. It&#x27;s fast, secure-ish and leaves you only one threat actor to keep track of instead of two.
评论 #28754213 未加载
评论 #28752816 未加载
评论 #28756155 未加载
gespadasover 3 years ago
Microsoft, there&#x27;s no need to do this. I already use Edge because its features and quality, don&#x27;t make me regret it.
评论 #28748855 未加载
评论 #28753168 未加载
评论 #28748319 未加载
评论 #28748447 未加载
评论 #28749649 未加载
JohnFenover 3 years ago
The more I learn about Windows 11, the more I think it&#x27;s not fit for purpose.
leodrieschover 3 years ago
It’s very uncool of Microsoft to avoid the users default browser and search engine choices, but I also don’t like Brave intercepting it, especially with their financial incentives with brave search.<p>Imagine if Google would do the same. The outcry would be a lot higher, because Google is a bigger company. But in this case Brave is very similar to Google, just a lot smaller.
评论 #28750216 未加载
评论 #28748762 未加载
sliover 3 years ago
Anyone who believes Microsoft has reformed and is in any way different now is the most foolish of fools. I&#x27;m not sorry to say it, because they have been taken to court for antitrust violations for this before but $100 says that won&#x27;t happen again.<p>Microsoft has simply learned how to avoid getting busted for their tactics. That is all.
m-p-3over 3 years ago
You can make those Edge-only URL (using the &quot;microsoft-edge:&quot; protocol&#x2F;URI handler) to open in your default browser using EdgeDeflector<p><a href="https:&#x2F;&#x2F;github.com&#x2F;da2x&#x2F;EdgeDeflector" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;da2x&#x2F;EdgeDeflector</a>
评论 #28749973 未加载
supernovaeover 3 years ago
The only time i see this link is when visiting a customers team site and its mostly because i refuse to install native teams apps just to join a call.<p>I&#x27;m actually fine with having edge installed.. I have firefox and chrome too.<p>There isn&#x27;t a day that goes by when i Use edge that Google is spamming with with popups to switch to chrome or open in chrome or to try and auto-login with a google address.
comeonseriouslyover 3 years ago
Just wait. I thought Microsoft had changed, that they were different now.<p>I guess not...
评论 #28750111 未加载
passivateover 3 years ago
Can someone explain where these links are located? I don&#x27;t think I&#x27;ve ever come across one.
评论 #28754394 未加载
underscore_kuover 3 years ago
stop using Windows!! no one is forcing you to use Edge on Linux
评论 #28751253 未加载
评论 #28754659 未加载
评论 #28753164 未加载
marcodiegoover 3 years ago
Meet the new microsoft.
评论 #28748517 未加载
WallyFunkover 3 years ago
The old joke:<p><pre><code> I only use Microsoft Edge to download Chrome or Firefox</code></pre>
评论 #28748931 未加载
评论 #28748987 未加载
smolgumballover 3 years ago
I&#x27;ve started using Account Surfer on Windows to avoid this issue, as well as the general workflow issue of &quot;I want to open any link I click in one of many browsers.&quot; The developer has also been very responsive to emails, bug reports and feature requests.<p><a href="https:&#x2F;&#x2F;www.microsoft.com&#x2F;en-us&#x2F;p&#x2F;account-surfer&#x2F;9phvp9rjr7r7?activetab=pivot:overviewtab" rel="nofollow">https:&#x2F;&#x2F;www.microsoft.com&#x2F;en-us&#x2F;p&#x2F;account-surfer&#x2F;9phvp9rjr7r...</a>
flixicover 3 years ago
I&#x27;d like to hear Microsoft&#x27;s explanation for this &quot;feature&quot;.
评论 #28749292 未加载
评论 #28748834 未加载
jeppesterover 3 years ago
I find it both amusing and worrying that MS has been able to get this narrative going that they got better and that we should forgive them for their past mistakes.
sabhiramover 3 years ago
Talk about full circle. IE vs Netscape anyone?
dbg31415over 3 years ago
Really easy way to fix a lot of that crap.<p><a href="https:&#x2F;&#x2F;www.oo-software.com&#x2F;en&#x2F;shutup10" rel="nofollow">https:&#x2F;&#x2F;www.oo-software.com&#x2F;en&#x2F;shutup10</a>
评论 #28751529 未加载
jonathansampsonover 3 years ago
Great write-up! I did want to share a brief response to the following, however:<p>&gt; The new implementations in Brave and Firefox follow the exact parsing logic I wrote for EdgeDeflector. It’s not the only way to parse them, it’s not the best way to parse them, but it’s the way every third-party implementation now parses them. Neither codebases attribute the code to EdgeDeflector, although both are clearly inspired by it. (Don’t get me wrong, I’m fine with this.)<p>With all due respect to the author, I don&#x27;t believe this is an accurate statement. While the problem being solved (parsing a microsoft-edge: protocol string) is quite simple, there are still noticeable differences in how EdgeDeflector, Brave, and Firefox have chosen to tackle this process.<p>EdgeDeflector (<a href="https:&#x2F;&#x2F;github.com&#x2F;da2x&#x2F;EdgeDeflector&#x2F;blob&#x2F;469a0c8523c6bb7fb09ce8d93db432a99f2c1db7&#x2F;EdgeDeflector&#x2F;Program.cs#L54" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;da2x&#x2F;EdgeDeflector&#x2F;blob&#x2F;469a0c8523c6bb7fb...</a>) checks to see not only that the string begins with &quot;microsoft-edge:&quot;, but also that it does not contain any space character (&quot; &quot;). The latter check *is not* conducted by Brave (<a href="https:&#x2F;&#x2F;github.com&#x2F;brave&#x2F;brave-core&#x2F;blob&#x2F;8a93d29c45800719c9e9a76b575a1e5034a47aaf&#x2F;browser&#x2F;microsoft_edge_protocol_util.cc" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;brave&#x2F;brave-core&#x2F;blob&#x2F;8a93d29c45800719c9e...</a>) or Firefox (<a href="https:&#x2F;&#x2F;phabricator.services.mozilla.com&#x2F;differential&#x2F;changeset&#x2F;?ref=4340483" rel="nofollow">https:&#x2F;&#x2F;phabricator.services.mozilla.com&#x2F;differential&#x2F;change...</a>). EdgeDeflector performs an initial case-insensitive check for the protocol, while Brave and Firefox do not (both expect lower-case characters). <i>There is a code path in EdgeDeflector where a case-sensitive check may also be conducted.</i><p>EdgeDeflector and Brave both remove the &quot;microsoft-edge:&quot; prefix from the input, but Brave performs and additional check at this point. If the resulting string is empty, Brave stops attempting to extract a workable URL.<p>EdgeDeflector performs no such <i>empty-string</i> test, instead proceeding to check whether the resulting string starts with &quot;<a href="https:&#x2F;&#x2F;" rel="nofollow">https:&#x2F;&#x2F;</a>&quot; or &quot;<a href="http:&#x2F;&#x2F;" rel="nofollow">http:&#x2F;&#x2F;</a>&quot; (a case-insensitive match). Firefox also proceeds to check whether the string starts with &quot;https:&quot; or &quot;http:&quot;, but in a case-sensitive manner. Brave, on the other hand, proceeds to check whether the resulting string <i>starts with</i> a ? character.<p>If the string doesn&#x27;t start with a ? character, Brave attempts to parse the string as a URL and initiate navigation. If the string begins with a ? character, Brave removes that character and proceeds to split the string into chunks on occurrences of the &amp; character.<p>With the string split into chunks, Brave cycles over each piece looking for one that starts with &quot;url=&quot;. If a match is found, Brave attempts to parse everything after the = character as a URL. If it succeeds, that URL is visited.<p>Firefox and EdgeDeflector do take a similar approach in these later steps. While EdgeDeflector utilizes .NET&#x27;s `HttpUtility.ParseQueryString` to parse and extract the URL value, Firefox passes the string to the URLSearchParams constructor, and retrieves the &quot;url&quot; parameter from the resulting object. Brave is the odd-man out on this step, opting instead to split the string, and cycle through to the nearest matching chunk.<p>While there are similarities here and there (given the simplicity of the task itself), there are stark differences as well. One thing is certain, however, Brave and Firefox both explicitly refer to EdgeDeflector as leading this effort to restore liberty to users impacted by Microsoft&#x27;s heavy-handed approach to shoehorning users back into Microsoft Edge.