是否可以在不使用IE开发人员工具的情况下更改浏览器模式? [英] Is it possible to change browser mode without using the IE developer tools?

查看:79
本文介绍了是否可以在不使用IE开发人员工具的情况下更改浏览器模式?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们的应用程序在IE7和IE8中运行良好。我们使用 X-UA-Compatible 标头强制浏览器使用IE7标准文档模式。这是关于在获取图片后将使用哪个渲染引擎。
但是在IE9中,有一堆东西停止了工作。在IE9中,文档模式为IE7标准,但浏览器模式仍为IE9。
当我(使用开发人员工具)将浏览器模式手动更改为IE7时,一切都很好。

Our application runs fine in IE7 and IE8. We use the X-UA-Compatible header to force the browser to use IE7 standards document mode. This is about which rendering engine will be used afai get the picture. In IE9 however there are a bunch of things which stopped working. In IE9 the document mode is IE7 standards, but the browser mode remains IE9. When I manually change the browser mode (using the developer tools) to IE7, all is fine again.

是否可以通过编程方式强制使用浏览器模式?

Is there a way to programmatically force BROWSER MODE?

推荐答案

看来这是不可能的。

这篇关于是否可以在不使用IE开发人员工具的情况下更改浏览器模式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆