What is the user agent string for surface rt?

Kristian picture Kristian · Oct 25, 2012 · Viewed 33.3k times · Source

I'm trying to determine the user agent string for surface RT for testing purposes.

Answer

Miguel-F picture Miguel-F · Oct 25, 2012

Just do some Google'ing and you will find your answer.

Internet Explorer 10 User-agent string

Internet Explorer 10 on Windows RT:

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

Update after comment below

The link above also states:

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.
Note Internet Explorer 10 on Windows 7 will never report a UA string with the "Touch" token.

Internet Explorer 10 on Windows RT with Touch enabled:

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


Update for Internet Explorer 11

User-agent string changes

Here is what's reported for Internet Explorer 11 on Windows 8.1:

Mozilla/5.0 (Windows NT 6.3; Trident/7.0; rv:11.0) like Gecko

Here is the string for Internet Explorer 11 on Windows 7:

Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0) like Gecko

If you compare these values to those reported by earlier versions of Internet Explorer, you'll find the following changes:

  • The compatible ("compatible") and browser ("MSIE") tokens have been removed.
  • The "like Gecko" token has been added (for consistency with other browsers).
  • The version of the browser is now reported by a new revision ("rv") token.