Codinguseragent testing awesomeness

 

Press Ctrl+Enter to quickly submit your post
Quick Reply  
 
 
  
 From:  CHYRON (DSMITHHFX)   
 To:  Matt     
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");

 


----
"Some ideas make you dumber the moment you learn of them."
0/0
 Reply   Quote More 

Reply to All    
 

1–12

Rate my interest:

Adjust text size : Smaller 10 Larger

Beehive Forum 1.5.2 |  FAQ |  Docs |  Support |  Donate! ©2002 - 2024 Project Beehive Forum

Forum Stats