From a0866fcccf66ae6ddb8036d31128486428abe8e4 Mon Sep 17 00:00:00 2001 From: Firepup Sixfifty Date: Sun, 2 Mar 2025 11:38:04 -0600 Subject: [PATCH] Fix typos (@khang200923), add styles for shit support adds sometimes --- index.html | 28 ++++++++++++++++++++++++---- 1 file changed, 24 insertions(+), 4 deletions(-) diff --git a/index.html b/index.html index 4d2a177..2021ae6 100644 --- a/index.html +++ b/index.html @@ -60,12 +60,12 @@ } } function font() { - let fonts=["Georgia", "Arial", "Verdana", "Tahoma", '"Trebuchet MS"', '"Times New Roman"', "Garmond", '"Courier New"', '"Bush Script MT"']; + let fonts=["Georgia", "Arial", "Verdana", "Tahoma", '"Trebuchet MS"', '"Times New Roman"', "Garamond", '"Courier New"', '"Brush Script MT"']; return fonts[Math.floor(Math.random() * fonts.length)] } function insult(failReason) { document.getElementById("support").innerHTML = "Pending reply from support..." - fetch("https://cors.firepup650.hackclub.app/https://ai.hackclub.com/chat/completions",{"headers":{"Content-Type":"application/json"},"method":"POST","mode":"cors","body":JSON.stringify({"messages":[{"role":"user","content":`You are an AI support bot on a very annoying sigunup page. Your objective is not to help the user, merely to roast them. Refrain from using disabilites as an insult. Use HTML for formatting, not markdown. You should return a single \`

\` element, though you can have extra italic/bold/etc elements within. Please add a \`
\` element after each sentence. Exclude the \`

\` tag itself, just return the \`innerHTML\` of it. ${failReason}`}]})}).then((r)=>{return r.json()}).then((d)=>{document.getElementById("support").innerHTML=d["choices"][0]["message"]["content"]}) + fetch("https://cors.firepup650.hackclub.app/https://ai.hackclub.com/chat/completions",{"headers":{"Content-Type":"application/json"},"method":"POST","mode":"cors","body":JSON.stringify({"messages":[{"role":"user","content":`You are an AI support bot on a very annoying sigunup page. Your objective is not to help the user, merely to roast them. Refrain from using disabilites as an insult. Use HTML for formatting, not markdown. You should return a single \`

\` element, though you can have extra italic/bold/etc elements within. Add a \`
\` element every single sentence. Exclude the \`

\` tag itself, just return the \`innerHTML\` of it. ${failReason}`}]})}).then((r)=>{return r.json()}).then((d)=>{document.getElementById("support").innerHTML=d["choices"][0]["message"]["content"]}) } getRandomColor(); console.clear(); @@ -102,11 +102,31 @@ font-size: ${Math.floor(175+(Math.random()*125))}%; opacity: ${Math.floor(50+(Math.random()*50))}%; } - p { + h2 { color: ${color()}; font-size: ${Math.floor(75+(Math.random()*125))}%; opacity: ${Math.floor(50+(Math.random()*50))}%; } + p { + color: ${color()}; + font-size: ${Math.floor(100+(Math.random()*125))}%; + opacity: ${Math.floor(50+(Math.random()*50))}%; + } + b { + color: ${color()}; + font-size: ${Math.floor(100+(Math.random()*125))}%; + opacity: ${Math.floor(50+(Math.random()*50))}%; + } + i { + color: ${color()}; + font-size: ${Math.floor(100+(Math.random()*125))}%; + opacity: ${Math.floor(50+(Math.random()*50))}%; + } + u { + color: ${color()}; + font-size: ${Math.floor(100+(Math.random()*125))}%; + opacity: ${Math.floor(50+(Math.random()*50))}%; + } a { color: ${color()}; text-decoration: line-through; @@ -211,5 +231,5 @@