diff --git a/src/App.tsx b/src/App.tsx index 7bbe74a..5eeb1ef 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -8,6 +8,7 @@ import { InfoCard } from './components/middlecard.tsx'; export const [shouldpopup, setpopup] = createSignal(false) export const [ishover, setishover] = createSignal(false) +let explodcount = 0 const isitmybd = () => new Date().toISOString().slice(5, 10) === '08-22'; function getRandomVivsieWord() { @@ -33,6 +34,7 @@ function vivsiepop() { blep.forEach(fuckshit) } function nyaboom() { + explodcount++ const blep = document.body.childNodes; function fuckshit(node: ChildNode) { if (node.nodeType === Node.TEXT_NODE) { @@ -135,8 +137,13 @@ function App() {

echo if it was written by vivsiepop

{ - new Audio("./explod.mp3").play() - nyaboom() + if (explodcount > 5) { + document.body.innerHTML = "" + setTimeout(() => {alert("sorry bud, you exploded so much that my document.body is gon")}, 500) + } else { + new Audio("./explod.mp3").play() + nyaboom() + } }}>