capitalize FOOLS

new styleguide just dropped
This commit is contained in:
slweeb 2023-04-02 16:30:05 -04:00
parent 372f828357
commit 5c0ae19acc
1 changed files with 2 additions and 2 deletions

View File

@ -11228,10 +11228,10 @@ for (var k = 0; k < b0.split(" AND ").length; k++) {
if (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: none; outline: none; box-shadow: 0px 0px 10px #FF00FF; text-shadow: 0px 0px 10px #FF00FF;">Fools</button>`
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: none; outline: none; box-shadow: 0px 0px 10px #FF00FF; text-shadow: 0px 0px 10px #FF00FF;">Fools</button>`
}
else {
var foolsButton = `<button id="foolsButton" title="Disable Fools Mode" class="controlButton" onclick="window.location.href = '?fools=false'" 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: none; outline: none; box-shadow: 0px 0px 10px #FF00FF; text-shadow: 0px 0px 10px #FF00FF;">Escape</button>`
var foolsButton = `<button id="foolsButton" title="Disable FOOLS Mode" class="controlButton" onclick="window.location.href = '?fools=false'" 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: none; outline: none; box-shadow: 0px 0px 10px #FF00FF; text-shadow: 0px 0px 10px #FF00FF;">Escape</button>`
}
// insert before pauseButton
document.getElementById("pauseButton").insertAdjacentHTML("beforebegin", foolsButton);