jamesgpearce/monomi — Issue #1: use ua-parser?
Author: paulirish
Created: 2012-01-26 16:08:21+00:00
State: open

the flaws of UA sniffing are due to 1) making assumptions about future UAs and 2) reinventing UA parsing and adding flaws.

for 2 you can at least leverage previous and robust work..

https://github.com/tobie/ua-parser uses ua-parser which comes from code Google uses to UA parse. plus it was ported by your colleague! :)

alternatively you could use https://github.com/bestiejs/platform.js/ which is the only other reliable parser in JS, IMO