platform.js
platform.js copied to clipboard
Odd Safari UA not supported
I occasionally get a strange user agent reported from Safari 10.0.3 on macOS Sierra 10.12.3:
Safari/12602.4.8 CFNetwork/807.2.14 Darwin/16.4.0 (x86_64)
This variant of its UA isn't detected by platform and parse returns null for the name property.
I'm not sure what causes this UA variant to be reported though, most of the time this copy of Safari reports the expected UA of:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_3) AppleWebKit/602.4.8 (KHTML, like Gecko) Version/10.0.3 Safari/602.4.8