wps353
4.4D
V2EX  ›  macOS

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

  •  
  •   wps353 · Mar 2, 2023 · 1721 views
    This topic created in 1195 days ago, the information mentioned may be changed or developed.
    4 replies    2023-03-03 04:05:33 +08:00
    mons
        1
    mons  
       Mar 2, 2023
    > 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
        2
    wclebb  
       Mar 2, 2023
    有趣的冷知识;
    跟 IE 一样,IE 判断高于 7 提示不兼容。
    wps353
        3
    wps353  
    OP
       Mar 2, 2023
    @mons 感谢解答。
    也就是说官方为了提高用户隐私,故意这么弄的?
    mons
        4
    mons  
       Mar 3, 2023
    @wps353 是说测试发现 UA string 改 11 后一堆网页无法正常加载。略微提升隐私是副产品
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5446 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 43ms · UTC 01:15 · PVG 09:15 · LAX 18:15 · JFK 21:15
    ♥ Do have faith in what you're doing.