Quantcast
Channel: Internet Explorer Web Development forum
Viewing all articles
Browse latest Browse all 3527

User Agent for Microsoft Tablets

$
0
0

I can't find a CLEAR documentation about the user agent used for the Microsoft tablet devices (like Microsoft Surface)

I could find that the user agent for a surface tablet can be:

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

Or if the device contains an ARM processor, the user agent can be:

Not a touch screen device (so, not a tablet???): 

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

A touch screen device (because of Touch):

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

I have to set up some rules to detect a tablet device, and so, my question is, what are the rules to detect a Microsoft tablet device based on the user agent. When I'm talking about rules, I mean: if the user agent containsARM andTouch it's a Microsoft tablet device.





Viewing all articles
Browse latest Browse all 3527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>