/ Published in: JavaScript
Was using this to disable certain js functionality as it wasnt working on apple\'s webkit
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function appleMobileChk(){ if (/iPhone/.test(navigator.userAgent) || /iPad/.test(navigator.userAgent) || /iPod/.test(navigator.userAgent)){ return true; } else{ return false; } }