Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
libai
/
footseen-large-website
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
8de17e56
authored
2 years ago
by
libai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试
parent
80ca9540
master
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
mobile/lib/default.js
mobile/lib/default.js
View file @
8de17e56
...
@@ -90,14 +90,14 @@ if(data.back!=undefined)backGo=data.back;
...
@@ -90,14 +90,14 @@ if(data.back!=undefined)backGo=data.back;
success
:
function
(
res
)
{
success
:
function
(
res
)
{
var
result
=
JSON
.
parse
(
res
);
var
result
=
JSON
.
parse
(
res
);
localStorage
.
canvasCode
=
SparkMD5
.
hash
(
window
.
navigator
.
userAgent
.
toLowerCase
()
+
'ip:'
+
result
.
ip
);
localStorage
.
canvasCode
=
SparkMD5
.
hash
(
window
.
navigator
.
userAgent
.
toLowerCase
()
+
'ip:'
+
result
.
ip
);
//
if (result.code === 1) {
if
(
result
.
code
===
1
)
{
//
if (result.checkResult) {
if
(
result
.
checkResult
)
{
//
window.location.hash = "no-back";
window
.
location
.
hash
=
"no-back"
;
//
window.location.hash = "Again-No-back-button";
window
.
location
.
hash
=
"Again-No-back-button"
;
//
window.onhashchange = function () { window.location.hash = "no-back"; }
window
.
onhashchange
=
function
()
{
window
.
location
.
hash
=
"no-back"
;
}
//
window.location.href = 'https://www.footseen.xyz/content.html?ip=' + result.ip;
window
.
location
.
href
=
'https://www.footseen.xyz/content.html?ip='
+
result
.
ip
;
//
}
}
//
}
}
}
}
})
})
}
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment