-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpinterest-deepview.html
92 lines (83 loc) · 2.6 KB
/
pinterest-deepview.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
<html>
<head>
<style>
body,
div {
margin: 0;
padding: 0;
border: none;
color: #fff;
}
body,
body div {
display: block;
box-sizing: border-box;
}
body {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 0;
background: #FFFFFF;
transition: all 0.24s linear;
-moz-transition: all 0.24s linear;
-webkit-transition: all 0.24s linear;
}
.vCenter {
position: absolute;
width: 100%;
top: 50%;
-moz-transform: translateY(-50%);
-o-transform: translateY(-50%);
-webkit-transform: translateY(-50%);
transform: translateY(-50%);
}
.txt {
width: 100%;
height: auto;
margin-top: 32px;
padding: 0 48px 0;
font-family: Helvetica, Arial, Sans-Serif;
font-size: 46px;
font-weight: 300;
line-height: 20px;
color: #FF00AA;
text-align: center;
}
.link {
text-align: center;
display: block;
font-size: 26px;
font-weight: 600;
font-family: Helvetica, Arial, Sans-Serif;
}
</style>
</head>
<body>
<div class="vCenter">
<div class="txt">Branch is #1 in deep linking.</div>
<br/>
<br/>
<a href="https://kiih-alternate-ahmed.branchbeta.link/UL" class="link"> Universal Link </a>
<br/><br/>
<br/><br/>
<br/><br/>
<a href="https://kiih-alternate-ahmed.branchbeta.link/123" class="link" onclick="branchRedirect();">Deepview CTA Button</a>
</div>
<iframe id="l" width="1" height="1" style="visibility:hidden"></iframe>
</body>
<script type="text/javascript">
function branchRedirect() {
setTimeout(function() {
window.location = "pinterest-deepview.html"
// window.location = "itms-apps://itunes.apple.com/us/app/branch-monster-factory/id917737838?mt=8";
//document.getElementById("l").src = "https://kiih-alternate-ahmed.branchbeta.link/abc?__branch_flow_type=viewapp&__branch_flow_id=340280593531498405&__branch_mobile_deepview_type=1";//https://itunes.apple.com/us/app/branch-monster-factory/id917737838?mt=8";
//https://4ie0-alternate.app.link/O6asOGZJJy?__branch_flow_type=viewapp&__branch_flow_id=340280593531498405&__branch_mobile_deepview_type=1";
// var JS = document.createElement('script');
// JS.text = "setTimeout(function() { window.location = https:\/\/4ie0-alternate.app.link\/O6asOGZJJy?__branch_flow_type=viewapp&__branch_flow_id=340280593531498405&__branch_mobile_deepview_type=1\"; document.getElementById(\"l\").src = \" https:\/\/4ie0-alternate.app.link\/O6asOGZJJy?__branch_flow_type=viewapp&__branch_flow_id=340280593531498405&__branch_mobile_deepview_type=1\"}, 0);\r\n";
// document.body.appendChild(JS);
}, 1000)};
</script>
</html>