开发者

How to test if X-UA-Compatible is served?

How can I test if <meta http-equiv="X-UA-Compatible" content="IE=edge,chr开发者_运维技巧ome=1"> does work? Especially if I let Apache handle it via htaccess.

Is there something in the IE developer tools?


Check it in IE8. If it is not set, Tools > Compatibility View will be usable. If it is set, the option will be grayed out and not usable.


check the "page default" of document mode, from IE developer tool bar.


Do you see the "broken" document icon between search and reload icons in the image? This is the Compatibility View button. If the edge value set using the meta tag or htaccess header worked, the Compatibility View button is not shown.

How to test if X-UA-Compatible is served?

Image courtesy of Frank Code blog; you may also have a read at the post, if you want. It's worth it.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜