简体   繁体   中英

Forcing IE10 in UI/Metro to switch to desktop mode

有没有一种方法,使用HTML代码,网站可以在UI / Metro模式下检测到使用IE10的用户,并提供一个按钮或在桌面模式下强制打开IE10?

You can add a meta element to the head of your page to tell IE to add a dialog bar, prompting the user to switch to the desktop version of IE10:

<meta http-equiv="X-UA-Compatible" content="requiresActiveX=true" />

You can also configure your web server to do the same using a HTTP header:

X-UA-Compatible: requiresActiveX=true

See http://blogs.msdn.com/b/ie/archive/2012/01/31/web-sites-and-a-plug-in-free-web.aspx for details.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM