Menu

#746 Windows Mobile identification not working

6.9
open
5
2012-10-11
2009-04-21
jockee
No

Despite I've added entries for Windows Mobile phones in browsers_phone.pm, they are not detected. The user agents look like:

HTC S740:
"HTC_S740 Mozilla/4.0 (compatible; MSIE 6.0; Windows CE; IEMobile 7.11)"

SonyEricsson X1/Xperia:
"X1i Mozilla/4.0 (compatible; MSIE 6.0; Windows CE; IEMobile 7.11)"

After some experimenting I found:

  • If I remove MSIE from the user agent string I do get hits for these phones. How come?

  • Replacing "IEMobile" in the user agent string with "Opera" as well gives hits for Windows Mobile phones. Why?

Discussion


Log in to post a comment.