B2G/User Agent/Device Model Inclusion Requirements: Difference between revisions

Jump to navigation Jump to search
(Created page with "=Firefox OS UA Device/Model Inclusion Requirements= Adding a device identifier to the Firefox OS User Agent (UA) string is STRONGLY DISCOURAGED by Mozilla. As studies have sh...")
 
Line 1: Line 1:
=Firefox OS UA Device/Model Inclusion Requirements=
=Firefox OS UA Device/Model Inclusion Requirements=


Adding a device identifier to the Firefox OS User Agent (UA) string is STRONGLY DISCOURAGED by Mozilla. As studies have shown, changes to the UA string have a negative impact on web compatibility - some major websites will stop working if you do this! If this is nevertheless done in contravention of our advice, then the UA with a device/model ID should be of the form:
Adding a device identifier to the Firefox OS User Agent (UA) string is STRONGLY DISCOURAGED by Mozilla. As studies have shown, changes to the UA string have a negative impact on web compatibility - some major websites will stop working if you do this! Further reasons are documented in the [[B2G/User_Agent/Partner_Changes_Policy|Firefox OS User Agent Partner Changes Policy]].
 
If a device/model ID is nevertheless to be added in contravention of our advice, then the UA with a device/model ID should be of the form:


  Mozilla/5.0 (Mobile; XXXX; rv:18.0) Gecko/18.0 Firefox/18.0
  Mozilla/5.0 (Mobile; XXXX; rv:18.0) Gecko/18.0 Firefox/18.0
Confirmed users
2,473

edits

Navigation menu