<!DOCTYPE html><html><head lang="en"><meta charset="UTF-8"><title></title>
</head>
<body>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js" type="text/javascript"></script>
<script>
var openUrl = window.location.search;
console.log(openUrl)
var u = navigator.userAgent.toLowerCase();
console.log(u)
if (u.indexOf('mobile') > 0) {
if(!(u.indexOf('iphone') > -1)) {
//安卓下载alert(openUrl)
}else{
//IOS下载alert("苹果")
}
}
</script>
</body>
</html>
网友评论