Search Menu

User-agent-utils 1.20 final release

After 8 years and many releases the user-agent-utils library is coming to an end, at least in the current form. From a light weight user-agent parsing and handling solution, it had grown over the years into a direction that had to be a dead end.

But times have also been changing. There are better solutions to build cross-browser and cross-platform compatible sites and services. Using libraries like this for browser switches only caused the mess we are in, where most user-agents pretend to be something different, which in return made the analysis of user-agents difficult and often annoying. Take the user-agent of the mobile version of Microsoft’s Edge browser on mobile for example:

Mozilla/5.0 (Windows Phone 10.0; Android 4.2.1; NOKIA; Lumia 735) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.135 Mobile Safari/537.36 Edge/12.0

So, Edge not only pretends to be on Android but also be like Chrome and Mobile Safari and not forget good old Mozilla, while it won’t render exactly like any of those browsers. A British band once sang ‘Enough is Enough’, which leads us to the final release 1.20.

Changes in 1.20:

  • Fix iPhone detection in case of Opera Mini agent-string
  • Prevent bots with bot in UA-String from pretending to be Safari
  • Added latest Edge versions
  • Added current and future Chrome and Firefox versions
  • Improved version discovery specifically for Safari
  • Fixed IE mobile 11 version detection

I want to thank all the contributors that helped with code, bug reports and feature requests during the years. Maybe one of them will continue this library and if that happens, I will be happy to link to it from the user-agent-utils page.

User-agent-utils 1.19 released

We are starting the new year with another small maintenance update of the user-agent-utils, offering the usual mix of new and improved user-agents detection.

Changes in 1.19:

  • Improved future Microsoft Edge detection and added Edge 13
  • Added current and future Firefox and Chrome versions
  • Improved detection of unsupported new Firefox versions
  • Added detection of Firefox mobile for iOS devices
  • Improved Phantom.js detection as BOT
  • Added support for Android 6 and Android 6 tablets

User-agent-utils 1.17 released

Thanks to the contributions of the community and the fact that Microsoft has released a new browser we already have a new version of the user-agent-utils just 1½ months after the last release.

Changes in 1.17:

  • Added Ubuntu and Ubuntu Touch (mobile) detection
  • Added Windows 10 mobile detection
  • Added Microsoft Edge browser detection (contributed by
  • Added future Firefox versions up to 42.