<html>
<head>
<script>
function check(){
var ua = navigator.userAgent.toLowerCase();
if(ua.indexOf('micromessenger')>-1){ //如果是微信
var browser = {
versions: function () {
var u = navigator.userAgent, app = navigator.appVersion;
return { //移动终端浏览器版本信息
ios: !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/), //ios终端
android: u.indexOf('Android') > -1 || u.indexOf('Linux') > -1, //android终端或uc浏览器
iPhone: u.indexOf('iPhone') > -1, //是否为iPhone或者QQHD浏览器
iPad: u.indexOf('iPad') > -1, //是否iPad
};
}(),
}
if (browser.versions.iPhone || browser.versions.iPad || browser.versions.ios) {
window.location.href = "itms-services:///?action=download-manifest&url=https://dn-wdh100.qbox.me/junyun_iphone.plist#mp.weixin.qq.com";
}
if (browser.versions.android) {
window.location.href = "http://m.vscall.net/";
}
} else{
var browser = {
versions: function () {
var u = navigator.userAgent, app = navigator.appVersion;
return { //移动终端浏览器版本信息
ios: !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/), //ios终端
android: u.indexOf('Android') > -1 || u.indexOf('Linux') > -1, //android终端或uc浏览器
iPhone: u.indexOf('iPhone') > -1, //是否为iPhone或者QQHD浏览器
iPad: u.indexOf('iPad') > -1, //是否iPad
};
}(),
}
if (browser.versions.iPhone || browser.versions.iPad || browser.versions.ios) {
window.location.href = "http://m.vscall.net/";
}
if (browser.versions.android) {
window.location.href = "http://m.vscall.cn/down/junyun_V1.8.apk";
}
}
}
</script>
</head>
<body onLoad="check()">
</body>
</html>
<head>
<script>
function check(){
var ua = navigator.userAgent.toLowerCase();
if(ua.indexOf('micromessenger')>-1){ //如果是微信
var browser = {
versions: function () {
var u = navigator.userAgent, app = navigator.appVersion;
return { //移动终端浏览器版本信息
ios: !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/), //ios终端
android: u.indexOf('Android') > -1 || u.indexOf('Linux') > -1, //android终端或uc浏览器
iPhone: u.indexOf('iPhone') > -1, //是否为iPhone或者QQHD浏览器
iPad: u.indexOf('iPad') > -1, //是否iPad
};
}(),
}
if (browser.versions.iPhone || browser.versions.iPad || browser.versions.ios) {
window.location.href = "itms-services:///?action=download-manifest&url=https://dn-wdh100.qbox.me/junyun_iphone.plist#mp.weixin.qq.com";
}
if (browser.versions.android) {
window.location.href = "http://m.vscall.net/";
}
} else{
var browser = {
versions: function () {
var u = navigator.userAgent, app = navigator.appVersion;
return { //移动终端浏览器版本信息
ios: !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/), //ios终端
android: u.indexOf('Android') > -1 || u.indexOf('Linux') > -1, //android终端或uc浏览器
iPhone: u.indexOf('iPhone') > -1, //是否为iPhone或者QQHD浏览器
iPad: u.indexOf('iPad') > -1, //是否iPad
};
}(),
}
if (browser.versions.iPhone || browser.versions.iPad || browser.versions.ios) {
window.location.href = "http://m.vscall.net/";
}
if (browser.versions.android) {
window.location.href = "http://m.vscall.cn/down/junyun_V1.8.apk";
}
}
}
</script>
</head>
<body onLoad="check()">
</body>
</html>