oalders/http-browserdetect

[RFE] Handling of Chrome-based web browsers

robrwo opened this issue · 1 comments

Some Chrome-based web browsers like YaBrowser (Yandex), Brave and Vivaldi are reported as "chome" with the chrome version as the browser_version.

For example, Yandex browser

"Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.132 YaBrowser/22.3.1.891 Yowser/2.5 Safari/537.36"

is treated as chome 98 instead of yandex 22.3.

Ideally, there should be a way to detect these browsers but doing so could break the detection.

It might be worth having a separate vendor and vendor_version methods that allows users to differentiate further details.

I'd be open to some kind of enhancement like this if someone were to take on the work. I'm happy to take on code reviews and shipping new releases.