An action that detects all mobile browser
Auguste Auguste
2
http://localstreamer.posterous.com/javascript-code-snippet-how-to-detect-all-mob
To do an action for not mobile users simple take the same code and use the ‘not’ operator in the ‘if’ … so the code is
if (!mobile) { document.location = “http://www.mynotmobilewebsite.com”; }
Do you want a complete browser list? try this: http://www.zytrax.com/tech/web/mobile_ids.html
