27 ms·
I found that my iPad PRO lies about its user agent and will pretend to be MacOS by default. They don't even provide you with a hint to detect that it's a lie.
by burtonator 6y ago
I found that my iPad PRO lies about its user agent and will pretend to be MacOS by default. They don't even provide you with a hint to detect that it's a lie.
- snazz 6y agoYes, user agents are a mess (see this comment for non-Apple examples: https://news.ycombinator.com/item?id=23910637 https://news.ycombinator.com/item?id=23910637). They're not a good way to detect features as a web developer.
- saagarjha 6y agoYes, because Google Docs would throw a fit if it didn't.
- neilalexander 6y agoIn fairness, the user agent string isn't, and wasn't ever, intended to be a user-facing feature. It shouldn't matter to you what the user agent string reports.