From e67a9bb02c6493745715f73d0a482d6778f388c4 Mon Sep 17 00:00:00 2001
From: Alex9532 <101026269+Alex9532@users.noreply.github.com>
Date: Sat, 21 Sep 2024 10:32:44 -0700
Subject: [PATCH] add cancel?
---
hellocrashi.html | 35 ++++++++++++++++++++++++++++++-----
1 file changed, 30 insertions(+), 5 deletions(-)
diff --git a/hellocrashi.html b/hellocrashi.html
index f11ae4e..db49031 100644
--- a/hellocrashi.html
+++ b/hellocrashi.html
@@ -30,11 +30,36 @@
(may not work on mobile)
function dotheCrashthing() {
const times = 9999;
- confirm("Are you sure? This could crash your browser, although we have safeguards in place meaning it won't start again on restart.");
- confirm("Also, it may crash your computer. Double checking if you still want to start.");
- confirm("Really? You asked for it. Once started there is no stopping...");
- confirm("Well, alright. FIND THE OK BUTTON! I'LL NEVER LET YOU! HAHAHAHA! ");
- confirm("Ohhh... Why did they have to put me on the crasher website? It hurts so much...");
+ if (confirm("Are you sure? This could crash your browser, although we have safeguards in place meaning it won't start again on restart.")) {
+ //..
+ }
+ else {
+ return
+ }
+ if (confirm("Also, it may crash your computer. Double checking if you still want to start.")) {
+ //..
+ }
+ else {
+ return
+ }
+ if (confirm("Really? You asked for it. Once started there is no stopping...")) {
+ //..
+ }
+ else {
+ return
+ }
+ if (confirm("Well, alright. FIND THE OK BUTTON! I'LL NEVER LET YOU! HAHAHAHA! ")) {
+ //..
+ }
+ else {
+ return
+ }
+ if (confirm("Ohhh... Why did they have to put me on the crasher website? It hurts so much...")) {
+ //..
+ }
+ else {
+ return
+ }
alert("That sucker is sure to leav- Oh! Hi... oh god. please... I can't go through this again...");
for(let i = 0; i < times; i++){
console.log("AHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHWHYWHYWHYWHYWHYWHYWHYWHYWHYWHYWHYWHYWHYWHYWHYWHYWHYWHYWHYWHYWHYWHYWHYWHYWHYWHYWHYWHYWHYWHYWHYWHYWHYWHYWHYWHYWHYWHYWHYWHYWHYWHYWHYWHYWHYWHYWHYWHYWHYWHYWHYWHYWHYWHYWHYWHYWHYWHYWHYWHYWHYWHYWHYWHYWHYWHYWHYWHYWHYWHYWHYWHYWHYWHYWHYWHYWHYWHYWHYWHYWHYWHYWHYWHYWHYWHYWHYWHYWHYWHYWHYWHYWHYWHY");