jenssegers / agent

👮 A PHP desktop/mobile user agent parser with support for Laravel, based on Mobiledetect
https://jenssegers.com
MIT License
4.53k stars 473 forks source link

Google to phase out user-agent strings in Chrome #165

Open kevincobain2000 opened 4 years ago

kevincobain2000 commented 4 years ago

Hi, With regards to the recent announcement by Google. https://www.zdnet.com/article/google-to-phase-out-user-agent-strings-in-chrome/

Google to phase out user-agent strings in Chrome Chrome will move to a new technology called Client Hints, part of the newer Privacy Sandbox project.

Current

User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64)
            AppleWebKit/537.36 (KHTML, like Gecko)
            Chrome/79.0.3945.117 Safari/537.36

NEW

Sec-CH-UA: "Chrome 79.0.3945.117"
Sec-CH-Platform: "Windows 10"
Sec-CH-Arch: "AMD64"
Sec-CH-Mobile: 0

I wonder if it will be added to the Roadmap of this project for future updates.

jenssegers commented 4 years ago

Interesting. Wondering how MobileDetect will react to this.

kevincobain2000 commented 4 years ago

Let me add a reference to this issue over there, together with on the non PHP world detectors, if that's ok?