Re:Windows 11 will respect default browser for system apps i...
by eimrine on Wednesday August 30, 2023 @08:12AM
(#37320830)
Default browser has to be something as lite as possible, probably Pale Moon. Because random apps use to call the browser any time they want and if the default browser is browser I use, it eats a lot of time and laptop battery trying to start my hundreds-tab monster.
[ Parent
| on HN ]
Re:Windows 11 will respect default browser for system apps i...
by vuavu on Wednesday August 30, 2023 @08:40AM
(#37321119)
I don't think people would've complained so much about Edge if it wasn't the monster full of adware that it is today.
I actually used Edge for a few years when it came out and it was good, but each version they shoved something new in your face and I had to go back to Chrome.
Re:Windows 11 will respect default browser for system apps i...
by eur0pa on Wednesday August 30, 2023 @08:59AM
(#37321394)
Edge used to be a legitimately valid choice
Re:Windows 11 will respect default browser for system apps i...
by asmor on Wednesday August 30, 2023 @10:44AM
(#37322908)
Edge was great just after they switched to Chromium and lead the way on battery optimizations. And then every team started an everlasting "who can exhaust the patience of their users the fastest and get them to either give in to microsoft-everything or switch away from edge" contest.
Re:Windows 11 will respect default browser for system apps i...
by mrweasel on Wednesday August 30, 2023 @08:35AM
(#37321051)
That makes me wonder: What are the rules for something to be considered a browser? Does it need to provide certain functionality, or can I register anything as a browser and just have links open in an editor?
Re:Windows 11 will respect default browser for system apps i...
by Traubenfuchs on Wednesday August 30, 2023 @08:40AM
(#37321115)
Afaik to make a program selectable as default browser, one needs to register it as a protocol handler for http and https urls in the registry.
Re:Windows 11 will respect default browser for system apps i...
by aziaziazi on Wednesday August 30, 2023 @08:48AM
(#37321207)
Does that mean I can use a headless browser as default ?
Re:Windows 11 will respect default browser for system apps i...
by Traubenfuchs on Wednesday August 30, 2023 @08:51AM
(#37321260)
You can probably put any cmd-executable command as default, including headless browsers.
Re:Windows 11 will respect default browser for system apps i...
by numpad0 on Wednesday August 30, 2023 @08:56AM
(#37321348)
I tried exactly that. Turns out it can't be a .bat or .ps1 for understandable reasons, it has to be an executable. So, my "default browser" on this machine I'm on is now an .exe that prints $1. It works.
Re:Windows 11 will respect default browser for system apps i...
by kroltan on Wednesday August 30, 2023 @08:43AM
(#37321146)
In Windows, default applications are registered either by URL scheme (so ftp, http, https, gopher...) or file extension (.txt, .html, .pdf, .mp4...). As far as I know there is no special registration for "browsers" specifically, you just register your application as a handler for whatever protocols and file formats you want.
So if you want to make your random executable be "a browser", my guess is you should register it as a handler for http, https, and .html, at least.
Re:Windows 11 will respect default browser for system apps i...
by heftig on Wednesday August 30, 2023 @11:24AM
(#37323611)
To enforce the use of Edge, they're using URLs with the "microsoft-edge" scheme.
Some time ago Microsoft made it impossible to reassign this scheme to another app like EdgeDeflector.
PS: It was KB5007262 that "addresses an issue that might improperly redirect OS functionality when you invoke microsoft-edge: links."