Authored by ping

update

... ... @@ -8,7 +8,7 @@
<script src="http://lib.sinaapp.com/js/jquery/1.9.1/jquery-1.9.1.min.js"></script>
<script type="text/javascript">
var agent = navigator.userAgent.toLowerCase() ;
var version, type, appid, td, queryString;
var version, type, appid, td, queryString, downUrl;
function getQueryString() {
var vars = [],
... ... @@ -24,6 +24,8 @@
return vars;
}
downUrl = 'http://a.app.qq.com/o/simple.jsp?pkgname=com.yoho&g_f=995445';
if (agent.indexOf("like mac os x") > 0) {
var regStr_saf = /os [\d._]*/gi ;
var verinfo = agent.match(regStr_saf) ;
... ... @@ -35,6 +37,7 @@
version = agent.substr(agent.indexOf('android') + 8, 5);
type = 'android';
appid = 'com.yoho';
downUrl = 'http://cdn.yoho.cn/app-downfiles/yohoBuy4.3.0_280_YOHO_2953.apk';
}
td = window.screen.width + '_' + window.screen.height + '_' + type + '_' + version;
... ... @@ -52,8 +55,8 @@
appid: appid
},
complete: function() {
var appUrl = 'http://a.app.qq.com/o/simple.jsp?pkgname=com.yoho&g_f=995445';
window.location = appUrl;
//var appUrl = 'http://a.app.qq.com/o/simple.jsp?pkgname=com.yoho&g_f=995445';
window.location = downUrl;
}
});
... ...