Commit e610065c by dabai

seo替换

parent d7645f68
Showing with 3 additions and 3 deletions
......@@ -33,16 +33,16 @@ window.onload = function () {
var userAgent = navigator.userAgent;
if (/iphone|ipad|ipod/.test(ua)) { //鑻规灉
if ((userAgent.indexOf("Safari") > -1 && userAgent.indexOf("Chrome") == -1) || ua.match(/MicroMessenger/i) == 'micromessenger') { //safari 鎴栬€呭井淇�
window.location.href="http://www.yabolive.com/iosDown.html";
window.location.href="https://yabolive.com/other/milk/index.html";
}else {
//鏄剧ず鍘籹afari鍥剧墖
window.document.getElementsByClassName('toSafariContainer')[0].style.display = 'block';
}
}else {//瀹夊崜
if(ua.match(/MicroMessenger/i) == 'micromessenger') { //鏄惁鏄井淇�
window.location.href="http://a.app.qq.com/o/simple.jsp?pkgname=com.show.yabo";
window.location.href="http://a.app.qq.com/o/simple.jsp?pkgname=com.show.tealive";
}else {
window.location.href="http://www.yabolive.com/dlapk";
window.location.href="https://yabolive.com/other/milk/index.html";
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment