Click here to Skip to main content
14,930,017 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
hello guys,
i have one problem please any one help me

i created one web application, there is i gave one link button like
" click here to go to safari browser" for view prupose.

is there any chance to go one web browser to another web browser if i open in one broser?

is there any javascript or jquery ?

please help me its very urgent for my client.

thank to all in adavance
please
your
gnani P
Posted
Updated 11-May-21 12:11pm

try this :
JavaScript
function openURL()
  {
      var shell = new ActiveXObject("WScript.Shell");
      shell.run("Safari http://www.google.com");
  }


Source : http://forums.asp.net/t/1652038.aspx?How+can+we+force+a+link+to+open+a+URL+in+a+different+browser[^]
   
v4
Comments
gnani_pal 25-May-15 8:58am
   
its not working sir
Raje_ 25-May-15 9:01am
   
Can you please verify this in IE?
gnani_pal 25-May-15 23:52pm
   
no sir, its not working. if i click on this button it is not going to chrome browser. i changed names also but its not working
gnani_pal 27-May-15 7:12am
   
ya tried but its not working
function openURL(https://www.codeproject.com/script/Membership/View.aspx?mid=10464211)
{
var shell = new ActiveXObject("WScript.Shell");
shell.run("Safari http://www.google.com");
}

http://forums.asp.net/t/1652038.aspx?How+can+we+force+a+link+to+open+a+URL+in+a+different+browser
   
Comments
Dave Kreskowiak 11-May-21 19:41pm
   
Considering "new ActiveXObject" isn't a thing any more, this STILL isn't an answer.

Copying and pasting someones answer as your own will just get you banned.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900