From 2cccda40e26b2009f15a138182559749ca1a9f61 Mon Sep 17 00:00:00 2001 From: Tom Lee Date: Sun, 20 Sep 2020 23:26:45 +0100 Subject: [PATCH] Rainbow / Unicorn mode --- index.html | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/index.html b/index.html index fbb8596..01a0cab 100644 --- a/index.html +++ b/index.html @@ -61,6 +61,11 @@ document.getElementById("policy").scrollIntoView(); } } + + const queryString = window.location.search; + if (queryString.match(/[rainbow|unicorn]mode=1/i)) { + document.body.classList.add("unicorns"); + }