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
Dec 03, 2020
by
dabai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ios 下载 测试
parent
59218a8a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
86 additions
and
32 deletions
ios.html
text3.html
ios.html
View file @
7e6b712f
...
...
@@ -83,44 +83,96 @@
<script
src=
'https://www.footseen.com/layer-v3.1.0/layer/layer.js'
></script>
<script
type=
"text/javascript"
>
var
data
=
OpenInstall
.
parseUrlParams
();
new
OpenInstall
({
appKey
:
"dzxj4c"
,
preferWakeup
:
true
,
mask
:
function
()
{
return
'
<
div
id
=
"openinstall_shadow"
class
=
"shadow-img"
><
img
src
=
"images/share-img.png"
alt
=
""
><
/div>
'
},
onready
:
function
()
{
var
m
=
this
;
m
.
schemeWakeup
();
$
(
".iosDown"
).
on
(
"click"
,
function
()
{
// var data = OpenInstall.parseUrlParams();
//new OpenInstall({
// appKey: "dzxj4c",
// preferWakeup: true,
// mask: function () {
// return '
<
div
id
=
"openinstall_shadow"
class
=
"shadow-img"
><
img
src
=
"images/share-img.png"
alt
=
""
><
/div>
'
// },
// onready: function () {
// var m = this;
// m.schemeWakeup();
// $(".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'
,
{
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
);
function
gtag_report_conversion
(
url
,
m
)
{
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
()
});
})
function
gtag_report_conversion
()
{
copyText
(
data
.
icid
)
setTimeout
(
function
(){
m
.
wakeupOrInstall
()
;
window
.
location
.
href
=
'https://apps.apple.com/us/app/footseen-random-video-chat-app/id1491129400'
;
},
500
)
}
$
(
'.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'
;
})
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>
</html>
text3.html
View file @
7e6b712f
...
...
@@ -202,5 +202,7 @@
currentFocus
.
focus
();
return
flag
;
}
</script>
</html>
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