• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Windows Phone 7 user agent strings

I'm implementing the design our designer made, and mixed in with the conditional comments is a specific reference to IE mobile. I enabled the user_agent library and updated its config from the latest trunk, but there's still no reference anywhere in it to WP7.

I found at reasonably complete list of UA strings at http://www.elucidsoft.com/blog/2010/11/1...er-agents/ but I'm not sure how to slice them up into the correct name/value pairs in the config. Is there a reference for how to do this?

I think you would just add

'Windows Phone OS 7.0' => 'Windows Mobile 7'
or maybe (for all versions?)
'Windows Phone' => 'Windows Mobile'
to the $mobile array located in /application/config/user_agents.php

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

Users browsing this thread:
1 Guest(s)

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.