-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
185 lines (179 loc) · 4.93 KB
/
index.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
175
176
177
178
179
180
181
182
183
184
185
<!DOCTYPE html>
<html>
<head>
<title>Waste time for a score</title>
<style>
/* CSS for the leaderboard list */
.leaderboard {
font-family: Arial, sans-serif;
font-size: 16px;
color: #fff;
background-color: #0074D9;
padding: 20px;
border-radius: 10px;
width: 500px;
margin: 0 auto;
}
.leaderboard h2 {
margin-top: 0;
text-align: center;
}
.leaderboard table {
width: 100%;
border-collapse: collapse;
margin-top: 10px;
}
.leaderboard table th,
.leaderboard table td {
padding: 10px;
text-align: center;
border: 1px solid #fff;
}
.leaderboard table th {
background-color: #fff;
color: #0074D9;
font-weight: bold;
text-transform: uppercase;
}
.leaderboard table tr:nth-child(even) {
background-color: #fff;
color: #0074D9;
}
.leaderboard table tr:nth-child(odd) {
background-color: #0074D9;
color: #fff;
}
</style>
</head>
<body>
<div class="leaderboard">
<h2>Leaderboard</h2>
<table>
<thead>
<tr>
<th>Rank</th>
<th>Name</th>
<th>Score</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>DEMONLIKESPIE</td>
<td>inf</td>
</tr>
<tr>
<td>2</td>
<td>J</td>
<td>0</td>
</tr>
<tr>
<td>3</td>
<td>B</td>
<td>0</td>
</tr>
<tr>
<td>4</td>
<td></td>
<td>5</td>
</tr>
<tr>
<td>5</td>
<td>T</td>
<td>0</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<title>How to publish to go on leaderboard</title>
<style>
.popup {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
padding: 20px;
background-color: #fff;
border: 1px solid #000;
box-shadow: 0px 0px 10px #000;
z-index: 9999;
}
.overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0,0,0,0.5);
z-index: 9998;
}
</style>
</head>
<body>
<button onclick="showPopup()">How to publish score</button>
<div class="popup" id="popup">
<h2>101 on publishing scores</h2>
<p>You can now publish scores via google forms, you can still use discord. Dont lie, i can tell. https://discord.gg/qfumQhn5 (for idiots) To see your score, click end timer</p>
<button onclick="hidePopup()">Close</button>
</div>
<div class="overlay" id="overlay"></div>
<script>
function showPopup() {
document.getElementById("popup").style.display = "block";
document.getElementById("overlay").style.display = "block";
}
function hidePopup() {
document.getElementById("popup").style.display = "none";
document.getElementById("overlay").style.display = "none";
}
</script>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<style>
body {
font-family: Arial, sans-serif;
text-align: center;
}
h1 {
margin-top: 50px;
}
div {
font-size: 30px;
margin-top: 30px;
}
</style>
</head>
<body>
<!DOCTYPE html>
<html>
<head>
<title>Waste time</title>
<script type="text/javascript">
var startTime, endTime, totalTime;
function startTimer() {
startTime = new Date();
}
function endTimer() {
endTime = new Date();
totalTime = (endTime - startTime) / 1000; // convert to seconds
alert("You have spent " + totalTime + " seconds on this webpage.");
}
</script>
</head>
<body>
<h1>Time Spent on Webpage</h1>
<p>Click the button below to start the timer.</p>
<button onclick="startTimer()">Start Timer</button>
<p>Do whatever you want on this webpage.</p>
<button onclick="endTimer()">End Timer</button>
</body>
</html>
<a href="https://forms.gle/1nVxsUzWaEkgkWWdA%22%3EPublish score</a>