Compatibility/UADetectionLibraries: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
Line 71: Line 71:


== Tested, issues reported in Bugzilla ==
== Tested, issues reported in Bugzilla ==
* http://detectmobilebrowsers.com/ [https://bugzilla.mozilla.org/show_bug.cgi?id=914241 Bug 914241]
* http://detectmobilebrowsers.com/ [https://bugzilla.mozilla.org/show_bug.cgi?id=914241 Bug 914241*]
* is-mobile [https://bugzilla.mozilla.org/show_bug.cgi?id=914231 Bug 914231]
* is-mobile [https://bugzilla.mozilla.org/show_bug.cgi?id=914231 Bug 914231]
* Platform.js [https://bugzilla.mozilla.org/show_bug.cgi?id=913633 Bug 913633]
* Platform.js [https://bugzilla.mozilla.org/show_bug.cgi?id=913633 Bug 913633]
Line 77: Line 77:
* Woothee [https://bugzilla.mozilla.org/show_bug.cgi?id=914313 Bug 914313]
* Woothee [https://bugzilla.mozilla.org/show_bug.cgi?id=914313 Bug 914313]
* WPTouch (WordPress) [https://bugzilla.mozilla.org/show_bug.cgi?id=909420 Bug 909420]
* WPTouch (WordPress) [https://bugzilla.mozilla.org/show_bug.cgi?id=909420 Bug 909420]
*fixed


== Libraries known to be compatibile ==
== Libraries known to be compatibile ==

Revision as of 02:08, 10 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

Go

Java

JavaScript

Multiple Languages

Feel free to add new ones.

Perl

PHP

Python

Ruby

Server Modules

Tested, issues reported in Bugzilla

*fixed

Libraries known to be compatibile

JavaScript

Multiple Languages

Server Detection Frameworks