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

1

8

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?

Belabor answered 31/1, 2012 at 13:38 Comment(1)
Possible duplicate of: [Trying to use IE=edge X-UA-Compatible in an iframe on a page using IE=EmulateIE7][1] [1]: #12642011Nolte
G
5

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

Grissel answered 8/4, 2013 at 12:53 Comment(1)
I can confirm this answer is correct. I've tried headers in the iframe, a meta tag and both, but nothing helped.Polyneuritis

© 2022 - 2024 — McMap. All rights reserved.