0% found this document useful (0 votes)
52 views1 page

Script Auto Spinner

The document is a userscript that automatically clicks a button on a website every 5 seconds. It uses setInterval to call the autoClick function repeatedly, and the autoClick function checks for and clicks a button with a specific class.

Uploaded by

rosario
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
52 views1 page

Script Auto Spinner

The document is a userscript that automatically clicks a button on a website every 5 seconds. It uses setInterval to call the autoClick function repeatedly, and the autoClick function checks for and clicks a button with a specific class.

Uploaded by

rosario
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

// ==UserScript==

// @name spinner
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match https://btcspinner.io/spinner
// @grant none
// ==/UserScript==

window.onload=function(){

setInterval(autoClick,5);

}
function autoClick(){
if(document.getElementsByClassName("btn btn-primary btn-lg btn-block rounded-
pill").length>0){
document.getElementsByClassName("btn btn-primary btn-lg btn-block rounded-pill")
[0].click();
}
}

You might also like