title: IE 10 reports as device while I am running in a PC
body: <p>I need to find that the site is opened in PC or in mobile/tablet devices. So that I can modify my site for performance/design.</p>
  
  <p>This is the code which I used to detect it</p>
  
  <pre><code>isDevice: function () {
  return (/mobile|tablet|android|kindle/i.test(navigator.userAgent.toLowerCase()));
  }
  </code></pre>
  
  <p>This returns true when I run my site in IE 10 in windows 8 64bit touch machine. But this works correctly in other browsers.</p>
  
  <p>Help to resolve it.</p>
  
  <p>Thanks in advance.</p>