问题原文
原帖链接 · Codemonkey · CC BY-SA 4.0
Is it Chrome, or Safari, and how should I be able to know?
I know a UA can be spoofed, but let's assume it isn't, as it's just from a typical user who would have no reason to - but I'm trying to debug an odd JS quirk and it'd be useful to know which browser they were using.
Thank you
已采纳解答
原帖链接 · Mike Ciffone · CC BY-SA 4.0
Below is the syntax for the User Agent header:
User-Agent: Mozilla/5.0 (<system-information>) <platform> (<platform-details>) <extensions>
In your case we have.
Mozilla/5.0 (Linux; Android 10; SM-A202F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.101 Mobile Safari/537.36
Still doesn't tell the full picture though, we need to know the browser engine (also known as a layout engine or rendering engine).
https://developers.whatismybrowser.com/useragents/explore/operating_platform/sm-a202f/
So in your case we have:
- Software: Chrome 91 (the software)
- Layout Engine: Blink
- Software Type: Web Browser
- Popularity: Average
Blink is the name of the rendering engine used by Chromium
The browser is Chrome or chromium.
You might find this answer useful.
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
