oalders/http-browserdetect

Samsung Browser for Android is detected as Chrome

oschwald opened this issue · 5 comments

This browser appears to be a Blink-based browser that is similar but not the same as Chrome. Here is an example UA:

Mozilla/5.0 (Linux; Android 8.1.0; SAMSUNG SM-G610M) AppleWebKit/537.36 (    KHTML, like Gecko) SamsungBrowser/14.2 Chrome/87.0.4280.141 Mobile Safari/537.36

The browser string is currently "Chrome".

I also wonder if blink would make more sense as the engine, but that is orthogonal.

See also #164

So maybe SamsungBrowser?

uasurfer for Go returns just Samsung. The description on Google Play seems to use "Samsung Internet Browser" and "Samsung Internet".

I think I'd expect the browser to be pretty specific, e.g., "Samsung", rather than "Chromium". For engine, I'd expect all of the Chromium-based browsers, e.g., Chrome, Opera, Edge, this one, to have blink as the engine.

That said, I haven't looked closely at what this module does for some of the other less common Chromium browsers, e.g., Vivaldi, Brave, Amazon Silk, etc.