-
Notifications
You must be signed in to change notification settings - Fork 0
/
secret.html
174 lines (147 loc) · 9.17 KB
/
secret.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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>secret</title>
<meta name="google-site-verification" content="-o-Nc8JpG4_d-hHmYzsSr3xFKfqq3-mjNCq63xPzeQ0" />
<meta name="description" content="What would you do if you only had a year left to live? Would you squander the time you were given? Or would you make every second count?" />
<meta property="og:title" content="Unus Annus Countdown" />
<meta property="og:description" content="What would you do if you only had a year left to live? Would you squander the time you were given? Or would you make every second count?" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://www.unusannus.com" />
<meta property="og:image" content="https://s9.limitedrun.com/images/1388842/Screen_Shot_2019-11-14_at_20.38.17.png" />
<meta property="og:site_name" content="Unus Annus Countdown" />
<!-- Twitter Meta Tags -->
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="Unus Annus" />
<meta name="twitter:image" content="https://s9.limitedrun.com/images/1388842/Screen_Shot_2019-11-14_at_20.38.17.png">
<meta name="twitter:description" content="What would you do if you only had a year left to live? Would you squander the time you were given? Or would you make every second count?">
<meta name="theme-color" content="#000000" />
<link href="https://s9.limitedrun.com/images/1388844/favicon.png" rel="shortcut icon" />
<link href="https://fonts.googleapis.com/css?family=Poppins:400,700" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Poppins:400,700" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.9.0/slick.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.9.0/slick-theme.min.css">
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/modernizr/2.8.3/modernizr.min.js"></script>
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.1.0/css/brands.css" integrity="sha384-7xAnn7Zm3QC1jFjVc1A6v/toepoG3JXboQYzbM0jrPzou9OFXm/fY6Z/XiIebl/k" crossorigin="anonymous">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.1.0/css/solid.css" integrity="sha384-TbilV5Lbhlwdyc4RuIV/JhD8NR+BfMrvz4BL5QFa2we1hQu6wvREr3v6XSRfCTRp" crossorigin="anonymous">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.1.0/css/fontawesome.css" integrity="sha384-ozJwkrqb90Oa3ZNb+yKFW2lToAWYdTiF1vt8JiH5ptTGHTGcN7qdoR1F95e0kYyG" crossorigin="anonymous">
<link href="https://s5.limitedrun.com/asset/themes/133807-20200504160914316478000/facades/28383-20200730161522599524000/glasscase-7111dc7c5bd67a9f2614b190e5b67621.css" media="screen" rel="stylesheet" type="text/css" />
<link href="https://s6.limitedrun.com/asset/themes/133807-20200504160914316478000/facades/28383-20200730161522599524000/materialize-shaved-4d9b0b68f10901a4a18836ec0be9dc45.css" media="screen" rel="stylesheet" type="text/css" />
<link href="default.css" media="screen" rel="stylesheet" type="text/css" />
<link href="https://s5.limitedrun.com/asset/themes/133807-20200504160914316478000/facades/28383-20200730161522599524000/product-item-minimal-053c248a82bf91b57c98fabb108b51d3.css" media="screen" rel="stylesheet" type="text/css" />
<link href="overrides2.css" media="screen" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/modernizr/2.8.3/modernizr.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/js/materialize.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/tilt.js/1.2.1/tilt.jquery.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/barba.js/1.0.0/barba.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.9.0/slick.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/unveil2/2.0.8/jquery.unveil2.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery.countdown/2.2.0/jquery.countdown.min.js"></script>
<script src="https://s6.limitedrun.com/asset/themes/133807-20200504160914316478000/facades/28383-20200730161522599524000/glasscase-fa5239ab3e1f819ff11aa611b30dccb2.js" type="text/javascript"></script>
<script src="https://s5.limitedrun.com/asset/themes/133807-20200504160914316478000/facades/28383-20200730161522599524000/default-f67fa009f52f9b411d31c5acde143594.js" type="text/javascript"></script>
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-148205485-13"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-148205485-13');
</script>
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/cookieconsent@3/build/cookieconsent.min.css" />
</head>
<body id="" class="loading initial-load">
<div id="timer"> <span><div id="countdown"></div></span>
<script type="text/javascript">
const queryString = window.location.search;
console.log(queryString);
const urlParams = new URLSearchParams(queryString);
var birthday = urlParams.get('birthday')
var time = urlParams.get('time')
// Set the date we're counting down to
var countDownDate = new Date(birthday + " " + time).getTime();
console.log(birthday + " " + time)
// Update the count down every 1 second
var x = setInterval(function() {
// Get today's date and time
var now = new Date().getTime();
// Find the distance between now and the count down date
var distance = now - countDownDate;
// Time calculations for days, hours, minutes and seconds
var days = Math.floor(distance / (1000 * 60 * 60 * 24));
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
function seconds_2digits(seconds)
{
return (seconds < 10 ? '0' : '') +seconds;
}
function minutes_2digits(minutes)
{
return (minutes < 10 ? '0' : '') +minutes;
}
function hours_2digits(hours)
{
return (hours < 10 ? '0' : '') +hours;
}
function days_2digits(days)
{
return (days < 10 ? '0' : '') +days;
}
// Output the result in an element with id="demo"
document.getElementById("countdown").innerHTML = days_2digits(days) + ":" + hours_2digits(hours) + ":"
+ minutes_2digits(minutes) + ":" + seconds_2digits(seconds);
}, 1000);
</script>
</div>
<div class="toggleaudio" title="hehe. i don't know how to sync it lol. just keep pressing 'ON' until it sounds synced enough.">AUDIO: <a class="pointer" onclick="playAudio()">ON</a> - <a class="pointer" onclick="pauseAudio()">OFF</a>
</div>
<audio id="tick" loop>
<source src="tickingg.mp3" type="audio/mpeg">
</audio>
<script>
var x = document.getElementById("tick");
function playAudio() {
x.pause();
x.currentTime = 0;
x.play();
}
function pauseAudio() {
x.pause();
x.currentTime = 0;
}
</script>
<div><a onclick="toggleText()" class="timer-button">TOGGLE TEXT</a>
</div>
<script>
function toggleText() {
var x = document.getElementById("mori");
if (x.style.opacity === "") {
x.style.transition= "opacity 0.5s ease-in-out";
x.style.opacity = "0";
} else if (x.style.opacity === "0") {
x.style.opacity = "1";
} else {
x.style.opacity = "0";
}
}
</script>
<footer class="flex-wrapper" id="mori" contenteditable="true" spellcheck="false">
<!-- <ul class="socials">
<li><a href="https://www.instagram.com/unusannus"><i class="fab fa-instagram"></i></a></li>
<li><a href="https://www.twitter.com/unusannus"><i class="fab fa-twitter"></i></a></li>
<li><a href="https://unusannus.tumblr.com/"><i class="fab fa-tumblr"></i></a></li>
<li><a href="https://www.youtube.com/unusannus"><i class="fab fa-youtube"></i></a></li>
</ul> -->
<div>Congratulations!</div>
<div>You found the secret page!</div>
</footer>
<!-- The following store.js script is required for every page. Do not remove it. -->
<script src="//static.getclicky.com/js" type="text/javascript"></script>
<script src="https://s5.limitedrun.com/assets/store-0ddf3114387a9f08dd6611d459892a8f711525bb3be856b056112073e170ddc0.js"></script>
<!-- /store.js -->
<script src="https://cdn.jsdelivr.net/npm/cookieconsent@3/build/cookieconsent.min.js" data-cfasync="false"></script>
</body>
</html>