From 9402e92ac0314016e8ecf4b4cda0b20efd2fe9e0 Mon Sep 17 00:00:00 2001 From: Do_Not_Dusturb <152636544+Do-Not-Dusturb@users.noreply.github.com> Date: Fri, 8 Nov 2024 22:58:15 -0500 Subject: [PATCH] Update main.js --- main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.js b/main.js index d781a47..1ff5b02 100644 --- a/main.js +++ b/main.js @@ -1,10 +1,10 @@ window.addEventListener("keydown", function (e) { if (e.key === "q" || e.key === "Q") { - // Change the favicon + // Change the favicon so uhh ya let link = document.querySelector("link[rel*='icon']") || document.createElement('link'); link.type = 'image/png'; link.rel = 'icon'; - link.href = 'https://raw.githubusercontent.com/Nintendoboi222/nintendoboi222.github.io/main/gmail-logo.png'; + link.href = 'https://raw.githubusercontent.com/Nintendoboi222/nintendoboi222.github.io/main/gmail-logo.png?' + new Date().getTime(); document.getElementsByTagName('head')[0].appendChild(link); } });