Utilities for processing user-agent strings. Can be used to handle http requests in real-time or to analyze log files.
Forked from http://haraldwalker.github.com/user-agent-utils/
For the latest release, go to https://github.com/HaraldWalker/user-agent-utils/tree/master
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
- 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
http://haraldwalker.github.com/user-agent-utils/javadoc/
Include our github repository in your pom.xml:
<repository>
<id>bitwalker.user-agent-utils.mvn.repo</id>
<url>https://raw.github.com/HaraldWalker/user-agent-utils/mvn-repo/</url>
<!-- use snapshot version -->
<snapshots>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
</snapshots>
</repository>
Add dependency:
<dependency>
<groupId>bitwalker</groupId>
<artifactId>UserAgentUtils</artifactId>
<version>1.13</version>
</dependency>
- Please use the
trunk
branch on GitHub when making a pull request
- Fix for version detection of Internet Explorer 11, contributed by https://github.com/parker
- Browser versions are now comparable (#33), contributed by https://github.com/reindyr
- Detect image proxy used by Google for Gmail
- Detect Google's mobile bot (#8)
- Internet Explorer 10 mobile version added (#28)
- Improved Chrome mobile detection (#30)
- Fixed none unique manufacturer id (issue #22)
- added IOS 7 detection and improved IOS detection for iPads (issue #21)
- added Chrome 30 and 31
- 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
- Fixed version detection of Chrome Mobile
- Added Firefox 20 detection plus beta and future versions
- Added beta and future versions of Chrome
- 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!