Skip to content

Utilities for processing user-agent strings. Can be used to handle http requests in real-time or to analyze log files.

License

Notifications You must be signed in to change notification settings

sudeep-sinha/user-agent-utils

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

user-agent-utils

Utilities for processing user-agent strings. Can be used to handle http requests in real-time or to analyze log files.

http://haraldwalker.github.com/user-agent-utils/

For the latest release, go to https://github.com/HaraldWalker/user-agent-utils/tree/master

Support me and buy me a beer:
Flattr this

If you are looking for a more complete user-agent detection, have a look at the libraries that use the user-agent-string.info database.
http://user-agent-string.info/download

New in Version 1.15 (unreleased)

TBA

Javadoc

http://haraldwalker.github.com/user-agent-utils/javadoc/

Maven

Add dependency:

<dependency>
   <groupId>eu.bitwalker</groupId>
   <artifactId>UserAgentUtils</artifactId>
   <version>1.14</version>
</dependency>

Contributors

  • Please use the trunk branch on GitHub when making a pull request

Changelog

1.14

  • IOS8 support added
  • added Opera Coast as new mobile browser
  • more Chrome and Firefox versions added, including future releases (up to Firefox 40 and Chrome 40)
  • added 3 Opera versions
  • performance improvements

1.13

  • Added additional Chrome and Opera browser versions
  • Added current and future Firefox versons
  • Added agent string handling for Microsoft RSS platform user-agents
  • Added detection of Windows Phone 8.1 and IE Mobile 11.
  • Fixed null pointer exception when user-agent-string was null
  • Adjusted IE11 regex to match IE11 on Win8

1.12

1.11

  • Fixed none unique manufacturer id (issue #22)
  • added IOS 7 detection and improved IOS detection for iPads (issue #21)
  • added Chrome 30 and 31

1.10

  • Fixed and extended OS and browser detection when using Firefox on mobiles or tablets
  • Added additional and future Firefox versions
  • Added Chrome 29
  • Added Opera 11, 12, 15 & 16

1.9

  • Fixed version detection of Chrome Mobile
  • Added Firefox 20 detection plus beta and future versions
  • Added beta and future versions of Chrome

1.8

  • Option just to check just for a given collection of browsers or operating systems
  • Updated Chrome, Firefox and Safari detection to include the latest versions
  • Minor code optimizations
  • The package name has changed. Update import statements if you've been using the library before!

About

Utilities for processing user-agent strings. Can be used to handle http requests in real-time or to analyze log files.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 93.6%
  • CSS 6.4%