From c92cdfb3b3e84c89a87ac4afdad76ad85207806d Mon Sep 17 00:00:00 2001 From: Voxel Date: Fri, 28 Mar 2025 10:12:34 -0400 Subject: [PATCH] try 2 --- index.html | 33 ++++++++++++++++----------------- 1 file changed, 16 insertions(+), 17 deletions(-) diff --git a/index.html b/index.html index e7e4510..9dd9ab7 100644 --- a/index.html +++ b/index.html @@ -34,24 +34,23 @@ }); }); - + // Change favicon + var favicon = document.getElementById('favicon'); + var newFavicon = document.createElement('link'); + newFavicon.id = 'favicon'; + newFavicon.rel = 'icon'; + newFavicon.href = 'new_favicon.ico'; + + favicon.parentNode.replaceChild(newFavicon, favicon); + } + }); +