https://bugzilla.wikimedia.org/show_bug.cgi?id=40919

--- Comment #2 from Gervase Markham <g...@gerv.net> 2012-10-10 10:18:17 UTC ---
Why do you need to know? Please, please, please don't do mobile browser
detection by detecting entire user agents. That might make this mobile browser
work, but it will just break for the next one, and the next. 

There is general consensus among mobile browsers that their UAs contain the
string "Mobile". (Although for Opera, for historical reasons, it's "Mobi",
hence the suggestion to detect "Mobi".) If you have to do user-agent based
switching between mobile and desktop sites, then please use this detection
method rather than detecting whole user agent strings.

Gerv

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to