Android Firefox 用户代理字符串是什么?

What is the Android Firefox user agent string?

什么是 Android Firefox 用户代理字符串?

喜欢:

iPhone:

Mozilla/5.0 (iPhone; CPU iPhone OS 6_0 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10A5376e Safari/8536.25

iPad:

Mozilla/5.0 (iPad; CPU OS 6_0 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10A5376e Safari/8536.25
Mozilla/5.0 (Android 4.4; Mobile; rv:41.0) Gecko/41.0 Firefox/41.0
Mozilla/5.0 (Android 11; Mobile; rv:86.0) Gecko/86.0 Firefox/86.0

UA 字符串的 platform 部分表示 Firefox 是否在 phone 尺寸或平板设备上 运行。当 Firefox 在具有 phone 外形规格的设备上运行时,在 UA 的 platform 部分中有一个 Mobile; 标记字符串。

当 Firefox 在平板设备上运行时,UA 字符串的平台部分中有一个 Tablet; 标记。例如:

Mozilla/5.0 (Android 4.4; Mobile; rv:41.0) Gecko/41.0 Firefox/41.0
Mozilla/5.0 (Android 4.4; Tablet; rv:41.0) Gecko/41.0 Firefox/41.0

The version numbers are not relevant. Avoid inferring materials based on these.

https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/User-Agent/Firefox#Mobile_and_Tablet_indicators