Skip to content
← Back to Community
Unclickable Button - UPDATED
Profile icon
JakeHu2020

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
Profile icon
GuestyIsBack
Profile icon
JakeHu2020
Comments
hotnewtop
Profile icon
JWZ6

ez

Profile icon
JakeHu2020

@JWZ6 please give a screenshot for proof

Profile icon
JWZ6
Profile icon
JakeHu2020

@JWZ6 wait how did you do it

Profile icon
JWZ6

@JakeHu2020 I'm not tellin u lol

Profile icon
JakeHu2020

@JWZ6 rip

Profile icon
Bunnytoes

I click on it and it moves, that's cheating

Profile icon
JakeHu2020

@Bunnytoes thats not cheating, thats not allowing a user to click it

Profile icon
Bunnytoes

@JakeHu2020 yeah but if you click on it, it moves so technically I got it also it doesn't have an on click

Profile icon
JakeHu2020

@Bunnytoes In the code there is:

button.addEventListener('click',()=>{let v='pressed';window.v=undefined;alert("You clicked the button!");})
Profile icon
Bunnytoes
Profile icon
ch1ck3n
Profile icon
JakeHu2020

@ch1ck3n now that doesn't work anymore