From 7a3b684203ad36f336dfe6114c93b4f757cb44f7 Mon Sep 17 00:00:00 2001 From: King Omar Date: Thu, 23 Jul 2026 22:36:59 +1000 Subject: [PATCH] =?UTF-8?q?Add=20shared=20footer.js=20=E2=80=94=20one-line?= =?UTF-8?q?=20cross-subdomain=20wayfinding?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Self-contained Shadow-DOM component so no subdomain is a dead end. Loaded via + + - Self-contained: injects itself into , styles live in a Shadow DOM + so nothing leaks in or out of the host page's CSS. + - Central: edit this one file, every site updates. No per-repo redeploy. + - Two modes, chosen via a data attribute on the script tag: + (default) full footer bar at the end of the page. + data-mode="pill" compact fixed corner badge — for full-screen apps + (maps, games) where a block footer would be hidden. + Optional: data-accent="#ff0099" to match a site's own accent. + ═══════════════════════════════════════════════════════════════════════ */ +(function () { + if (window.__radicalFooter) return; + window.__radicalFooter = 1; + + // Read config off our own