Compatibility/UADetectionLibraries: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
Line 24: Line 24:
**TODO: run tests (https://github.com/jquery/jquery-mobile/blob/master/js/jquery.mobile.support.js)
**TODO: run tests (https://github.com/jquery/jquery-mobile/blob/master/js/jquery.mobile.support.js)
* Mootools (https://github.com/mootools/mootools-core/blob/master/Source/Browser/Browser.js)
* Mootools (https://github.com/mootools/mootools-core/blob/master/Source/Browser/Browser.js)
=== Multiple Languages ===
Feel free to add new ones.


=== Perl ===
=== Perl ===

Revision as of 15:55, 12 September 2013

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 some kind of 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 as mobile (and not served desktop content or blocked outright).


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/5.0 (Mobile; rv:18.0) Gecko/18.0 Firefox/18.0

Libraries to be tested

JavaScript

Perl

PHP

Python

Ruby

Server Modules

Tested, issues reported in Bugzilla

Meta Bug: 915706

*fixed

Libraries known to be compatibile

Go

Java

JavaScript

Multiple Languages

Server Detection Frameworks