rejetto forum
May 26, 2012, 12:43:36 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: This forum is free, you do NOT need to register to post. But you may.
PROBLEMS? QUESTIONS? CLICK HERE!
Fill the survey!
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: HFS uses wrong browser  (Read 724 times)
0 Members and 1 Guest are viewing this topic.
paul1149
Regular poster
**
Offline Offline

Posts: 15


View Profile
« on: June 02, 2011, 06: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.
Logged
Mars
Operator
Insane poster
*****
Offline Offline

France France

Posts: 1481



View Profile WWW
« Reply #1 on: June 02, 2011, 07:37:35 PM »

hfs use the default browser to open his web page, you have to redefine it on your Operating Sytem
Logged
paul1149
Regular poster
**
Offline Offline

Posts: 15


View Profile
« Reply #2 on: June 02, 2011, 07:47:12 PM »

That's just the problem. Opera is the system default for http and https.
Logged
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11831


View Profile
« Reply #3 on: June 06, 2011, 08:48:46 AM »

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.
Logged
paul1149
Regular poster
**
Offline Offline

Posts: 15


View Profile
« Reply #4 on: June 06, 2011, 10:32:56 AM »

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

Follow members gave a thank to your post:

rejetto

For this post, 1 member gave a thank you!
Logged
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11831


View Profile
« Reply #5 on: June 10, 2011, 05:32:01 AM »

thank you very much, i will apply this solution in next release
Logged
rejetto forum
« Reply #5 on: June 10, 2011, 05:32:01 AM »

Do you like this software? Consider even $2
 Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!


Google visited last this page May 21, 2012, 06:17:35 AM