Reply to All
Show messages
Messages
Inbox
Search
Login
1–10
11–12
useragent testing awesomeness
From: koswix
15 Feb 2013 07:47
To: Ken (SHIELDSIT)
10 of 12
40326.10
In reply to
40326.9
Smithy made me do it.
From: Ken (SHIELDSIT)
15 Feb 2013 08:08
To: koswix
11 of 12
40326.11
In reply to
40326.10
Sure he did.
From: CHYRON (DSMITHHFX)
15 Feb 2013 15:50
To: Matt
12 of 12
40326.12
In reply to
40326.2
Just remembered I'm not browser-sniffing anyway, I'm device-sniffing (for mobile devices):
if ((navigator.userAgent.match(/(iPad)|(iPhone)|(iPod)|(android)|(webOS)|(BlackBerry)/i))) alert("I hate you all");