Skip to content

Instantly share code, notes, and snippets.

View BMR11's full-sized avatar

Rajni BMR11

View GitHub Profile
@BMR11
BMR11 / mobile-browser-detect
Created October 22, 2019 02:05 — forked from braddown/mobile-browser-detect
Link for App Download - Mobile OS Detection and Redirect Download Link to Appropriate App Store
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Redirect</title>
<script type="text/javascript"> // <![CDATA[
//iPhone Version:
if((navigator.userAgent.match(/iPhone/i)) || (navigator.userAgent.match(/iPod/i))) {
window.location = "http://goo.gl/IWd7J";
}