From e4bb267c57262e7ddbb73fcdb817af7d57efa169 Mon Sep 17 00:00:00 2001 From: Boof <97455552+hexahigh@users.noreply.github.com> Date: Mon, 27 Mar 2023 10:56:29 +0200 Subject: [PATCH] e --- index.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index eb1afc8..ed09c25 100644 --- a/index.js +++ b/index.js @@ -33,11 +33,13 @@ window.onload = function blockform() { const array = data.split('\n'); //console.log(array); if (array.includes(userip)) { - submitbutton = document.getElementById("submitbutton") + /*submitbutton = document.getElementById("submitbutton") submitbutton.setAttribute('type', 'button'); submitbutton.innerText = "Your ip is blocked"; formid = document.getElementById("formid") - formid.setAttribute('action', 'blocked'); + formid.setAttribute('action', 'blocked');*/ + form = document.getElementById("formid") + form.remove() isblocked = true } else { isblocked = false