mirror of
https://github.com/faisalman/ua-parser-js.git
synced 2025-11-15 22:52:16 +03:00
Rather than put the CPU type as the OS version, for Chromecast, the
firmware version would be much more useful.
For example:
Mozilla/5.0 (X11; Linux aarch64) AppleWebKit/537.36 (KHTML, like
Gecko) Chrome/76.0.3809.81 Safari/537.36 CrKey/1.42.183786
This should produce:
os: { name: "Chromecast", version: "1.42.183786" }
Instead of:
os: { name: "Linux", version: "aarch64" }