Microsoft today detailed its changes to user agent string of IE9 mobile on Windows Phone Mango, as user agents strings are needed to make any device specific websites, now developers can test their websites. The UA string will be same as the desktop IE9 browser with only changes in version numbers. This is the final UA string to target Windows Phone devices,
Mozilla/5.0 (compatible; MSIE 9.0; Windows Phone OS 7.5; Trident/5.0; IEMobile/9.0; <manufacturer>; <model> [;<operator])
These are the changes they have made from desktop IE9,
- Application version is incremented from â€˜Mozilla/4.0â€™ to â€˜Mozilla/5.0â€™ to match other browsers (explained well in the great History of the user-agent string post). This change signals that IE9 is an interoperable browser.
- Version token is incremented from â€˜MSIE 7.0â€™ to â€˜MSIE 9.0â€™.
- Trident token is incremented from â€˜Trident/3.1â€™ to â€˜Trident/5.0â€™.
Mobile IE9 also supports compatible document modes similar to IE9 on Windows. So if you are a developer, start your testing ! !
More details on it on Windows team blog.