Following an
exchange about Chrome's incognito parameter. Parameters in Link favorites are currently ignored when QAP launches the URL.
Solution to be implemented:
- if link has parameter, transform (internally) the favorite to the type "Application" and set the path to the default browser found in Windows registry:
1st:
HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\Shell\Associations\URLAssociations\http\UserChoice\Progid (for HTTP protocol)
or
HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\Shell\Associations\URLAssociations\https\UserChoice\Progid (for HTTPS)
returns a "ProgIdVariable" (for example "ChromeHTML", "FirefoxURL", "MSEdgeHTM")
2nd:
HKEY_CLASSES_ROOT\%ProgIdVariable%\Shell\open\command
returns the path to the default browser
for example:
Chrome: "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" -- "%1"
Edge: "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" -- "%1"
Firefox: "C:\Program Files (x86)\Mozilla Firefox\firefox.exe" -osint -url "%1"
In the path, replace %1 with the URL and add the parameter.
Info:
https://stackoverflow.com/questions/3235...windows-10