rejetto forum
Software => HFS ~ HTTP File Server => Topic started by: paul1149 on June 02, 2011, 11:11:37 PM
-
Hi,
For some reason, when I click Open in browser, or even when I click on this forum link under Web pages, HFS opens my old default browser, Chrome, rather than the current, Opera.
The main URL is https. But the system opens https shortcuts in Opera.
I'm on Win7 x64, using the secure mashup of HFS, which I got from this forum.
Thanks,
p.
-
hfs use the default browser to open his web page, you have to redefine it on your Operating Sytem
-
That's just the problem. Opera is the system default for http and https.
-
what HFS does to determine the browser to launch is to read this registry key
CLASSES_ROOT\http\shell\open\command
i'm not sure this is the best method.
If you have a better one, feel free to suggest.
-
Hi rejetto,
I think I've found the answer. It lies in the change MS made to the Default Program scheme from Vista on. Now the defaults are located in HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\Associations\UrlAssociations\http|https, and use Progid's to drive the command (mine says "Opera Protocol". So while my HKCR says Chrome, Windows never checks it. I suppose that is why Opera doesn't bother to change it, but that makes for confusion.
Here's an informative article on the problem:
http://newoldthing.wordpress.com/2007/03/23/how-does-your-browsers-know-that-its-not-the-default-browser/#comment-10553
-
thank you very much, i will apply this solution in next release
-
Is this option still working?
Maybe they made some changes in Win8. I have Chrome default browser, but HFS uses IE instead.
-
The user location hasn't changed much. There's just a new Hash entry we probably need to consider.
At the other location, in the shell\open\command subkey, there is a new DelegateExecute entry pointing to a CLSID. That CLSID leads to "C:\Program Files\Internet Explorer\ieproxy.dll". Could be the source of the problem here.
Additionally I noticed that Firefox 16 was the first Fx version that registered correctly as default. Directly after installation it asked me to set it to default, then Win8 chimed in and presented its own dialog to select.
Long story short: There were some changes (maybe because of that new immersive crap) the community needs to look into. But latest browser versions should register itselves correctly now.
-
There is a lot of issues on Windows 8 with HFS. Default browser, shell integration problems and some other. I'm not using Win 8 anymore and don't recommend you. HFS on Windows 7 works good. =)