Rainbow / Unicorn mode

This commit is contained in:
Tom Lee 2020-09-20 23:26:45 +01:00
parent 70aca503ee
commit 2cccda40e2
1 changed files with 5 additions and 0 deletions

View File

@ -61,6 +61,11 @@
document.getElementById("policy").scrollIntoView(); document.getElementById("policy").scrollIntoView();
} }
} }
const queryString = window.location.search;
if (queryString.match(/[rainbow|unicorn]mode=1/i)) {
document.body.classList.add("unicorns");
}
</script> </script>
</body> </body>
</html> </html>