mirror of
https://github.com/Hacks-R-Us/hacksrus.uk.git
synced 2025-11-09 08:13:45 +00:00
Rainbow / Unicorn mode
This commit is contained in:
parent
70aca503ee
commit
2cccda40e2
@ -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>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user