Compatibility/UADetectionLibraries

From MozillaWiki
Jump to navigation Jump to search

User Agent Detection Libraries

This is a list of User Agent detection libraries to be tested for compatibility with Firefox OS and Firefox for Android. This may also include general purpose JS libraries that include UA detection.

The end goal is to contact these sites or (even better, in the case of open source libraries) provide patches so our mobile browsers are correctly identified.


UA strings to test with: Firefox Mobile for Android:

  • Mozilla/5.0 (Android; Mobile; rv:23.0) Gecko/23.0 Firefox/23.0

Firefox OS:

  • Mozilla/50. (Mobile; rv:18.0) Gecko/18.0 Firefox/18.0

Libraries to be tested

Go

Java

JavaScript

PHP

Ruby

note: TJ's lib is unmaintained but there appears to be a number of active forks.

Python

Perl

Multiple Languages

Server Modules

Libraries known to be compatibile

JavaScript

Multiple Languages

Server Detection Frameworks