This is what we get from your User-Agent data:
It's widely known that User-Agent string as of today is a mess. On the other hand, there is no reliable way to identify browser. {UAParser.js} fills this gap by filtering the noise away and extracts only the most relevant data available: Browser, Engine, OS, CPU, and Device.
Started from JavaScript approach, {UAParser.js} is optimized to be used with browser. While it covers a vast range of detection, the size always kept to be as light as possible. For extra cache performance, {UAParser.js} also available in popular CDN services (jsDelivr/CDNJS).
Licensed under a permissive MIT license. {UAParser.js} is free to use, free to modify, free of charge. Get as-is, no support or guarantee offered. Use, extend, or replace with your own set of rules. Don't forget to contribute back by submitting a pull request or consider donating if you want.
Whether it's a client-side webpage running in a browser or a server-side node.js app, simply type:
$ npm i ua-parser-js --saveNo framework needed. No transpiler required. Just a good ol' ES5 which should be able to run on most modern devices that are capable of executing JavaScript. Just insert the code and you're good to go.
Having large user base, whenever jQuery is present, {UAParser.js} will detect and generate $.ua plugin automatically. Also, for TypeScript user, there is a community-maintained typed: @types/ua-parser-js.
"A great utility library to have when you're investigating what kind of users are visiting your website and how you can improve their UX. Supports most browsers out there."
Gabrijel Golubić - Frontend Web Developer
"I've been using your library for a long time and it totally rocks!". Christian Rich - Web Developer
"Thank you for putting out this very useful library!". Anuj Nijhawan - Web Developer
Copied!