How to avoid ie8 compatibility button?

后端 未结 6 1736
猫巷女王i
猫巷女王i 2020-12-02 09:44

In IE8, the Microsoft introduced a new mode called compatibility mode which would render the page like IE7.

You can see this button next to address bar in stackoverf

6条回答
  •  臣服心动
    2020-12-02 10:23

    As per this comprehensive MSDN article on Compatibility View, the following list describes different ways that enable Compatibility View:

    • You click the Compatibility View button in the Address bar when viewing a webpage. When displayed, this button appears to the left of the Refresh button and contains an image of a broken piece of paper. This enables Compatibility View for all documents in the domain of the website being viewed.
    • The "Display all websites in Compatibility Mode setting" in the Compatibility View Settings is enabled.
    • The "Automatically recover from page layout errors with Compatibility View" setting is enabled and a webpage stops responding or crashes the browser. When this happens, Internet Explorer opens the page in Compatibility View after recovering from the problem.
    • Group policies that identify sites to be opened in Compatibility View are enabled by the administrator of your computer.
    • You have used the F12 developer tools to change the browser mode to identify Internet Explorer as an earlier version of the browser.
    • The Compatibility View List is enabled, which defines a list of websites that are automatically displayed in Compatibility View.

    To avoid/disable/override Compatibility View, you'll have to do the reverse of the actions suggested above.

    The Compatibility View list is an XML file maintained by Microsoft.

    To remove your site from the Compatibility View List (or to dispute the removal of your site from the list), have the overall site owner verify that the domain site appears in the Compatibility View List. If it does, send an e-mail to iepo@microsoft.com that contains the following information:

    Owner name Corporate title Company name Street address Email address Telephone number Website address

    Microsoft will review the provided information and remove your site from the Compatibility View List at the next scheduled update.

提交回复
热议问题