benbscholz/detect — pull request #4 by pcmattman (2014-02-20 00:13:52+00:00)
Title: ChromeOS detection

Added a simple check for ChromeOS - merely looking for `CrOS` in the User-Agent, and overriding the browser-specified platform if so.

Overriding the platform helps when testing with a custom User-Agent when this doesn't override `window.navigator.platform`.