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

[userAgent string] UA string returned from IE11 on Windows10 on my Lenovo X240 (no touch screen) contains "Touch"

$
0
0

Dear Experts:

  I am working on a function which will retrieve UA string, check the existance of "Touch" value, then perform further action. What I found is that UA string returned from Chrome (54.0.2840.99 m) and IE 11 (11.672.10586.0) on Windows 10 on my Lenovo x240 (no touch screen equipped) are different. On IE 11, string contains "Touch" while UA string from Chrome doesn't, like below:

  UA string from IE 11:

"Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; Touch; .NET4.0C; .NET4.0E; .NET CLR 2.0.50727; .NET CLR 3.0.30729; .NET CLR 3.5.30729; Tablet PC 2.0; InfoPath.3; rv:11.0) like Gecko"

  UA string from Chrome:

  "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.99 Safari/537.36"

  My understanding is Touch indicates that device is touch screen enabled but I might be wrong. Does anyone encounter the same and happens to know the reason of Touch value existance on UA string from IE 11?

BR,
Chapman


chapman


Viewing all articles
Browse latest Browse all 3527

Trending Articles



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