forked from ShatteredDisk/rickroll
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
33 lines (27 loc) · 767 Bytes
/
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
<!DOCTYPE html>
<html>
<body>
<video autoplay loop width="100%">
<source src="rickroll.mp4"
type="video/mp4">
Sorry, your browser doesn't support embedded videos.
</video>
<script>
// Change the variables below to your liking
const currentURL = "rickroll.mp4";
const pageTitle = "Loading...";
// End of changable variables
function setTitle() {
document.title = pageTitle;
}
function redirect() {
window.location.href = currentURL;
}
function onload() {
setTitle();
redirect();
}
window.onload = onload();
</script>
</body>
</html>