RG Servers
RG Servers

Reputation: 1784

Force open EDGE over Internet Explorer?

If you try to open stackoverflow website using Internet Explorer, somehow it closes the tab and opens microsoft edge + browse to stackoverflow website?!

How does stackoverflow accomplish this?

Upvotes: 0

Views: 1138

Answers (1)

Austin Caron
Austin Caron

Reputation: 88

<a href="microsoft-edge:https://www.stackoverflow.com">StackOverflow</a>

This should open a tab in Edge, but I'm unsure if it'll prioritize Edge over IE.

From what I remember as well, there should be a way to check in JavaScript if the user is using a Windows-related device, and you can then add the 'microsoft-edge:' portion to the href.

Upvotes: 1

Related Questions