I have an iframe in a page that runs in quirks mode (I don\'t have control over the containing page), and I need my page to render in a mode that is compatible with modern b
I ended up using an object tag instead of an iframe, it seems to work ok across modern browsers.
It turns out you can't modify the URL using javascript in IE9, but that's not a big deal - removing/adding a new object element works just as well for this.
Update: This tag can also be in an intermediate page that the iframe points to and it all works fine Update 2: This solution does not work in IE10