if (window.__IE_DEVTOOLBAR_CONSOLE_COMMAND_LINE) {
// In IE 10 Standard UI
}
else {
// In IE 10 Metro UI
}
How to detect if metro UI of IE 10?
Reply
if (window.__IE_DEVTOOLBAR_CONSOLE_COMMAND_LINE) {
// In IE 10 Standard UI
}
else {
// In IE 10 Metro UI
}
在 metro IE 中,啟用 ActiveX 有兩種方法。
1. HTTP Header
X-UA-Compatible: requiresActiveX=true
2. META Tag
<meta http-equiv=”X-UA-Compatible” content=”requiresActiveX=true” />
來源:http://blogs.msdn.com/b/ie/archive/2012/01/31/web-sites-and-a-plug-in-free-web.aspx