[英]How does one correctly identify IE10 Metro and IE10 Desktop from the server in order to send back a “finger friendly” or “mouse friendly” interface?
[英]Forcing IE10 in UI/Metro to switch to desktop mode
有没有一种方法,使用HTML代码,网站可以在UI / Metro模式下检测到使用IE10的用户,并提供一个按钮或在桌面模式下强制打开IE10?
您可以在页面顶部添加meta元素,以告诉IE添加对话框栏,提示用户切换到IE10的桌面版本:
<meta http-equiv="X-UA-Compatible" content="requiresActiveX=true" />
您还可以使用HTTP标头将Web服务器配置为执行相同操作:
X-UA-Compatible: requiresActiveX=true
有关详细信息,请参见http://blogs.msdn.com/b/ie/archive/2012/01/31/web-sites-and-a-plug-in-free-web.aspx 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.