歡迎您光臨本站 註冊首頁

Firefox 的 UA 將移除 CPU 架構信息

←手機掃碼閱讀     admin @ 2019-06-24 , reply:0

Mozilla 計劃從 Firefox 的 User Agent(用戶代理)和幾個支持的 API 中移除 CPU 架構信息,以減少 Firefox 用戶的「數字指紋」。

Web 瀏覽器會自動向用戶在應用程序中打開的網站顯示信息,而用戶代理會顯示有關瀏覽器和瀏覽器版本、操作系統以及 CPU 架構等數據。

指紋識別腳本使用用戶代理信息和其他信息(例如語言和位置)來創建數字指紋,指紋的準確性會隨著唯一數據點的數量而增加。

不過以注重用戶隱私而著稱的 Firefox 表示,在 Firefox Nightly 69 版本中將不再顯示來自 User Agent 的 CPU 架構信息。

Mozilla 計劃使用如下的方式來區分 CPU 架構:

  1. 32-bit Firefox on 32-bit operating systems.
  2. 32-bit Firefox on 64-bit operating systems.
  3. 64-bit Firefox on 64-bit operating systems.

使用 Firefox 69 的 Firefox 用戶會注意到返回用戶代理的腳本將不再區分信息,在谷歌搜索「check user agent」的結果如下截圖所示:

Mozilla / 5.0(Windows NT 10.0; Win64; x64; rv:69.0)Gecko / 20100101 Firefox / 69.0

此更改會影響在 64 位版本的 Windows 或 Linux 操作系統上運行的 32 位 Firefox 安裝。從 Firefox 69 開始,這些版本將使用以下用戶代理:

  • Linux: Linux x86_64 instead Linux i686 on x86_64
  • Windows: Win64 instead of WOW64

上述這些變更適用於 User Agent, APIs navigator.userAgent, navigator.platform 和 navigator.oscpu。

按照 Mozilla 的計劃,他們會完全從 Firefox 用戶代理和相關 API 中刪除 CPU 架構信息,但在此過程中會進行大量測試,以避免引起兼容性問題。


[admin ]

來源:OsChina
連結:https://www.oschina.net/news/107684/mozilla-omits-cpu-architecture-information
Firefox 的 UA 將移除 CPU 架構信息已經有287次圍觀

http://coctec.com/news/soft/show-post-208014.html