Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the user agent string for surface rt?

Tags:

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

like image 309
Kristian Avatar asked Oct 25 '12 20:10

Kristian


People also ask

Where is the user agent string?

The User-Agent (UA) string is contained in the HTTP headers and is intended to identify devices requesting online content. The User-Agent tells the server what the visiting device is (among many other things) and this information can be used to determine what content to return.

What is a user agent string?

A browser's User-Agent string (UA) helps identify which browser is being used, what version, and on which operating system. When feature detection APIs are not available, use the UA to customize behavior or content to specific browser versions.

What does a user agent string contain?

Described in the HTTP standard, the User-Agent string contains a number of tokens that refer to various aspects of the request, including the browser's name and version, rendering engine, device's model number, operating system and its version, etc.

What is your user agent?

User Agents tell a website what browser you are using Included in that request is the user agent (In a HTTP Header). Web sites can look at that user agent string and determine what web browser, operating system, and device you are using. It's how we tell you "my browser" on our homepage!


1 Answers

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.
like image 165
Miguel-F Avatar answered Oct 11 '22 09:10

Miguel-F