Revision: 33347
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at October 8, 2010 03:28 by thiswayup
Initial Code
function appleMobileChk(){ if (/iPhone/.test(navigator.userAgent) || /iPad/.test(navigator.userAgent) || /iPod/.test(navigator.userAgent)){ return true; } else{ return false; } }
Initial URL
Initial Description
Was using this to disable certain js functionality as it wasnt working on apple\'s webkit
Initial Title
detect iphone, ipad or ipod via js
Initial Tags
javascript, browser
Initial Language
JavaScript