September 18, 201213 yr There are some things I am doing in jquery that I dont want to happen if the user is using a mobile device, including an ipad. What do you guys use to detect mobile browsers? I have tried var isMobile = /Android|webOS|iPhone|iPad|iPod|BlackBerry/i.test(navigator.userAgent); it works on my girlfriends HTC desire, but on my galaxy nexus, it is returning false.
September 18, 201213 yr Author apologies, this does work, my browser on my phone was set up to request the desktop site
Create an account or sign in to comment