From 43eb6f46502fbe1c2e072285d16ecc0e40be9b91 Mon Sep 17 00:00:00 2001 From: amelia Date: Wed, 6 Apr 2022 10:39:34 -0500 Subject: Add files via upload --- index.html | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index c26946c..776f364 100644 --- a/index.html +++ b/index.html @@ -311,7 +311,14 @@ } document.write("Antheia") - document.write("") + function setFavicons(favImg){ + let headTitle = document.querySelector('head'); + let setFavicon = document.createElement('link'); + setFavicon.setAttribute('rel','shortcut icon'); + setFavicon.setAttribute('href',favImg); + headTitle.appendChild(setFavicon); +} +setFavicons('https://raw.githubusercontent.com/squiresgrant/Antheia/main/icon.ico'); var bank = getCookie('bank'); var inv = getCookie('inv'); var inv = getCookie('storage'); -- cgit v1.2.3