![](/img/trans.png)
[英]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.