oalders/http-browserdetect

Would be nice to identify Chrome OS

andrewmoise opened this issue · 0 comments

Access from a Chromebook yields the following user-agent string:

Mozilla/5.0 (X11; CrOS x86_64 5841.87.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.0 Safari/537.36

HTTP::BrowserDetect 1.72-1 from Debian identifies that as: browser is Chrome, version is 36, platform is Unix. It'd be nice to look for that "CrOS" and detect Chrome OS as a separate platform from Unix, since they're quite different user segments.

Thanks for your help, have a good day.