Search code examples
javascripthtmlinternet-explorerlaunchmicrosoft-edge

How can I launch Internet Explorer with a web address from another browser?


Let's say a user browses to www.mysite.com in MS Edge. Rather than continue in Edge I want the page to detect Edge is being used and auto start Internet Explorer with the same URL used in Edge?

Is this possible?


Solution

  • If MS Edge does not detect your use of Java and automatically asks the user to use Internet Explorer, the only way to create the expected behaviour is to either

    • have your site added to the global compatiblity list managed by Microsoft (for public sites)
    • or create an enterprise site list for your company / intranet pages which determines which pages to open in IE instead of Edge.

    Once the site is added to one of the lists the users will see a dialogue offering to open the site in Internet Explorer.

    You you can find the official documentation here https://msdn.microsoft.com/en-us/library/gg622935%28v=vs.85%29.aspx

    Charles provided some details here: https://stackoverflow.com/a/31283160/5138360