简体   繁体   中英

Force open EDGE over Internet Explorer?

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

How does stackoverflow accomplish this?

<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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM