rejetto forum

HFS uses wrong browser

0 Members and 1 Guest are viewing this topic.

Offline paul1149

  • Occasional poster
  • *
    • Posts: 15
    • View Profile
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.


Offline Mars

  • Operator
  • Tireless poster
  • *****
    • Posts: 2063
    • View Profile
hfs use the default browser to open his web page, you have to redefine it on your Operating Sytem


Offline paul1149

  • Occasional poster
  • *
    • Posts: 15
    • View Profile
That's just the problem. Opera is the system default for http and https.


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13523
    • View Profile
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.


Offline paul1149

  • Occasional poster
  • *
    • Posts: 15
    • View Profile
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


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13523
    • View Profile
thank you very much, i will apply this solution in next release


Offline h13.Bishop

  • Occasional poster
  • *
    • Posts: 3
    • View Profile
Is this option still working?
Maybe they made some changes in Win8. I have Chrome default browser, but HFS uses IE instead.


Offline MarkV

  • Tireless poster
  • ****
    • Posts: 764
    • View Profile
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.
http://worldipv6launch.org - The world is different now.


Offline h13.Bishop

  • Occasional poster
  • *
    • Posts: 3
    • View Profile
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. =)