I have an app, and I\'d like to redirect the users to different pages based on where they are navigating from.
If navigating from web clip, do not redirect. If navig
best practice is:
function isMobileSafari() { return navigator.userAgent.match(/(iPod|iPhone|iPad)/) && navigator.userAgent.match(/AppleWebKit/) }