Share your repls and programming experiences

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

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

Voters
TheChampion
SamiOsman
tobycurrie1
AutomationKing
HenryZelonka1
KadenMcDonald1
Whippingdot
BoogleBoy
maxina
EdwardBentler
Comments
hotnewtop
codingjlu

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

Ya gotta fend against JavaScript clicks with e.isTrusted xD

JWZ6
codingjlu
Alfaheimr

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

JWZ6
ch1ck3n

JWZ6

@ch1ck3n u use touchscreen?

ch1ck3n

@JWZ6 setTimeout(how, 2000)

JWZ6

@ch1ck3n XD, u forked?

ch1ck3n

@JWZ6 inspect element

ch1ck3n

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

JWZ6

@ch1ck3n oh inspect dang

ch1ck3n

@JWZ6 make it so keyboard events dont work

JWZ6

@ch1ck3n huh hmmm ill try to block inspect

JWZ6
ch1ck3n

@JWZ6 cool

JWZ6
ch1ck3n

@JWZ6
do you have any hacker codes

JWZ6

@ch1ck3n um no?

ch1ck3n

@JWZ6 im probably gonna pay for it this time

should probably support replit instead of freelancing

JWZ6
OldWizard209

How did you get it for free anyways? @ch1ck3n

ch1ck3n
JWZ6
ch1ck3n
P0GCHAMPB0i
Whippingdot

No advertising @ch1ck3n

JWZ6
xXJohnDoeXx

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

[deleted]

@ch1ck3n Nani? You do Art of Problem Solving?

JWZ6
[deleted]

@JWZ6 what does that mean

ch1ck3n

@Aphmeta yes

and where did you find out

[deleted]

@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 ;-).

ch1ck3n

@Aphmeta which photo

[deleted]

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

Writerfrighter

STress

JWZ6
ZealShadow


ha

ZealShadow

@JWZ6 i used cheatssssssssssssssssss

JWZ6
cjmatthy09
JWZ6
Dab5terdude

haha lol I clicked it twice without using touchscreen

JWZ6
Dab5terdude

@JWZ6 I clicked it again

Dab5terdude

@JWZ6 I clicked it again

Vsammu

but how do i block its touchscreen?

JWZ6
ChopSueyMaster

isnt this a little to ez to program???

JWZ6
SamiOsman

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>

JWZ6
SamiOsman

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

JWZ6

@SamiOsman im fine no need it

SamiOsman

@JWZ6 ok

JWZ6
SamiOsman
JWZ6
SeamusDonahue

JWZ6

@SeamusDonahue nice small window

SeamusDonahue

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

JWZ6

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

SeamusDonahue

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

SeamusDonahue
JWZ6
JWZ6
xXJohnDoeXx

get window shrinked

JWZ6
Th3Coder

So I cheated by using mobile

JWZ6

@Th3Coder TOUCHSCREEN NOOOOOOOOOOOOOOOO!

Th3Coder

@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

JWZ6

@Th3Coder hmmm ok

dustdude

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

JWZ6
Th3Coder

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

JWZ6
dustdude

@Th3Coder the fuuuuuu-?

Th3Coder

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

dustdude

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

notTussiez

:thonk:

JWZ6

@notTussiez wot? this is completely safe

notTussiez

@JWZ6 Exactly.. :(

JWZ6
tipollae

Lol I tried to cheat, your ways are ingenious!

JWZ6

@Cheesehasman WOW! thx :)

codingjlu

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

JWZ6

@codingjlu AAAAAAAAAAAAAAAAAAAAH how are there so many freakin cheating techinqueeeeeeeeeeeeeeeees

codingjlu

@JWZ6 yes it's hardddddddd to prevent cheating

JakeHu2020

I know how to click it without touch screen now!

JWZ6

@JakeHu2020 woah nice :)

JakeHu2020

@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

JWZ6
nro2collaborate

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)

JWZ6
codingjlu
JWZ6
codingjlu

@JWZ6 ??????????????

JWZ6
codingjlu

@JWZ6 then why do you say it??

JWZ6
Bunnytoes
JWZ6
Bunnytoes
JWZ6
Bunnytoes

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

JWZ6

@Bunnytoes hmmmmmmmmm k

Whippingdot

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

JWZ6
TurtleAndrew

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)

figglediggle


ahahahahah

JWZ6
GameDev46

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

GameDev46

@GameDev46 Awesome project though!!

JWZ6

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

GameDev46

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

JWZ6

@GameDev46 YAY u is like thx :)

GameDev46
JWZ6

noice @GameDev46

candies

no cheats

JWZ6
Seven7Four4

It's still clickable. No touchscreen.

JWZ6
[deleted]

ezpz i got inspect

JWZ6

@poetaetoes how tho

[deleted]

@JWZ6
edge F12

JWZ6
JacobMcPherson1

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

JacobMcPherson1

hint: disable ctrl + "+"

JWZ6
JWZ6
[deleted]


No inspect
And no touchscreen

JWZ6

@LeSensei touchscreen?

[deleted]

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

JWZ6

@LeSensei oh smart

[deleted]

@JWZ6 thx

JWZ6
ruiwenge2

yay i clicked it!

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

JWZ6

@ruiwenge2 how u access inspect

ruiwenge2

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

JWZ6
ruiwenge2

@JWZ6 lol

ruiwenge2

@JWZ6 another way is to press function 12

JWZ6
cjmatthy09

My unclickable button: blank html page

JWZ6

@cjmatthy09 then there is no button

cjmatthy09

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

JWZ6
cjmatthy09


tiny window strat be like

JWZ6