1

Can we open the hyperlink in Internet Explorer instead of opening in the same browser (chrome in my case) by HTML, Javascript?

Reddy
  • 1
  • 5
  • 2
    No............. – evolutionxbox Mar 14 '17 at 13:20
  • 4
    It'd be interesting why you would want to do that. – AlexG Mar 14 '17 at 13:22
  • No - You cannot, because of security reasons. Why do you need to do that ? – Koby Douek Mar 14 '17 at 13:24
  • 1
    Well actually.... If the user has handlers set up for custom protocols, it could happen. For example mailto: is the most famous example. Spotify has a custom protocol handler to launch Spotify from the browser. Dropbox app also installs some hack on your browser. I'm sure you could use a href like ie:Google.com and it'll open in ie if the user set up the appropriate handler. – 000 Mar 14 '17 at 13:42
  • Possible duplicate of [Open Internet Explorer from Chrome using a protocol handler (ie:url)](http://stackoverflow.com/questions/40531374/open-internet-explorer-from-chrome-using-a-protocol-handler-ieurl) – 000 Mar 14 '17 at 13:50

2 Answers2

2

If the user has handlers set up for custom protocols, it could happen. For example mailto: is the most famous example. Spotify has a custom protocol handler to launch Spotify from the browser. Dropbox app also installs some hack on your browser. I'm sure you could use a href like ie:Google.com and it'll open in ie if the user set up the appropriate handler.

000
  • 26,951
  • 10
  • 71
  • 101
1

It's impossible because no one browser can't open something from your computer, it's forbidden.

Monty_Can
  • 147
  • 1
  • 13