how do i disable a certain javascript on iphone/ipad or other mobile devices?

Posted by user295292 on Stack Overflow See other posts from Stack Overflow or by user295292
Published on 2010-05-02T04:01:17Z Indexed on 2010/05/02 4:07 UTC
Read the original article Hit count: 404

Filed under:
|
|
|
|

I got this for IE browsers,

var IE = /*@cc_on!@*/false;

if (IE) { // IE. } else { // Others. }

but how would i do the same for iphone/ipad/mobiledevices? (do not want to redirect to another page on any mobile devices)

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about iphone