Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

X-UA-Compatible in parent is IE=8, page in IFRAME is IE=edge,chrome=1

I have a add-on for a webapplication. The addon has the X-UA-Compatible set to "IE=edge,chrome=1" in order to get the JSON, DOMParser and XMLSerializer objects in javascript.

Add-on is running in a IFRAME. The problem seemes to be that the top windows with the IFRAME is using IE=8 as X-UA-Compatible and that setting seems to override the setting in the page for the addon.

Is there any way around this? Will the parent page control the X-UA-Compatible for the page in IFRAME?

like image 631
Per Ghosh Avatar asked Jan 31 '12 13:01

Per Ghosh


People also ask

What does meta http-equiv X UA compatible content IE edge do?

The X-UA-Compatible meta tag is a http-equiv meta tag. X-UA-Compatible Meta Tag Recommended Uses: Use the X-UA-Compatible meta tag on web pages where you suspect that Internet Explorer 8 will attempt to render the page in an incorrect view. Such as when you have an XHTML document with an XML declaration.

What is IE edge?

Organizations and users should use Internet Explorer mode (IE mode) in Microsoft Edge to access websites or apps that require Internet Explorer. Organizations can set up IE mode for their users following the steps on this page. Individuals who need to use IE mode on their PC can learn how to use IE mode here.

How do I test IE in edge?

Click the Settings and More (ellipsis) button on the top-right corner. Select the Settings option. Click on Default browser. Under the “Internet Explorer compatibility” section, turn on the “Allow sites to be reloaded in Internet Explorer mode” toggle switch to enable IE mode on Edge.


1 Answers

No there is not. The view mode will always be set according to the topmost frame/window.

like image 194
rocky Avatar answered Sep 30 '22 17:09

rocky