This commit is contained in:
Boof 2022-12-16 10:52:11 +01:00 committed by GitHub
parent 4dcb16985c
commit ac419c184f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,11 @@
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');
});
}

View File

@ -38,6 +38,7 @@
setInterval(addKrydder, 1000); setInterval(addKrydder, 1000);
</script> </script>
<script src="dlkrydder.js"></script>
</head> </head>
<body> <body>
<div id="krydder-container"></div> <div id="krydder-container"></div>