Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to open link in other browser?

Tags:

html

hyperlink

How to open link in other browser? For example:

<a href="sample.html" >click to open in firefox</a>
<a href="sample.html" >click to open in Safari</a>
<a href="sample.html" >click to open in IE</a>
<a href="sample.html" >click to open in Chrome</a>

Is it possible?

Any ideas or suggestion?

Thanks.

like image 532
Trez Avatar asked Mar 10 '10 09:03

Trez


People also ask

How do I set Chrome to open links in different browsers?

Short answer you can't specify that a specific browser will be opened by a hyperlink. If you are viewing a web page or an app or something that shows a hyperlink and you click on that link then the operating system will receive an event that indicates a hyperlink was launched.


3 Answers

cool question. With simple html, I do not think it's possible.

If you are looking to test application, you could write OS specific utility.

like image 200
Saar Avatar answered Nov 15 '22 19:11

Saar


You cannot do that.

like image 34
Amarghosh Avatar answered Nov 15 '22 19:11

Amarghosh


Its strictly a user preference to open web pages in a browser of his choice. You won't be able to control that and better never try to do that.

If you are doing this test your web site in different browsers then take a look at browsershots.org

like image 24
rahul Avatar answered Nov 15 '22 19:11

rahul