Compatibility/UADetectionLibraries: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
m (→‎User Agent Detection Libraries: alphabetizing things)
Line 38: Line 38:
**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 ===
* Woothee https://github.com/tagomoris/woothee
* UA Parser https://github.com/tobie/ua-parser
* http://detectmobilebrowsers.com/
=== Perl ===
* HTTP::BrowserDetect https://github.com/oalders/http-browserdetect


=== PHP ===
=== PHP ===
Line 50: Line 58:
* WordPress Mobile Detect http://wordpress.org/plugins/wp-mobile-detect/
* WordPress Mobile Detect http://wordpress.org/plugins/wp-mobile-detect/
* Categorizr https://github.com/bjankord/Categorizr
* Categorizr https://github.com/bjankord/Categorizr
=== Python ===
* Python User Agents https://github.com/selwin/python-user-agents
* Django Mobile https://github.com/gregmuellegger/django-mobile
* minidetector https://github.com/saschwarz/minidetector/network
* GoMobile (Plone) https://pypi.python.org/pypi/gomobile.mobile


=== Ruby ===
=== Ruby ===
Line 58: Line 72:
* Mobvious https://github.com/jistr/mobvious
* Mobvious https://github.com/jistr/mobvious
* UserAgent https://github.com/josh/useragent
* UserAgent https://github.com/josh/useragent
=== Python ===
* Python User Agents https://github.com/selwin/python-user-agents
* Django Mobile https://github.com/gregmuellegger/django-mobile
* minidetector https://github.com/saschwarz/minidetector/network
* GoMobile (Plone) https://pypi.python.org/pypi/gomobile.mobile
=== Perl ===
* HTTP::BrowserDetect https://github.com/oalders/http-browserdetect
=== Multiple Languages ===
* Woothee https://github.com/tagomoris/woothee
* UA Parser https://github.com/tobie/ua-parser
* http://detectmobilebrowsers.com/


=== Server Modules ===
=== Server Modules ===

Revision as of 19:31, 4 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 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

Multiple Languages

Perl

PHP

Python

Ruby

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

Server Modules

Libraries known to be compatibile

JavaScript

Multiple Languages

Server Detection Frameworks