强制“Internet Explorer 8”浏览器模式在Intranet [英] Force "Internet Explorer 8" browser mode in intranet

查看:172
本文介绍了强制“Internet Explorer 8”浏览器模式在Intranet的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在IE8中有Internet Explorer 8,Internet Explorer 8兼容模式和IE7模式。

然而,IE中的默认设置使所有的内联网网站使用IE8兼容模式,即使我已经设置了doctype,meta标记,http标题,因为建议强制它进入IE8模式。



我有


<!DOCTYPE HTML PUBLIC - // W3C // DTD HTML 4.01 Transitional // EN http://www.w3.org/TR/html4/loose.dtd >





< meta http-equiv =X-UA兼容content =IE = 8>


但它仍然进入IE8兼容模式,IE设置没有任何变化。



如何在不改变任何浏览器设置的情况下将其强制为纯IE8模式?



我不是在说这里的文档模式。

解决方案

似乎MSFT并没有考虑我们有很多不同的大型Intranet环境web应用程序正在运行。



根据我在MSDN论坛上阅读的地方,没有办法绕过IE8设置。


$ b $因此,我必须请求系统管理员设置一些新的组策略来更改兼容性视图设置和值,并阻止用户更改该值,直到MSFT发现此错误并修复它为止。



浏览器模式在IE请求网页内容之前选择 。这意味着网站无法选择浏览器模式

There are "Internet Explorer 8", "Internet Explorer 8 Compatibility Mode", and IE7 mode in IE8.

However, the default setting in IE make all intranet website use "IE8 Compatibility Mode" even I have setted doctype, the meta tag, http header as suggested to force it into IE8 mode.

I have

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

and

<meta http-equiv="X-UA-Compatible" content="IE=8" >

But it still goes into "IE8 Compatibility Mode", without any changes in IE setting.

How to force it into pure "IE8" mode, without change any browser's setting?

PS. I am not talking "document mode" here.

解决方案

Seem that MSFT has not consider a large intranet environment that we have many different web application running inside.

There is no way to bypass the IE8 setting, according to somewhere I read on MSDN forum.

So, I will have to beg my system administrators to put some new group policies to change "Compatibility View" setting and the value and prevent user change the value, until MSFT discover this bug and fix it.

From an MSDN blog post (emphasis theirs): "Browser Mode is chosen before IE requests web content. This means that sites cannot choose a Browser Mode."

这篇关于强制“Internet Explorer 8”浏览器模式在Intranet的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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