Commit 566a8c83 by agan

提交

parent 3efa4ad3
......@@ -382,11 +382,15 @@
url: url,
statusCode: {
404: function () {
window.location.href = 'https://big.bgp.ourpow.com/apk/nf/Release-ftsB.apk'
window.location.href = 'https://big.bgp.ourpow.com/apk/nf/Release-ftsB.apk';
}
},
success: function () {
window.location.href = url;
//如果是安卓推特上
// if(ua.indexOf('TwitterAndroid')>-1){
// alter('请点击右上角在外部浏览器打开');
// }
}
});
......
......@@ -49,6 +49,7 @@ function clickDownload(callback) {
function checkIp() {
$.ajax({
url: _url + "/user/checkIpIsChina.html",
async: false,
success: function (res) {
var result = JSON.parse(res);
if (result.code === 1) {
......
......@@ -7,8 +7,12 @@
<title>Document</title>
</head>
<body>
<div id="contain"></div>
<script>
alert(navigator.userAgent);
var c = document.getElementById("contain");
c.innerHTML = window.location.href + "<br>" + navigator.userAgent;
// alert(navigator.userAgent);
</script>
</body>
</html>
\ No newline at end of file
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