how do i disable a certain javascript on iphone/ipad or other mobile devices?
- by user295292
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)