Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
libai
/
footsen
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
566a8c83
authored
Jan 05, 2022
by
agan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交
parent
3efa4ad3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
2 deletions
b/download.html
js/buriedPoint.js
mTest.html
b/download.html
View file @
566a8c83
...
...
@@ -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('请点击右上角在外部浏览器打开');
// }
}
});
...
...
js/buriedPoint.js
View file @
566a8c83
...
...
@@ -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
)
{
...
...
mTest.html
View file @
566a8c83
...
...
@@ -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
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