9
rated 0 times
[
14]
[
5]
/ answers: 1 / hits: 38120
/ 12 Years ago, thu, march 29, 2012, 12:00:00
I can check for iPhone with this code:
(navigator.userAgent.match(/iPhone/i))
But I want to target Windows Phone with this userAgent:
Mozilla/4.0(compatible; MSIE 6.0; Windows NT 5.1;
Motorola_ES405B_19103; Windows Phone 6.5.3.5)
Is there any way to do this?
More From » user-agent