Windows XP Windows 7 Windows 2003 Windows Vista Windows 綜合教學 Linux 系統教學
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟體教學
您现在的位置: Windows教程網 >> Windows教程 >  >> 電腦軟體教學 >> 電腦軟體介紹

修改 IE11 User Agent 字串提升網站相容性(解決誤判為 Firefox)

編輯:電腦軟體介紹

IE11 新的 User Agent 字串含 Gecko 關鍵字,導致許多舊版網銀、企業內部系統誤判為 Firefox 而拒絕存取。透過群組原則自訂 User Agent 可恢復相容性。

設定步驟

  1. Win+R 輸入 gpedit.msc 開啟本機群組原則編輯器。
    gpedit.msc 介面
  2. 依序展開:電腦設定 > 系統管理範本 > Windows 元件 > Internet Explorer。
  3. 右側雙擊 自訂使用者代理程式字串,選 已啟用。
    自訂 User Agent 原則
  4. 在輸入框填入欲偽裝的版本字串,例如:
    MSIE 11.0(維持 IE11 身分但移除 Gecko)
    或 MSIE 10.0、MSIE 9.0、MSIE 8.0 等舊版本。
    輸入 User Agent 字串
  5. 確定,關閉群組原則編輯器,重新開啟 IE11 即生效。

此設定為機器層級,影響所有使用者。若需使用者層級設定,諈在「使用者設定」對應路徑操作。

Copyright © Windows教程網 All Rights Reserved