이 프로젝트에서 QR 코드를 스캔하고 Android 또는 iOS 시스템인지 자동으로 결정하고 다른 시스템에 대해 다른 다운로드를해야합니다.
<script type = "text/javaScript">/** 스마트 브라우저 버전 정보 : **/var 브라우저 = {버전 : function () {var u = navigator.useragent, app = navigator.appversion; return {// 모바일 터미널 브라우저 버전 정보 : u.indexof ( 'trident')> // kernel presto ( 'presto). > -1, // Opera 커널 웹 키트 : U.indexof ( 'applewebkit')> -1, // Apple 및 Google 커널 Gecko : u.indexof ( 'gecko')> -1 && u.indexof ( 'khtml') == -1, // firefox kernel : !! !! U.Match (/AppleWebKit/), // 모바일 터미널 iOS : !! U.Match (// (i [^;]+; (u;)? cpu.+Mac OS X/), // iOS 터미널 Android : u.indexof ( 'Android')> -1 || u.indexof ( 'linux')> -// and and and and and and and u.indexof ( 'android')> -1 || u.indexof ( 'iPhone')> -1 || (navigator.browserlanguage || navigator.language) .tolowercase ()} if (browser.versions.ios || browser.iphone.iphone || browser.versions.ipad) {window.location = "https://itunes. {window.location = "http : //xxx/xxx.apk";} // docum document.writeln ( "iPhone입니까 :" + browser.versions.iphone); // docut