faisalman / ua-parser-js

UAParser.js - The Essential Web Development Tool for User-Agent Detection.
https://uaparser.dev/
GNU Affero General Public License v3.0
9.14k stars 1.19k forks source link

Why `Mobile Chrome` as a new browser name? #693

Open aradalvand opened 9 months ago

aradalvand commented 9 months ago

This is more of a question. The CHANGELOG mentions that v2 now distinguishes between Chrome Mobile and (regular? presumably desktop?) Chrome, and also Safari.

I wanted to ask why? If someone is looking specifically for Chrome Mobile, couldn't they just check both device.type and browser.name? This change doesn't make sense to me at first glance. It also creates problems like this one. What was the rationale behind it, if I may ask?

Thanks in advance.