Yesterday, the IE team introduced their User Agent string for IE9. We felt that it was only right that we do the same thing.
Thus, without further ado, introducing the Windows Phone Internet Explorer UA String:
Mozilla/4.0 (compatible; MSIE 7.0; Windows Phone OS 7.0; Trident/3.1; IEMobile/7.0; <DeviceManufacturer>;<DeviceModel>)
This will be the standard format of our User Agent string for Windows Phone 7 series. Some things to note:
- The version token is MSIE 7.0, which reflects the base level of the browser
- The platform token is now "Windows Phone OS 7.0"
- The Trident token is 3.1, which is the rendering engine for this version
- The Mobile Version token is IEMobile/7.0, which reflects the current version of Windows Phone Internet Explorer. This will be updated as we evolve the browser.
- Device manufacturers will append their information to the end of the UA string, listing both the manufacturer and the model of the device.
If you have a Web site that serves rich mobile content to other browsers, please test your site with this new UA string and send us feedback. As I noted in an earlier post, the Windows Phone developer tools come pre-loaded with IE Mobile in the emulator, which you can use to test your site.
Update 6-17-10: Moved DeviceManufacturer and DeviceModel inside the comment block
Principal Program Manager, Windows Phone