I am working on a WebKit based browser, but things don’t render properly on a IE – only site. Does anyone know of a stylesheet I can inject into these pages to make WebKit render like IE6? Kind of like an anti ie7-js.
I know the proper solution is to make the site standards compliant, but it’s not under my control.
Thanks
A good start would be to implement IE’s Quirks Mode if no
!DOCTYPEis specified. Aside from that you can also support theX-UA-Compatibleheader to see if the site is designed for a particular version of IE.Aside from that, there isn’t much you can do. It’s up to the website owners to decide “hey, we actually want users to be able to use our site” and actually make it standards-compliant.