how to identify if user agent is windows 8 tablet?

后端 未结 2 1769
难免孤独
难免孤独 2021-01-06 10:16

I have a web application. I my JavaScript, I am identifying devices by user agent string as follows:

_android = navigator.userAgent.toLowerCase().indexOf(\"a         


        
2条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-06 10:38

    User-agent string (Windows) : http://msdn.microsoft.com/en-us/library/ie/hh920767(v=vs.85).aspx

提交回复
热议问题