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
7e4ade88
authored
3 years ago
by
dabai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
替换share下载
parent
2f70ebcc
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
45 additions
and
29 deletions
b/download.html
ios.html
share.html
shareB.html
b/download.html
View file @
7e4ade88
...
...
@@ -2,6 +2,7 @@
<html
lang=
"en"
>
<head>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script
src=
"https://res.sharetrace.com/sharetrace.min.js"
></script>
<script
async
src=
"https://www.googletagmanager.com/gtag/js?id=UA-135929443-1"
></script>
<script>
window
.
dataLayer
=
window
.
dataLayer
||
[];
...
...
@@ -369,6 +370,21 @@
var
clickFlag
=
true
;
var
ua
=
window
.
navigator
.
userAgent
.
toLowerCase
();
if
(
/iphone|ipad|ipod/
.
test
(
ua
)){
var
params
=
{
icid
:
iosData
}
ShareTrace
.
init
({
appkey
:
"93adc025c1e699fe"
,
// 此值必填
param
:
JSON
.
stringify
(
params
),
success
:
function
()
{
console
.
log
(
'成功'
)
},
error
:
function
(
msg
)
{
console
.
log
(
'失败'
)
}
});
$
(
'.mBtn2'
).
hide
();
$
(
'.mIosDesc'
).
show
();
var
btnType
=
true
;
...
...
@@ -399,7 +415,8 @@
btnType
=
false
;
}
setTimeout
(
function
(){
window
.
location
.
href
=
'https://testflight.apple.com/join/yQuQniSm'
;
// window.location.href = 'https://testflight.apple.com/join/yQuQniSm';
ShareTrace
.
download
();
},
1500
)
})
...
...
This diff is collapsed.
Click to expand it.
ios.html
View file @
7e4ade88
<!DOCTYPE html>
<html
lang=
"en"
>
<head>
<
!--<script src="https://res.sharetrace.com/sharetrace.min.js"></script>--
>
<
script
src=
"https://res.sharetrace.com/sharetrace.min.js"
></script
>
<script
async
src=
'https://www.google-analytics.com/analytics.js'
></script>
<script>
window
.
ga
=
window
.
ga
||
function
(){(
ga
.
q
=
ga
.
q
||
[]).
push
(
arguments
)};
ga
.
l
=+
new
Date
;
...
...
@@ -65,16 +65,16 @@ var data = url_get_params();
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)
//
}
//
});
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
()
{
...
...
@@ -95,8 +95,8 @@ $(".iosDown").on("click", function () {
})
function
gtag_report_conversion
()
{
setTimeout
(
function
(){
window
.
location
.
href
=
'https://apps.apple.com/us/app/footseen-random-video-chat-app/id1491129400'
;
//
ShareTrace.download();
//
window.location.href = 'https://apps.apple.com/us/app/footseen-random-video-chat-app/id1491129400';
ShareTrace
.
download
();
},
500
)
}
$
(
'.topUp'
).
on
(
'click'
,
function
(){
...
...
This diff is collapsed.
Click to expand it.
share.html
View file @
7e4ade88
<!DOCTYPE html>
<html
lang=
"en"
>
<head>
<script
type=
"text/javascript"
charset=
"UTF-8"
src=
"https://web.cdn.openinstall.io/openinstall.js"
></script>
<meta
charset=
"UTF-8"
>
<meta
name=
"renderer"
content=
"webkit"
>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
>
...
...
@@ -148,7 +147,7 @@
"lang"
:
sessionStorage
.
lang
,
"type"
:
getRequest
().
type
,
};
// var data = OpenInstall.parseUrlParams();
$
(
".iosDown"
).
on
(
"click"
,
function
()
{
var
userAgent
=
navigator
.
userAgent
;
//取得浏览器的userAgent字符串
...
...
This diff is collapsed.
Click to expand it.
shareB.html
View file @
7e4ade88
<!DOCTYPE html>
<html
lang=
"en"
>
<head>
<
!--<script src="https://res.sharetrace.com/sharetrace.min.js"></script>--
>
<
script
src=
"https://res.sharetrace.com/sharetrace.min.js"
></script
>
<meta
charset=
"UTF-8"
>
<meta
name=
"renderer"
content=
"webkit"
>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
>
...
...
@@ -140,19 +140,19 @@
icid
:
'iosftsB'
}
//
ShareTrace.init({
//
appkey: "93adc025c1e699fe", // 此值必填
//
param: JSON.stringify(params),
//
success: function() {
//
console.log('成功')
//
},
//
error: function(msg) {
//
console.log('失败')
//
}
//
});
ShareTrace
.
init
({
appkey
:
"93adc025c1e699fe"
,
// 此值必填
param
:
JSON
.
stringify
(
params
),
success
:
function
()
{
console
.
log
(
'成功'
)
},
error
:
function
(
msg
)
{
console
.
log
(
'失败'
)
}
});
$
(
'.iosDown'
).
on
(
'click'
,
function
(){
window
.
location
.
href
=
'https://testflight.apple.com/join/yQuQniSm'
;
//
ShareTrace.download();
//
window.location.href = 'https://testflight.apple.com/join/yQuQniSm';
ShareTrace
.
download
();
})
}
else
{
...
...
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