JavaScript-How do I implement Microsoft Edge browser compatibility tips?

Source: Internet
Author: User
Tags microsoft edge

How to implement this kind of Web page hint under Microsoft Edge browser?
PS. is the Edge browser itself prompt, rather than the page implementation of the jump.

I tried it on the head.

Reply content:

How to implement this kind of Web page hint under Microsoft Edge browser?
PS. is the Edge browser itself prompt, rather than the page implementation of the jump.

I tried it on the head.

1.
The edge implements this hint, not according to any particular page content, but Microsoft maintains a compatibility list in the cloud, and the edge will download and update the list on a periodic basis. In the source code of the interface, said, there are a total of the following trigger conditions:

    // Returns the code for why we navigated to NeedIE:    // 0 = No transition/Error    // 1 = EMIE Site List    // 2 = Intranet Policy is set    // 3 = Cloud CV List    // 4 = Keep in Spartan

2.
You can use JS to achieve, detected edge browser to jump to a page you set up, and then the edge display of the content of this page to copy the past to change it OK. See, it is an ordinary HTML page, you through the console to the page code and CSS files out, you can do the same effect, even if your site is not on Microsoft's list can do the same effect, but I do not know if there is any copyright issues, if you are concerned about copyright issues, You can refer to it's ideas and customize one yourself. In fact, the magical place is a "open in Internet Explorer", in fact, this is the implementation of the drop:

    LaunchIE = function (automated)    {        window.external.LaunchIE(getFullUrl(), automated);    }

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.