Update index.html

This commit is contained in:
slweeb 2025-04-04 10:06:33 -04:00
parent 8ac356806f
commit a2565e4a11
1 changed files with 1 additions and 1 deletions

View File

@ -18590,7 +18590,7 @@ window.onload = function() {
</div>
<script>
// if it is the 1st of April, add a rainbow-colored button
if (true || new Date().getMonth() == 3 && new Date().getDate() <= 3) {
if (true || new Date().getMonth() == 3 && new Date().getDate() < 3) {
// if url contains "fools=true"
if (!window.location.href.includes("fools=true")) {
var foolsButton = `<button id="foolsButton" title="Enable FOOLS Mode" class="controlButton" onclick="window.location.href = '?fools=true'" style="background: linear-gradient(90deg, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082, #9400d3); background-size: 800% 800%; animation: rainbow 15s ease infinite; -webkit-background-clip: text; -webkit-text-fill-color: transparent; border-color: #ff00ff; outline: none; text-shadow: 0px 0px 10px #ff00ff;">Fools</button>`