Hacker News new | ask | show | jobs
by virtualwhys 4337 days ago
or do user-agent detection server-side against database of (mostly) known user-agents and take JS out of the UA detection picture entirely.

In JVM land I've had pretty good success with UADetector [1] for delivering device specific content to mobile phones and desktop/laptop/tablets.

[1] https://github.com/before/uadetector