Bagikan melalui


User-agent string

The user-agent string ("UA string") identifies your browser and provides certain system details to servers hosting the websites you visit. This topic describes changes made to the user-agent string in Internet Explorer 10. It contains the following sections:

  • Internet Explorer 10's UA string
  • Identifying touch-enabled systems
  • New architecture token for ARM devices
  • Related topics

Internet Explorer 10's UA string

Here's the user-agent string for Internet Explorer 10:

Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; Trident/6.0)

Be aware that "Windows NT 6.2" indicates the browser is on a computer running Windows 8, whereas "Windows NT 6.1" indicates the computer is running Windows 7.

Identifying touch-enabled systems

Internet Explorer 10 introduces the "Touch" UA string token. If this token is present at the end of the UA string, the computer has touch capability, and is running Windows 8 (or later). This UA string will be transmitted on a touch-enabled system running Windows 8:

Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; Trident/6.0; Touch)

Note  Internet Explorer 10 on Windows 7 will never report a UA string with the "Touch" token.

 

New architecture token for ARM devices

Internet Explorer 10 adds an architecture token for ARM devices running Windows RT. This complements the existing values for other architectures. The examples below show how this compares to a few other configurations.

  • 32-bit Internet Explorer 10 on 32-bit Windows 8:

    Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; Trident/6.0)
    
  • 32-bit Internet Explorer 10 on 64-bit Windows 8:

    Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; WOW64; Trident/6.0) 
    
  • 64-bit Internet Explorer 10 on 64-bit Windows 8:

    Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; Win64; x64; Trident/6.0)
    
  • Internet Explorer 10 on Windows RT:

    Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; ARM; Trident/6.0)
    

These additions apply to both Internet Explorer for the desktop and Internet Explorer in the new Windows UI since they expose the same platform capabilities.

Compatibility

Internet Explorer 10 Guide for Developers

Understanding User-agent Strings