mirror of
https://github.com/hexahigh/portfolio.git
synced 2025-12-12 03:25:06 +01:00
e
This commit is contained in:
parent
1c1f1852ce
commit
e4bb267c57
6
index.js
6
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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user