3

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

2
  • 1
    SM-A202F is a Samsung smartphone product number: samsung.com/levant/support/model/SM-A202FZBDSEE ; if not spoofed you then know what model was in the hand of your visitor. Commented Aug 9, 2021 at 23:38
  • That bit I'd figured out - it was whether they're using Chrome or Safari that foxed me. Of course, I know there's no Android Safari app, officially anyway.
    – Codemonkey
    Commented Aug 10, 2021 at 6:46

2 Answers 2

6

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.

8
  • 1
    Why do you doubt it's a typical user? I'm 99% certain that it is
    – Codemonkey
    Commented Aug 10, 2021 at 6:43
  • 1
    Additionally, could you explain to me why Safari is mentioned, if the browser used is Chome? Thank you!
    – Codemonkey
    Commented Aug 10, 2021 at 6:46
  • 1
    @Codemonkey Compatibility. Chrome (and Edge actually) use AppleWebKit. Sorry for the late reply! Commented Aug 20, 2021 at 21:03
  • 1
    @Codemonkey Also I doubt that it was a typical user because I don't expect a regular person to be using Chromium. If your users are engineers and developers, then I'd recant my doubt. Commented Aug 20, 2021 at 21:07
  • 1
    What about it says Chromium, as opposed to Chrome (which a significant portion of the public use)?
    – Codemonkey
    Commented Aug 23, 2021 at 15:04
0

My guess is that it is a device in DevTools mode.

It look like a string that is store in the Firefox setting devtools.responsive.userAgent (accessible with about:config).

1
  • As it’s currently written, your answer is unclear. Please edit to add additional details that will help others understand how this addresses the question asked. You can find more information on how to write good answers in the help center.
    – Community Bot
    Commented May 29 at 5:38

Not the answer you're looking for? Browse other questions tagged or ask your own question.