Frontend Development

JavaScript Auto-Clicker(s)

Submitted by Yondu, , Thread ID: 197769

Thread Closed
12-02-2021, 10:25 PM
#1
There's 2 different scripts I have, you may choose whichever one you would like to use. Both scripts achieve the same goal. Tongue


Code:
id = "clicker"
var button = document.getElementById("clicker");

setInterval(function()
{
    button.click()
}, 0)

Code:
var button = document.getElementsByClassName("btn btn-default")[0];

setInterval(function()
{
    button.click()
}, 0)
[Image: wsUuw16j6oyxLLRnnK.gif]

Users browsing this thread: 3 Guest(s)