Unclickable Button - UPDATED
Unclickable Button
So last time I made an unclickable button, but everyone could click it! So now I updated it, so it's nearly impossible to click it.
Here is a list of all the features (so you can't click it):
- Closes page if you have devtools open
- Alert doesn't work
- Checks for page size changing
- Can't click with touchscreen
- doesn't let you play while page isn't focused
- disabled button.click and button.focus
- Can't play while in iframe
- Forces you into full-screen forever (ctrl+w to close page)
Thanks to ch1ck3n for realizing something wrong in my last post
Have fun trying to click it!
Voters
Bunnytoes
I click on it and it moves, that's cheating
JakeHu2020
@Bunnytoes thats not cheating, thats not allowing a user to click it
Bunnytoes
@JakeHu2020 yeah but if you click on it, it moves so technically I got it also it doesn't have an on click
JakeHu2020
@Bunnytoes In the code there is:
button.addEventListener('click',()=>{let v='pressed';window.v=undefined;alert("You clicked the button!");})
JakeHu2020
@ch1ck3n now that doesn't work anymore
ez
@JWZ6 please give a screenshot for proof
@JakeHu2020
@JWZ6 wait how did you do it
@JakeHu2020 I'm not tellin u lol
@JWZ6 rip