1//AUTO CLICKER 1.0
2//Created by Catking
3var button = document.createElement("button");
4button.innerHTML = "Start Auto Clicker"
5var body = document.getElementsByTagName("body")[0];
6body.appendChild(button);
7button.addEventListener ("click", function() {
8 if(stop===0) {
9 stop = 1
10 button.innerHTML = "Start Auto Clicker"
11 } else if(stop===1) {
12 stop = 0
13 button.innerHTML = "Stop Auto Clicker"
14 }
15});
16var bttn = document.getElementById("bttnClick");
17var stop = 1;
18function click() {
19if(stop===0) {
20bttn.click();
21}
22};
23setInterval("click()", 1);
24//AUTO CLICKER END