blob: d429e7be7547d67b585db492b1b69348bcebfffd (
plain)
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
|
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Facebook Downtime | fbdowntime.com</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Facebook Downtime">
<meta name="keywords" content="facebook, downtime, fbdowntime.com">
<link rel="canonical" href="https://fbdowntime.com">
<style>
body {
background-color: #3b5998;
color: white;
font-family: sans-serif;
overflow: hidden;
position: absolute;
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
}
h1 {
display: block;
}
a {
color: #aaa;
text-decoration: none;
}
a:hover {
color: #ddd;
}
</style>
<script src="https://code.jquery.com/jquery-3.6.0.slim.min.js"
integrity="sha256-u7e5khyithlIdTpu22PHhENmPcRdFiHRjhAuHcs05RI=" crossorigin="anonymous"></script>
<script src="https://landsnail.fbdowntime.com/script.js" data-site="KMEYHTCQ" defer></script>
</head>
<body>
<div>
<h1>Facebook Downtime</h1>
<p>Congratulations Facebook, you broke the internet.</p>
<h2>2021 yearly uptime is <span id="ut">99.99%</span></h2>
<p>Created by <a href="https://yuv.al">Yuval Adam</a>. Source code on <a
href="https://github.com/yuvadm/fbdowntime.com">Github</a>.</p>
</div>
<script type="text/javascript">
function getDowntime() {
var d = new Date(2021, 9, 4, 18, 00, 0, 0).getTime();
var now = new Date();
var off = now.getTimezoneOffset() * 60000;
now = now.getTime();
var downtime = (100 - (((now + off) - d) / 31536000000) * 100);
return (Math.round(downtime * 1000000) / 1000000).toFixed(6) + "%";
}
$(document).ready(function () {
update();
});
function update() {
$("#ut").text(getDowntime());
setTimeout('update()', 1000);
}
</script>
</body>
</html>
|