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
fe47f2e1
authored
Dec 07, 2020
by
dabai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ios 下载修改
parent
84b430f0
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
104 additions
and
84 deletions
download.html
download51.html
download52.html
download53.html
ios.html
download.html
View file @
fe47f2e1
<!DOCTYPE html>
<!DOCTYPE html>
<html
lang=
"en"
>
<html
lang=
"en"
>
<head>
<head>
<script
type=
"text/javascript"
src=
"//res.cdn.openinstall.io/openinstall
.js"
></script>
<script
src=
"https://res.sharetrace.com/sharetrace.min
.js"
></script>
<meta
charset=
"UTF-8"
>
<meta
charset=
"UTF-8"
>
<meta
name=
"renderer"
content=
"webkit"
>
<meta
name=
"renderer"
content=
"webkit"
>
...
@@ -128,19 +128,26 @@
...
@@ -128,19 +128,26 @@
var
clickFlag
=
true
;
var
clickFlag
=
true
;
var
ua
=
window
.
navigator
.
userAgent
.
toLowerCase
();
var
ua
=
window
.
navigator
.
userAgent
.
toLowerCase
();
if
(
/iphone|ipad|ipod/
.
test
(
ua
)){
if
(
/iphone|ipad|ipod/
.
test
(
ua
)){
var
data
=
{
var
params
=
{
icid
:
iosData
icid
:
iosData
,
}
}
ShareTrace
.
init
({
appkey
:
"cd3ba48d0699c7fa"
,
// 此值必填
param
:
JSON
.
stringify
(
params
),
success
:
function
()
{
console
.
log
(
"init success..."
)
},
error
:
function
(
msg
)
{
console
.
log
(
msg
)
}
});
var
button
=
document
.
getElementById
(
"iosDown"
);
var
button
=
document
.
getElementById
(
"iosDown"
);
button
.
onclick
=
function
()
{
button
.
onclick
=
function
()
{
if
(
clickFlag
){
clickFlag
=
false
;
copyText
(
iosData
);
}
setTimeout
(
function
()
{
setTimeout
(
function
()
{
window
.
location
.
href
=
'https://apps.apple.com/us/app/footseen-random-video-chat-app/id1491129400'
;
ShareTrace
.
download
()
;
},
10
00
)
},
5
00
)
}
}
}
else
{
}
else
{
setTimeout
(
function
(){
setTimeout
(
function
(){
...
@@ -174,26 +181,26 @@
...
@@ -174,26 +181,26 @@
function
add0
(
m
)
{
function
add0
(
m
)
{
return
m
<
10
?
'0'
+
m
+
""
:
m
+
""
return
m
<
10
?
'0'
+
m
+
""
:
m
+
""
}
}
//
function
copyText
(
text
)
{
//
function copyText(text) {
var
textarea
=
document
.
createElement
(
"textarea"
);
//
var textarea = document.createElement("textarea");
var
currentFocus
=
document
.
activeElement
;
//
var currentFocus = document.activeElement;
document
.
body
.
appendChild
(
textarea
);
//
document.body.appendChild(textarea);
textarea
.
value
=
text
;
//
textarea.value = text;
textarea
.
focus
();
//
textarea.focus();
if
(
textarea
.
setSelectionRange
)
//
if (textarea.setSelectionRange)
textarea
.
setSelectionRange
(
0
,
textarea
.
value
.
length
);
//
textarea.setSelectionRange(0, textarea.value.length);
else
//
else
textarea
.
select
();
//
textarea.select();
try
{
//
try {
var
flag
=
document
.
execCommand
(
"copy"
);
//
var flag = document.execCommand("copy");
}
catch
(
eo
){
//
} catch(eo){
var
flag
=
false
;
//
var flag = false;
}
//
}
document
.
body
.
removeChild
(
textarea
);
//
document.body.removeChild(textarea);
currentFocus
.
focus
();
//
currentFocus.focus();
return
flag
;
//
return flag;
}
//
}
</script>
</script>
...
...
download51.html
View file @
fe47f2e1
<!DOCTYPE html>
<!DOCTYPE html>
<html
lang=
"en"
>
<html
lang=
"en"
>
<head>
<head>
<script
type=
"text/javascript"
src=
"//res.cdn.openinstall.io/openinstall
.js"
></script>
<script
src=
"https://res.sharetrace.com/sharetrace.min
.js"
></script>
<!-- Global site tag (gtag.js) - Google Analytics -->
<!-- Global site tag (gtag.js) - Google Analytics -->
<script
async
src=
"https://www.googletagmanager.com/gtag/js?id=UA-176823854-3"
></script>
<script
async
src=
"https://www.googletagmanager.com/gtag/js?id=UA-176823854-3"
></script>
<script>
<script>
...
@@ -113,19 +113,26 @@
...
@@ -113,19 +113,26 @@
var
clickFlag
=
true
;
var
clickFlag
=
true
;
var
ua
=
window
.
navigator
.
userAgent
.
toLowerCase
();
var
ua
=
window
.
navigator
.
userAgent
.
toLowerCase
();
if
(
/iphone|ipad|ipod/
.
test
(
ua
)){
if
(
/iphone|ipad|ipod/
.
test
(
ua
)){
var
data
=
{
var
params
=
{
icid
:
iosData
icid
:
iosData
,
}
}
ShareTrace
.
init
({
appkey
:
"cd3ba48d0699c7fa"
,
// 此值必填
param
:
JSON
.
stringify
(
params
),
success
:
function
()
{
console
.
log
(
"init success..."
)
},
error
:
function
(
msg
)
{
console
.
log
(
msg
)
}
});
var
button
=
document
.
getElementById
(
"iosDown"
);
var
button
=
document
.
getElementById
(
"iosDown"
);
button
.
onclick
=
function
()
{
button
.
onclick
=
function
()
{
if
(
clickFlag
){
clickFlag
=
false
;
copyText
(
iosData
);
}
setTimeout
(
function
()
{
setTimeout
(
function
()
{
window
.
location
.
href
=
'https://apps.apple.com/us/app/footseen-random-video-chat-app/id1491129400'
;
ShareTrace
.
download
()
;
},
10
00
)
},
5
00
)
}
}
}
else
{
}
else
{
setTimeout
(
function
(){
setTimeout
(
function
(){
...
...
download52.html
View file @
fe47f2e1
<!DOCTYPE html>
<!DOCTYPE html>
<html
lang=
"en"
>
<html
lang=
"en"
>
<head>
<head>
<script
type=
"text/javascript"
src=
"//res.cdn.openinstall.io/openinstall
.js"
></script>
<script
src=
"https://res.sharetrace.com/sharetrace.min
.js"
></script>
<!-- Global site tag (gtag.js) - Google Analytics -->
<!-- Global site tag (gtag.js) - Google Analytics -->
<script
async
src=
"https://www.googletagmanager.com/gtag/js?id=UA-176823854-4"
></script>
<script
async
src=
"https://www.googletagmanager.com/gtag/js?id=UA-176823854-4"
></script>
<script>
<script>
...
@@ -113,19 +113,26 @@
...
@@ -113,19 +113,26 @@
var
clickFlag
=
true
;
var
clickFlag
=
true
;
var
ua
=
window
.
navigator
.
userAgent
.
toLowerCase
();
var
ua
=
window
.
navigator
.
userAgent
.
toLowerCase
();
if
(
/iphone|ipad|ipod/
.
test
(
ua
)){
if
(
/iphone|ipad|ipod/
.
test
(
ua
)){
var
data
=
{
var
params
=
{
icid
:
iosData
icid
:
iosData
,
}
}
ShareTrace
.
init
({
appkey
:
"cd3ba48d0699c7fa"
,
// 此值必填
param
:
JSON
.
stringify
(
params
),
success
:
function
()
{
console
.
log
(
"init success..."
)
},
error
:
function
(
msg
)
{
console
.
log
(
msg
)
}
});
var
button
=
document
.
getElementById
(
"iosDown"
);
var
button
=
document
.
getElementById
(
"iosDown"
);
button
.
onclick
=
function
()
{
button
.
onclick
=
function
()
{
if
(
clickFlag
){
clickFlag
=
false
;
copyText
(
iosData
);
}
setTimeout
(
function
()
{
setTimeout
(
function
()
{
window
.
location
.
href
=
'https://apps.apple.com/us/app/footseen-random-video-chat-app/id1491129400'
;
ShareTrace
.
download
()
;
},
10
00
)
},
5
00
)
}
}
}
else
{
}
else
{
setTimeout
(
function
(){
setTimeout
(
function
(){
...
...
download53.html
View file @
fe47f2e1
<!DOCTYPE html>
<!DOCTYPE html>
<html
lang=
"en"
>
<html
lang=
"en"
>
<head>
<head>
<script
type=
"text/javascript"
src=
"//res.cdn.openinstall.io/openinstall
.js"
></script>
<script
src=
"https://res.sharetrace.com/sharetrace.min
.js"
></script>
<!-- Global site tag (gtag.js) - Google Analytics -->
<!-- Global site tag (gtag.js) - Google Analytics -->
<script
async
src=
"https://www.googletagmanager.com/gtag/js?id=UA-176823854-5"
></script>
<script
async
src=
"https://www.googletagmanager.com/gtag/js?id=UA-176823854-5"
></script>
<script>
<script>
...
@@ -113,19 +113,26 @@
...
@@ -113,19 +113,26 @@
var
clickFlag
=
true
;
var
clickFlag
=
true
;
var
ua
=
window
.
navigator
.
userAgent
.
toLowerCase
();
var
ua
=
window
.
navigator
.
userAgent
.
toLowerCase
();
if
(
/iphone|ipad|ipod/
.
test
(
ua
)){
if
(
/iphone|ipad|ipod/
.
test
(
ua
)){
var
data
=
{
var
params
=
{
icid
:
iosData
icid
:
iosData
,
}
}
ShareTrace
.
init
({
appkey
:
"cd3ba48d0699c7fa"
,
// 此值必填
param
:
JSON
.
stringify
(
params
),
success
:
function
()
{
console
.
log
(
"init success..."
)
},
error
:
function
(
msg
)
{
console
.
log
(
msg
)
}
});
var
button
=
document
.
getElementById
(
"iosDown"
);
var
button
=
document
.
getElementById
(
"iosDown"
);
button
.
onclick
=
function
()
{
button
.
onclick
=
function
()
{
if
(
clickFlag
){
clickFlag
=
false
;
copyText
(
iosData
);
}
setTimeout
(
function
()
{
setTimeout
(
function
()
{
window
.
location
.
href
=
'https://apps.apple.com/us/app/footseen-random-video-chat-app/id1491129400'
;
ShareTrace
.
download
()
;
},
10
00
)
},
5
00
)
}
}
}
else
{
}
else
{
setTimeout
(
function
(){
setTimeout
(
function
(){
...
...
ios.html
View file @
fe47f2e1
<!DOCTYPE html>
<!DOCTYPE html>
<html
lang=
"en"
>
<html
lang=
"en"
>
<head>
<head>
<script
type=
"text/javascript"
src=
"//res.cdn.openinstall.io/openinstall
.js"
></script>
<script
src=
"https://res.sharetrace.com/sharetrace.min
.js"
></script>
<!--<script src="https://pv.sohu.com/cityjson?ie=utf-8"></script>-->
<!--<script src="https://pv.sohu.com/cityjson?ie=utf-8"></script>-->
<!--<script>
<!--<script>
var ua = navigator.userAgent.toLowerCase();
var ua = navigator.userAgent.toLowerCase();
...
@@ -114,7 +114,20 @@
...
@@ -114,7 +114,20 @@
// }
// }
//}, data);
//}, data);
var
data
=
url_get_params
();
var
data
=
url_get_params
();
console
.
log
(
data
);
var
params
=
{
icid
:
data
.
icid
,
}
ShareTrace
.
init
({
appkey
:
"cd3ba48d0699c7fa"
,
// 此值必填
param
:
JSON
.
stringify
(
params
),
success
:
function
()
{
console
.
log
(
"init success..."
)
},
error
:
function
(
msg
)
{
console
.
log
(
msg
)
}
});
console
.
log
(
params
);
$
(
".iosDown"
).
on
(
"click"
,
function
()
{
$
(
".iosDown"
).
on
(
"click"
,
function
()
{
ga
(
'send'
,
'event'
,
{
ga
(
'send'
,
'event'
,
{
...
@@ -133,35 +146,14 @@ $(".iosDown").on("click", function () {
...
@@ -133,35 +146,14 @@ $(".iosDown").on("click", function () {
});
});
})
})
function
gtag_report_conversion
()
{
function
gtag_report_conversion
()
{
copyText
(
data
.
icid
)
setTimeout
(
function
(){
setTimeout
(
function
(){
window
.
location
.
href
=
'https://apps.apple.com/us/app/footseen-random-video-chat-app/id1491129400'
;
ShareTrace
.
download
()
;
},
500
)
},
500
)
}
}
$
(
'.topUp'
).
on
(
'click'
,
function
(){
$
(
'.topUp'
).
on
(
'click'
,
function
(){
window
.
location
.
href
=
'https://www.footseen.com/footseen/phonepay/applepay.html?lang='
+
sessionStorage
.
lang
+
'&gofrom=web'
+
'&gofrom=web&cidStr=h5_footseengw'
;
window
.
location
.
href
=
'https://www.footseen.com/footseen/phonepay/applepay.html?lang='
+
sessionStorage
.
lang
+
'&gofrom=web'
+
'&gofrom=web&cidStr=h5_footseengw'
;
})
})
function
copyText
(
text
)
{
var
textarea
=
document
.
createElement
(
"textarea"
);
var
currentFocus
=
document
.
activeElement
;
document
.
body
.
appendChild
(
textarea
);
textarea
.
value
=
text
;
textarea
.
focus
();
if
(
textarea
.
setSelectionRange
)
textarea
.
setSelectionRange
(
0
,
textarea
.
value
.
length
);
else
textarea
.
select
();
try
{
var
flag
=
document
.
execCommand
(
"copy"
);
}
catch
(
eo
){
var
flag
=
false
;
}
document
.
body
.
removeChild
(
textarea
);
currentFocus
.
focus
();
return
flag
;
}
function
url_get_params
()
{
function
url_get_params
()
{
var
url
=
location
.
href
;
var
url
=
location
.
href
;
var
theRequest
=
new
Object
();
var
theRequest
=
new
Object
();
...
...
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