UAParser.js Test

A test site to see the difference between UAParser.js v1 and v2.

Background

UAParser.js is a fantastic library for parsing a browser's User Agent howerver:

UAParser.js is now licensed under AGPLv3 for open-source use, with PRO Licenses available for commercial/proprietary use

This license change has massive implications if you happen to be using it in commercial applications. This site aims to show the differences between what v1 and v2 of the library report so that you can evaluate your best course of action when determining what to do next.

Diff

Comparison of UAParser.js v1 vs v2


      

Alternatives

Some alternative libraries to consider.

my-ua-parser

my-ua-parser by Matteo Collina is a fork of ua-parser-js v1.0.38 at commit 693a83de. The library is MIT licensed and can be run in both Browser and Server environments. Since it's just a fork of UAParser.js v1, it returns the same incorrect results.

Comparison of UAParser.js v1 vs my-ua-parser