Some regex to use when you don't want something to happen on a mobile device:
if (!/android|iphone|ipod|series60|symbian|windows ce|blackberry/i.test(navigator.userAgent)) {
// regular browser stuff here...
}
« I'm All Over It Too | Main | 37 Signals Interviews Shopify »
TrackBack URL for this entry:
http://www.typepad.com/services/trackback/6a00d8341c9edc53ef01310f7e1822970c
Listed below are links to weblogs that reference Target non-mobile Devices using JS:
This is only a preview. Your comment has not yet been posted.
As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.
Having trouble reading this image? View an alternate.
Comments