简体   繁体   中英

Overcome/ignore compatibility view IE11 for particular page/site

I have a sharepoint site and loading an external website in a content page. I have enabled compatibility mode for my sharepoint site, and the external site will not work in IE lower versions. Since i have enabled compatibility view for the site, the external site not loading in iFrame of my content page.

Is it atleast possible to turn off or bypass the compatibility view setting for the particular page? Since i have enabled the compatibility view for the domain, the meta tags are ignored.

I tried to modify the user agent string in URL rewrite also.

Any advise?

I've never tested this with an iframe that has an external reference, but if you are talking about one of your site pages, Try to add the follwoing to your config file

<location path="Your_Page_Path">
    <system.webServer>
        <httpProtocol>
            <customHeaders>
                <add name="X-UA-Compatible" value="IE=Edge" />
            </customHeaders>
        </httpProtocol>
    </system.webServer>
</location>

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