Make support a little nicer, clarify something, redirect

This commit is contained in:
Firepup Sixfifty 2025-03-02 11:25:57 -06:00
parent 2d0b71fae0
commit eaafe4c216
No known key found for this signature in database

View file

@ -65,7 +65,7 @@
}
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. Use HTML for formatting, not markdown. You should return a single \`<p>\` element, though you can have extra italic/bold/etc elements within. Exclude the \`<p>\` 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 \`<p>\` element, though you can have extra italic/bold/etc elements within. Please add a `\<br/>\` element after each sentence. Exclude the \`<p>\` 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();
@ -129,7 +129,7 @@
if (color.value != value.getAttribute("val")) {
alert("Color incorrect.")
getRandomColor();
insult("The user failed the color-based human verification check.")
insult("The user failed the color-based human verification check (match the hexcode).")
return false;
}
getRandomColor();
@ -181,6 +181,7 @@
return false;
}
password.value = "";
window.location.href="https://www.youtube.com/watch?v=dQw4w9WgXcQ"
return false;
}
document.getElementById("annoying-form").onsubmit = click;
@ -210,5 +211,5 @@
</div>
</body>
<footer>
<p>Made because we hate websites that work normally <3<br/>V.0.0.27<br/>Made by <a href="https://endoftimee.tech">EndOfTimee</a> and <a href="https://firepup650.com">Firepup650</a></p>
<p>Made because we hate websites that work normally <3<br/>V.0.0.28<br/>Made by <a href="https://endoftimee.tech">EndOfTimee</a> and <a href="https://firepup650.com">Firepup650</a></p>
</footer>