Share your repls and programming experiences

← Back to all posts
The Unclickable Button! (My Version)
h
JWZ6 (670)

The Unclickable Button!

This is my version of an unclickable button.

It's only weakness is touchscreen.

Features

Press Space For New Position

Press space to change the position of the button.

The Button Text Changes

The text will change if you don't click the button.

The Button Moves Very Quickly

The movement of the button is very fast! (Very fast)

Blocks Most Cheating Techniques

The right-click and away-from-website-click cheating techniques are blocked. The only cheating technique I don't know how to block is touchscreen.

Enjoy! :)

-JWZ6

Comments
hotnewtop
codingjlu (240)

Lol paste javascript:document.getElementById("button").click() in your browser window.

Ya gotta fend against JavaScript clicks with e.isTrusted xD

Alfaheimr (3)

Teehee :D
No touchscreen by the way. My friend used tab to select the button.

ch1ck3n (2077)

@JWZ6 setTimeout(how, 2000)

ch1ck3n (2077)

@JWZ6 you realize you can do ctrl + shift + i too right

ch1ck3n (2077)

@JWZ6 make it so keyboard events dont work

JWZ6 (670)

@ch1ck3n huh hmmm ill try to block inspect

ch1ck3n (2077)

@JWZ6
do you have any hacker codes

ch1ck3n (2077)

@JWZ6 im probably gonna pay for it this time

should probably support replit instead of freelancing

OldWizard209 (1544)

How did you get it for free anyways? @ch1ck3n

xXJohnDoeXx (6)

Also can use ctrl u on chrome and find out how ;-; @JWZ6

Aphmeta (2)

@ch1ck3n Nani? You do Art of Problem Solving?

Aphmeta (2)

@JWZ6 what does that mean

ch1ck3n (2077)

@Aphmeta yes

and where did you find out

Aphmeta (2)

@ch1ck3n in your photo, one of the photos has a folder in the top bar, and it says AoPS. Might wanna hide your personal info more ;-).

Aphmeta (2)

@ch1ck3n the one which u showed that u clicked it. lmao I pay attention to little details. also could u do a tutorial on django? if so, thanks.

ChopSueyMaster (49)

isnt this a little to ez to program???

SamiOsman (44)

bro @JWZ6 how u miss this??? I can just use tab and enter xD. Bc I'm nice here is a solution. use tabindex. Here is the code for it: <button tabindex="-1" onclick="how()" id="button" onmousemove="change()">Try to click me</button>

SamiOsman (44)

@JWZ6 YW :) (try the <marquee> effect on the button. Might make it look cooler.)

SeamusDonahue (457)

btw how did you make the button not focusable using the tab key? @JWZ6

JWZ6 (670)

@SeamusDonahue um idk cuz i didn't really think about that

SeamusDonahue (457)

ahh nvm if you click the window, hit tab once, then enter, the button clicks, it just doesn't highlight the button @JWZ6

Th3Coder (129)

So I cheated by using mobile

JWZ6 (670)

@Th3Coder TOUCHSCREEN NOOOOOOOOOOOOOOOO!

Th3Coder (129)

@JWZ6 btw you can force the user to use desktop by asking them to hit the Enter key! Here's how: https://www.w3schools.com/jsref/event_key_keycode.asp

dustdude (8)

@Th3Coder devices with touchscreen and keyboard: am i a joke to you?

Th3Coder (129)

@dustdude I have invented a foolproof way! Here's the link

Th3Coder (129)

@dustdude @JWZ6 I hope football stadium TVs aren't touchscreen

dustdude (8)

@Th3Coder welp im also pretty sure football stadium tvs don't have replit

tipollae (36)

Lol I tried to cheat, your ways are ingenious!

codingjlu (240)

Cheating techniques blocked?? I can still open devtools...

JWZ6 (670)

@codingjlu AAAAAAAAAAAAAAAAAAAAH how are there so many freakin cheating techinqueeeeeeeeeeeeeeeees

codingjlu (240)

@JWZ6 yes it's hardddddddd to prevent cheating

JakeHu2020 (21)

I know how to click it without touch screen now!

JakeHu2020 (21)

@JWZ6
How to do:
1. Press the three dots to the right, hover on "more tools", and select "Inspect".
2. Select the phone and tablet together near the top-left.

  1. On the near-top of your screen, change the numbers to 50x50 and then the button won't go away.

  2. Press the button as much as possible

nro2collaborate (3)

My first instinct: I need to click this!
Second instinct: Nope.
Third instinct:


I don't think there's a way to stop this, so is that legit clicking or cheating?(btw, codegolf this code)

Bunnytoes (157)

@JWZ6 it's still vulnerable to the right click exploit right click off the webpage then click it or brute force click

Whippingdot (660)

Cool... You can zoom in but...

TurtleAndrew (211)

Easy, just gotta click on another window and then back on when the mouse is over the button, it wont even move (unless you move your mouse), you just click again and you done. Without exploitation it's impossible.

edit:

you also have to click the button quickly after reselecting the window or it will move when you click. (Note that i'm on mac incase that changes something)

GameDev46 (214)

If you inspect one page and then go to this page the inspect tab remains open XD

GameDev46 (214)

@GameDev46 Awesome project though!!

JWZ6 (670)

@GameDev46 thx, but y is there so much hax lol

GameDev46 (214)

@JWZ6 Yes XD! Keep up the good work though =D

JWZ6 (670)

@GameDev46 YAY u is like thx :)

Seven7Four4 (14)

It's still clickable. No touchscreen.

JacobMcPherson1 (239)

it legit took me like ten seconds to figure it out lol

[deleted]


No inspect
And no touchscreen

[deleted]

@JWZ6 Nope. I zoomed in all the way to 500% and clicked it.

[deleted]

@JWZ6 thx

ruiwenge2 (623)

yay i clicked it!

(by using inspect and typing document.querySelector("button").click(). you can press ctrl/command shift c)

JWZ6 (670)

@ruiwenge2 how u access inspect

ruiwenge2 (623)

@JWZ6 i told you, press ctrl/command shift c

ruiwenge2 (623)

@JWZ6 another way is to press function 12

cjmatthy09 (52)

My unclickable button: blank html page

JWZ6 (670)

@cjmatthy09 then there is no button

cjmatthy09 (52)

still unclickable lol @JWZ6 also the button is metaphorical for unreachable success if you don't try and if you do try you will be able to click the button and succeed. you just have to be patient

PyCoder01 (56)

No offense but why is everybody making stupid unclickible buttons?

PyCoder01 (56)

@JWZ6 is there a point? Why waste your time making unclickable buttons while you can make something better with your skills?

JWZ6 (670)

@PyCoder01 what wrong with me making a button

TerrorbuildLuna (41)

Here's a method: Try trapping the button on a corner of the window. To make it even easier, make the window really small, while making sure the button remains on screen.