<script type="text/javascript">
if(navigator.userAgent.indexOf('Mobile') != -1){
console.log("app");
}else{
window.location.href="web_download.html";
console.log("web");
}
<script type="text/javascript">
if(navigator.userAgent.indexOf('Mobile') != -1){
console.log("app");
}else{
window.location.href="web_download.html";
console.log("web");
}