Fennec/User Agent: Difference between revisions

Remove bogus "Desktop" token
(Remove bogus "Desktop" token)
Line 13: Line 13:
Netbook (or tablet with attached pointing device, e.g. in a dock):
Netbook (or tablet with attached pointing device, e.g. in a dock):


   Mozilla/5.0 (Android; Desktop; rv:12.0) Gecko/12.0 Firefox/12.0   
   Mozilla/5.0 (Android; rv:12.0) Gecko/12.0 Firefox/12.0   


(Examples are for Firefox 12; clearly, 12.0 would change for later versions. The three numbers would in all cases be the same, at least for the moment.)
(Examples are for Firefox 12; clearly, 12.0 would change for later versions. The three numbers would in all cases be the same, at least for the moment.)
Line 38: Line 38:


On the tablet side, Opera already calls itself "Opera Tablet" when running on a tablet, so there is also precedent for using that string to identify tablets, and for varying a tablet UA compared to desktop. The iPad identifies itself as an "iPad" instead of a "Macintosh" (clearly, Apple isn't going to use the generic device name).
On the tablet side, Opera already calls itself "Opera Tablet" when running on a tablet, so there is also precedent for using that string to identify tablets, and for varying a tablet UA compared to desktop. The iPad identifies itself as an "iPad" instead of a "Macintosh" (clearly, Apple isn't going to use the generic device name).
If the device is not actually a touch tablet, e.g. a netbook, we want a "desktop-like" UA. We hope that we can use "Desktop" for this; we may get it added to the Firefox Desktop UA as well.


===Gecko Date===
===Gecko Date===
Account confirmers, Anti-spam team, Confirmed users, Bureaucrats and Sysops emeriti
4,925

edits