Improve detection of installed browsers for "Preview in"

Let us know what you would like to see in the next version of this software

Moderator: kfury77

Forum rules
Please follow these guidelines when posting feature requests. This will help to increase the value of your contribution.
  • Do not create new topics for already requested features. Add your comments to the existing feature request topics instead;
  • Create separate topic for each feature suggestion. Do NOT post a number of non-related feature suggestions in a single topic;
  • Give your topic a meaningful title. Do NOT create topics with meaningless titles, such as "My Suggestion" or "My Problem".
Please note that we DO READ all suggestions, even if a reply is not posted. Thanks!
Post Reply
User avatar
pmk65
Posts: 678
Joined: Sun Dec 20, 2009 9:58 pm
Location: Copenhagen, Denmark

Improve detection of installed browsers for "Preview in"

Post by pmk65 »

According to Microsoft, installed browsers must register under one of the following keys:

HKEY_CURRENT_USER\SOFTWARE\Clients\StartMenuInternet\
HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\
HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Clients\StartMenuInternet\


Here you can find the "Browser name" under "Capabilities\ApplicationName", the "Default icon" under "DefaultIcon" and the "Path to executable" under "shell\open\command"

The only browser that doesn't follow the guidelines is Internet Explorer, which is missing the "Capabilities" key :D :roll:
There are 10 types of people in the world: Those who understand binary and those who don't.
User avatar
Aivars
Blumentals Software Developer
Posts: 2462
Joined: Thu Aug 22, 2002 1:40 pm
Location: Latvia

Re: Improve detection of installed browsers for "Preview in"

Post by Aivars »

Great suggestion, thank you! I'll write this down.
Blumentals Software Programmer
User avatar
pmk65
Posts: 678
Joined: Sun Dec 20, 2009 9:58 pm
Location: Copenhagen, Denmark

Re: Improve detection of installed browsers for "Preview in"

Post by pmk65 »

*bump*

WeBuilder 2018 Beta 6, Shows "Opera" as an available browser in "Preview in". But the path points to the chrome executable.
I don't have Opera installed and there's no way to remove it from the list as it's hardcoded.
There are 10 types of people in the world: Those who understand binary and those who don't.
User avatar
Aivars
Blumentals Software Developer
Posts: 2462
Joined: Thu Aug 22, 2002 1:40 pm
Location: Latvia

Re: Improve detection of installed browsers for "Preview in"

Post by Aivars »

New WeBuilder 2018 will use this method to detect any *additional* browsers besides the basic ones. As for why your Opera points to Chrome, I don't know, if we can reproduce it we'll try to fix it.
Blumentals Software Programmer
User avatar
pmk65
Posts: 678
Joined: Sun Dec 20, 2009 9:58 pm
Location: Copenhagen, Denmark

Re: Improve detection of installed browsers for "Preview in"

Post by pmk65 »

I still have Opera in my list of available browsers in WeBuilder 2018 Final, but Opera is NOT installed on my system.
And I still can't remove it, as it's hardcoded. (Clicking Reset or Auto Detect doesn't help, I can't get rid of Opera)
Why are you adding extra browsers to the list if it now uses the registry entries to get the browser info?

Image
There are 10 types of people in the world: Those who understand binary and those who don't.
User avatar
Aivars
Blumentals Software Developer
Posts: 2462
Joined: Thu Aug 22, 2002 1:40 pm
Location: Latvia

Re: Improve detection of installed browsers for "Preview in"

Post by Aivars »

Right click on toolbars, select Customize and then remove Opera like this:
getridofopera.png
getridofopera.png (29.3 KiB) Viewed 12133 times
The reason why we still have the 4 standard browsers is to have reliably predictable browser names and icons for the menu actions.
Blumentals Software Programmer
User avatar
pmk65
Posts: 678
Joined: Sun Dec 20, 2009 9:58 pm
Location: Copenhagen, Denmark

Re: Improve detection of installed browsers for "Preview in"

Post by pmk65 »

Aivars wrote:Right click on toolbars, select Customize and then remove Opera like this
LOL. Why didn't I think of that. I went into the Edit browser mode, and couldn't find any Remove button there.. :D
There are 10 types of people in the world: Those who understand binary and those who don't.
User avatar
pmk65
Posts: 678
Joined: Sun Dec 20, 2009 9:58 pm
Location: Copenhagen, Denmark

Re: Improve detection of installed browsers for "Preview in"

Post by pmk65 »

The Browser Auto detect still doesn't work properly.

I don't have Opera installed on my system, yet it keeps showing Opera as one of the available browsers. (But with different links, depending on which button I press.)

Before auto detect:
Image

After Auto detect:
Image

After reset:
Image

And it doesn't detect the 2 other browsers (Avast Secure Browser & Pale Moon) currently installed on my system, even if both is listed/defined in the registry under "HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet"
There are 10 types of people in the world: Those who understand binary and those who don't.
User avatar
Aivars
Blumentals Software Developer
Posts: 2462
Joined: Thu Aug 22, 2002 1:40 pm
Location: Latvia

Re: Improve detection of installed browsers for "Preview in"

Post by Aivars »

You will always have those 4 entries even if the browser does not exist (then it's reset to the default opera.exe). I'm not sure why Chrome gets detected as Opera, maybe Chrome is registered as Opera in your registry?
I'll check why Pale Moon does not get detected.
Blumentals Software Programmer
User avatar
Will Fastie
Posts: 160
Joined: Mon Jan 31, 2005 6:47 pm
Location: Timonium, MD USA
Contact:

Re: Improve detection of installed browsers for "Preview in"

Post by Will Fastie »

If Auto-Detect was working, it should find the following on my system:
  • Edge
  • Internet Explorer
  • FireFox
  • FireFox Developer
  • Chrome
  • Vivladi
It doesn't.
Will
WebDesignBuild.biz, Fastie.com
BonnieRoberts
Posts: 1
Joined: Fri Mar 15, 2019 10:33 am
Contact:

Re: Improve detection of installed browsers for "Preview in"

Post by BonnieRoberts »

chrome as an accessible program in Preview in. In any case, the way indicates the Opera executable. I don't have Opera introduced and there's no real way to expel it from the rundown as it's hardcoded.
Post Reply