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
7e6b712f
authored
4 years ago
by
dabai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ios 下载 测试
parent
59218a8a
master
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
72 additions
and
18 deletions
ios.html
text3.html
ios.html
View file @
7e6b712f
...
@@ -83,17 +83,39 @@
...
@@ -83,17 +83,39 @@
<script
src=
'https://www.footseen.com/layer-v3.1.0/layer/layer.js'
></script>
<script
src=
'https://www.footseen.com/layer-v3.1.0/layer/layer.js'
></script>
<script
type=
"text/javascript"
>
<script
type=
"text/javascript"
>
var
data
=
OpenInstall
.
parseUrlParams
();
// var data = OpenInstall.parseUrlParams();
new
OpenInstall
({
//new OpenInstall({
appKey
:
"dzxj4c"
,
// appKey: "dzxj4c",
preferWakeup
:
true
,
// preferWakeup: true,
mask
:
function
()
{
// mask: function () {
return
'
<
div
id
=
"openinstall_shadow"
class
=
"shadow-img"
><
img
src
=
"images/share-img.png"
alt
=
""
><
/div>
'
// return '
<
div
id
=
"openinstall_shadow"
class
=
"shadow-img"
><
img
src
=
"images/share-img.png"
alt
=
""
><
/div>
'
},
// },
onready
:
function
()
{
// onready: function () {
var
m
=
this
;
// var m = this;
m
.
schemeWakeup
();
// m.schemeWakeup();
$
(
".iosDown"
).
on
(
"click"
,
function
()
{
// $(".iosDown").on("click", function () {
//
// ga('send', 'event', {
// eventCategory: 'ios',
// eventAction: 'click',
// eventLabel: 'ios'
// });
// ga('clientTracker.send', 'event', {
// eventCategory: 'ios',
// eventAction: 'click',
// eventLabel: 'ios'
// });
// gtag('event', 'conversion', {
// 'send_to': 'AW-678006312/kqI0CJCE-7gBEKicpsMC',
// 'event_callback': gtag_report_conversion('apk',m)
// });
// return false;
// })
// }
//}, data);
var
data
=
url_get_params
();
console
.
log
(
data
);
$
(
".iosDown"
).
on
(
"click"
,
function
()
{
ga
(
'send'
,
'event'
,
{
ga
(
'send'
,
'event'
,
{
eventCategory
:
'ios'
,
eventCategory
:
'ios'
,
...
@@ -107,20 +129,50 @@ new OpenInstall({
...
@@ -107,20 +129,50 @@ new OpenInstall({
});
});
gtag
(
'event'
,
'conversion'
,
{
gtag
(
'event'
,
'conversion'
,
{
'send_to'
:
'AW-678006312/kqI0CJCE-7gBEKicpsMC'
,
'send_to'
:
'AW-678006312/kqI0CJCE-7gBEKicpsMC'
,
'event_callback'
:
gtag_report_conversion
(
'apk'
,
m
)
'event_callback'
:
gtag_report_conversion
(
)
});
});
return
false
;
})
})
}
function
gtag_report_conversion
()
{
},
data
);
copyText
(
data
.
icid
)
function
gtag_report_conversion
(
url
,
m
)
{
setTimeout
(
function
(){
setTimeout
(
function
(){
m
.
wakeupOrInstall
()
;
window
.
location
.
href
=
'https://apps.apple.com/us/app/footseen-random-video-chat-app/id1491129400'
;
},
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
()
{
var
url
=
location
.
href
;
var
theRequest
=
new
Object
();
if
(
url
.
indexOf
(
"?"
)
!=
-
1
)
{
var
str
=
url
.
substr
(
url
.
indexOf
(
"?"
)
+
1
);
strs
=
str
.
split
(
"&"
);
for
(
var
i
=
0
;
i
<
strs
.
length
;
i
++
)
{
theRequest
[
strs
[
i
].
split
(
"="
)[
0
]]
=
unescape
(
strs
[
i
].
split
(
"="
)[
1
]);
}
}
return
theRequest
;
}
</script>
</script>
</html>
</html>
This diff is collapsed.
Click to expand it.
text3.html
View file @
7e6b712f
...
@@ -202,5 +202,7 @@
...
@@ -202,5 +202,7 @@
currentFocus
.
focus
();
currentFocus
.
focus
();
return
flag
;
return
flag
;
}
}
</script>
</script>
</html>
</html>
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