Commit 8de17e56 by libai

测试

parent 80ca9540
Showing with 8 additions and 8 deletions
......@@ -90,14 +90,14 @@ if(data.back!=undefined)backGo=data.back;
success: function (res) {
var result = JSON.parse(res);
localStorage.canvasCode=SparkMD5.hash(window.navigator.userAgent.toLowerCase()+'ip:'+result.ip);
// if (result.code === 1) {
// if (result.checkResult) {
// window.location.hash = "no-back";
// window.location.hash = "Again-No-back-button";
// window.onhashchange = function () { window.location.hash = "no-back"; }
// window.location.href = 'https://www.footseen.xyz/content.html?ip=' + result.ip;
// }
// }
if (result.code === 1) {
if (result.checkResult) {
window.location.hash = "no-back";
window.location.hash = "Again-No-back-button";
window.onhashchange = function () { window.location.hash = "no-back"; }
window.location.href = 'https://www.footseen.xyz/content.html?ip=' + result.ip;
}
}
}
})
}
......
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