// JS File for Blockattack // Cookie Banner document.addEventListener("DOMContentLoaded", function () { const cookieKey = "cookieConsent"; const shouldShowBanner = !localStorage.getItem(cookieKey) || window.location.hash === "#changecookies"; if (shouldShowBanner) { showCookieBanner(); } function showCookieBanner() { const banner = document.createElement("div"); banner.id = "cookie-banner"; banner.innerHTML = `