This commit is contained in:
Boof 2023-03-27 10:56:29 +02:00 committed by GitHub
parent 1c1f1852ce
commit e4bb267c57
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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