News for hackers. Stuff that matters.
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.

https://stackoverflow.com/a/38205984/2306536

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.