Fennec/User Agent: Difference between revisions

No edit summary
Line 58: Line 58:


IE Mobile already has the string "Mobile" in their UA, as does Mobile Safari. Opera Mobile apparently avoids this string in favour of "Mobi"; however, that's an older product, and if there were problems with it today, we suspect the other two browsers would have seen it. Anyone who wants to include Opera as well can sniff for "Mobi" to catch them all. "Mobile" is also self-documenting.
IE Mobile already has the string "Mobile" in their UA, as does Mobile Safari. Opera Mobile apparently avoids this string in favour of "Mobi"; however, that's an older product, and if there were problems with it today, we suspect the other two browsers would have seen it. Anyone who wants to include Opera as well can sniff for "Mobi" to catch them all. "Mobile" is also self-documenting.
Recent versions of Android [http://android-developers.blogspot.com/2010/12/android-browser-user-agent-issues.html use "Mobile" in the default browser's UA] on devices that should be served mobile-optimized content.


===Why have a tablet identifier at all? Why not just use the desktop user agent?===
===Why have a tablet identifier at all? Why not just use the desktop user agent?===
canmove, Confirmed users
1,584

edits