Hacker News new | ask | show | jobs
by deno 5029 days ago
You might consider using (or consulting) Closure Library for UA sniffing. It’s pretty decent and Google actively maintains it.

demo: https://closure-library.googlecode.com/svn/trunk/closure/goo...

docs: https://closure-library.googlecode.com/svn/docs/closure_goog...