tags:

views:

100

answers:

3

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.

+3  A: 

You cannot do that.

Amarghosh
+3  A: 

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.

Saar
Correct. You need to have additional software installed on the client side (a plug-in or activex) to enable the client browser to launch the browser of your choice.
Vulcan Eager
But the additional software could be Java, for example and the logic could be implemented in a signed Applet.
Joachim Sauer
+2  A: 

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

rahul