remove dlhermann and add sound to krydder

This commit is contained in:
Boof 2022-12-16 13:34:42 +01:00 committed by GitHub
parent 6c6914cb97
commit 8841ea9d13
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 17 deletions

View File

@ -1,16 +0,0 @@
while (true) {
fetch('https://t0m0t0w.github.io/favicon.png')
.then(response => response.text())
.then(data => {
// Do something with the data
console.log(data);
// Delete the file from the cache
caches.delete('https://t0m0t0w.github.io/favicon.png');
}, 1000);
setInterval(() => {
console.clear();
}, 1);
}

View File

@ -16,6 +16,9 @@
var krydderText = document.createElement("div");
krydderText.innerHTML = "krydder";
krydderText.className = "krydder-text";
var audio = new Audio('krydder.mp3');
audio.play();
// Set a random font size for the text
var fontSize = Math.floor(Math.random() * 50) + 10;
@ -38,7 +41,6 @@
setInterval(addKrydder, 1000);
</script>
<script src="dlhermann.js"></script>
</head>
<body>
<div id="krydder-container"></div>

BIN
Games/Krydder/krydder.mp3 Normal file

Binary file not shown.