Link to home
Start Free TrialLog in
Avatar of PeggieGreg
PeggieGreg

asked on

force specific links to open in specific browser

Hello,

we have an application which requires the default browser to be Google Chrome but we have links which are sent which need to be opened in IE because they are clickonce applications.

i can install extensions onto everyone google chrome to allow this to work but we are a large company and i don't fancy installing 3rd party extensions onto each PC as a solution when they could become redundant and stop working after a period of time.

regardless i am trying to get link 1 to go to IE and link 2 to go to Chrome regardless where on the system it is clicked, for example (desktop, within an email or on the application itself).

example a: https://website.live.com:5443/main/(ending will be different so this needs to be a wilcard) to go to Chrome
example b: https://website.live.com:5443/client/runtime/(ending will be different so this needs to be a wilcard) to go to IE

please advise how this can be achieved.
SOLUTION
Avatar of EugeneZ
EugeneZ
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of PeggieGreg
PeggieGreg

ASKER

@Eugene Z - thanks for the suggestion but i cannot see how i would achieve what i want to do? are you suggesting i put a script on every PC which runs the above shell.run commands? also does this work if the path is a wildcard?

the post says 'This is server side code , you should write in your C# code behind method for Click event of Link Button .'

i do not have experience in C# and do not have access to the server which is sending these links. i can only manage from client side or using GPO.
@ste5an - thanks for the answer, that is basically what i thought. i just cant believe it is not possible to define within windows where specific links go... i will see if any other suggestions can be made.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
@Eugene Z

thanks for the other examples. this would work if we was deploying a button or script etc but we are not so i dont think this would work?

let me provide an example or a scenario which i would encounter.

1 - ApplicationServer sends e-mail to user.
2 - email within says 'your holiday request has been accepted, for more details please click this link:  https://website.live.com:5443/
3 - user clicks that link and instead of opening in the default browser it looks at the address and points to alternative browser.
you can try to put this in a page  "load'  "event" without any need to "click"
Hi Eugene,

i am very sorry if i am not understanding but how would i do this. can you provide with an example please?
is there a way to force a hyperlink to open in specific browser? i could get the system to send out the hyperlink which points to correct browser.

for example i thought the following hyperlink would work as this works within a shortcut: “C:\program files\internet explorer\iexplore.exe” https://www.google.com

but when you create that as a hyperlink it doesnt know what the "****" bit means and tries to search it also.

anyway around this?
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial