How to detect browser, engine, OS, CPU, and device using JavaScript?

How to detect browser, engine, OS, CPU, and device using JavaScript?

In this tutorial, I’ll be talking about a JavaScript-based User-Agent string parser to detect browser, engine, OS, CPU, and device using JavaScript. UAParser.js is a JavaScript Plugin that can be used either in browser (client-side) or in NodeJS (server-side) environment. UAParser is also available as jQuery/Zepto Pluging, Bower/Meteor Package and RequireJS/AMD module. This library aims to identify detailed type of web browser, layout engine, operating system, cpu architecture, and device type/model, entirely from user-agent string with a relatively small footprint (~11KB when minified / ~4KB gzipped).

Read more