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
73b01bd5
authored
2 years ago
by
agan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改跳轉邏輯
parent
1e2029f6
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
55 additions
and
36 deletions
b/download.html
b/downloadIos.html
index.html
iosnew.html
b/download.html
View file @
73b01bd5
...
...
@@ -29,32 +29,38 @@
</script>
<script>
var
ua
=
window
.
navigator
.
userAgent
.
toLowerCase
();
var
nJumpArr
=
[
'11134'
,
'211120'
,
'11151'
,
'31186'
,
'31192'
];
var
h5CidArr
=
[
'H5BZBSX'
,
'H5BNFDYY'
,
'H5BABYH'
,
'H5BSSWA'
,
'H5BSSQ'
];
var
h5i
=
nJumpArr
.
indexOf
(
url_get_params
().
icid
);
if
((
/iphone|ipad|ipod/
.
test
(
ua
))
&&
h5i
>
-
1
)
{
window
.
location
.
href
=
"https://www.footseen.xyz?go=footseen&pmt=https://"
+
url_get_params
().
mrefer
+
'&h5Cid='
+
h5CidArr
[
h5i
];
}
// var nJumpArr = ['31184', '11134', '31179', '31183', '21144', '11125', '1116', '31147', '31186', '11159']
if
(
!
((
/iphone|ipad|ipod/
.
test
(
ua
))
||
(
/android/
.
test
(
ua
))))
{
//
if (!((/iphone|ipad|ipod/.test(ua)) || (/android/.test(ua)))) {
// if (nJumpArr.indexOf(url_get_params().icid) > -1) {
if
(
url_get_params
().
icid
!=
'31187'
)
{
if
(
url_get_params
().
from
!=
'pc'
)
{
window
.
location
.
href
=
"https://www.footseen.xyz?go=footseen&pmt=https://"
+
url_get_params
().
mrefer
;
}
else
{
$
.
ajax
({
url
:
'https://cpapi.footseen.xyz/activeLog/webActive'
,
data
:
{
activeType
:
3
,
pageID
:
'pcDownload'
,
//
if (url_get_params().icid != '31187') {
//
if (url_get_params().from != 'pc') {
//
window.location.href = "https://www.footseen.xyz?go=footseen&pmt=https://" + url_get_params().mrefer;
//
} else {
//
$.ajax({
//
url: 'https://cpapi.footseen.xyz/activeLog/webActive',
//
data: {
//
activeType: 3,
//
pageID: 'pcDownload',
},
success
:
function
(
data
)
{
//
},
//
success: function (data) {
}
})
}
}
//
}
//
})
//
}
//
}
// } else {
// if (url_get_params().icid != '31187') {
// window.location.href = "https://www.footseen.xyz?go=footseen";
// }
// }
}
//
}
</script>
<meta
charset=
"UTF-8"
>
<meta
name=
"renderer"
content=
"webkit"
>
...
...
This diff is collapsed.
Click to expand it.
b/downloadIos.html
View file @
73b01bd5
...
...
@@ -27,32 +27,39 @@
</script>
<script>
var
ua
=
window
.
navigator
.
userAgent
.
toLowerCase
();
var
nJumpArr
=
[
'11134'
,
'211120'
,
'11151'
,
'31186'
,
'31192'
];
var
h5CidArr
=
[
'H5BZBSX'
,
'H5BNFDYY'
,
'H5BABYH'
,
'H5BSSWA'
,
'H5BSSQ'
];
var
h5i
=
nJumpArr
.
indexOf
(
url_get_params
().
icid
);
if
((
/iphone|ipad|ipod/
.
test
(
ua
))
&&
h5i
>
-
1
)
{
window
.
location
.
href
=
"https://www.footseen.xyz?go=footseen&pmt=https://"
+
url_get_params
().
mrefer
+
'&h5Cid='
+
h5CidArr
[
h5i
];
}
// var nJumpArr = ['31184', '11134', '31179', '31183', '21144', '11125', '1116', '31147', '31186', '11159']
if
(
!
((
/iphone|ipad|ipod/
.
test
(
ua
))
||
(
/android/
.
test
(
ua
))))
{
//
if (!((/iphone|ipad|ipod/.test(ua)) || (/android/.test(ua)))) {
// if (nJumpArr.indexOf(url_get_params().icid) > -1) {
if
(
url_get_params
().
icid
!=
'31187'
)
{
if
(
url_get_params
().
from
!=
'pc'
)
{
window
.
location
.
href
=
"https://www.footseen.xyz?go=footseen&pmt=https://"
+
url_get_params
().
mrefer
;
}
else
{
$
.
ajax
({
url
:
'https://cpapi.footseen.xyz/activeLog/webActive'
,
data
:
{
activeType
:
3
,
pageID
:
'pcDownload'
,
//
if (url_get_params().icid != '31187') {
//
if (url_get_params().from != 'pc') {
//
window.location.href = "https://www.footseen.xyz?go=footseen&pmt=https://" + url_get_params().mrefer;
//
} else {
//
$.ajax({
//
url: 'https://cpapi.footseen.xyz/activeLog/webActive',
//
data: {
//
activeType: 3,
//
pageID: 'pcDownload',
},
success
:
function
(
data
)
{
//
},
//
success: function (data) {
}
})
}
}
//
}
//
})
//
}
//
}
// } else {
// if (url_get_params().icid != '31187') {
// window.location.href = "https://www.footseen.xyz?go=footseen";
// }
// }
}
//
}
</script>
<meta
charset=
"UTF-8"
>
<meta
name=
"renderer"
content=
"webkit"
>
...
...
This diff is collapsed.
Click to expand it.
index.html
View file @
73b01bd5
...
...
@@ -23,7 +23,10 @@
</script>
<script>
var
ua
=
window
.
navigator
.
userAgent
.
toLowerCase
();
if
(
!
((
/iphone|ipad|ipod/
.
test
(
ua
))
||
(
/android/
.
test
(
ua
))))
{
if
(
!
((
/android/
.
test
(
ua
))))
{
if
((
/iphone|ipad|ipod/
.
test
(
ua
))){
window
.
location
.
href
=
'https://www.footseen.xyz/mobile/index.html'
;
}
window
.
location
.
href
=
"https://www.footseen.xyz?go=footseen"
;
}
</script>
...
...
This diff is collapsed.
Click to expand it.
iosnew.html
View file @
73b01bd5
...
...
@@ -23,7 +23,10 @@
</script>
<script>
var
ua
=
window
.
navigator
.
userAgent
.
toLowerCase
();
if
(
!
((
/iphone|ipad|ipod/
.
test
(
ua
))
||
(
/android/
.
test
(
ua
))))
{
if
(
!
((
/android/
.
test
(
ua
))))
{
if
((
/iphone|ipad|ipod/
.
test
(
ua
))){
window
.
location
.
href
=
'https://www.footseen.xyz/mobile/index.html'
;
}
window
.
location
.
href
=
"https://www.footseen.xyz?go=footseen"
;
}
</script>
...
...
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