为什么我从 10.15.7 升级到 12.6.2,但是浏览器的 UA 还是显示 10.15.7 呢?

2023-03-02 10:50:19 +08:00
 wps353
1103 次点击
所在节点    macOS
4 条回复
mons
2023-03-02 11:10:16 +08:00
> Mozilla's Firefox team and Apple's Safari team have encountered a long tail of broken web content when the user agent string reports "Mac OS X 11_0_0" - basically, any macOS major version greater than 10. Per http://crbug.com/1175225 , both browsers have capped the reported macOS version to 10_15_7 to both work around this, and also slightly increase user privacy.

https://chromestatus.com/feature/5452592194781184
wclebb
2023-03-02 11:38:29 +08:00
有趣的冷知识;
跟 IE 一样,IE 判断高于 7 提示不兼容。
wps353
2023-03-02 11:39:01 +08:00
@mons 感谢解答。
也就是说官方为了提高用户隐私,故意这么弄的?
mons
2023-03-03 04:05:33 +08:00
@wps353 是说测试发现 UA string 改 11 后一堆网页无法正常加载。略微提升隐私是副产品

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/920409

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX