I have a web application. I my JavaScript, I am identifying devices by user agent string as follows:
_android = navigator.userAgent.toLowerCase().indexOf("android");
_iOS = navigator.platform.indexOf("iPhone");
My task is to identify if device is win8 tablet or not?
I have already seen this post. But, the string "Windows NT" is likely to appear in useragent on all the PC browsers. So, I need to find out a client side way of identifying if device is win8 tablet?
Any thoughts?