Skip to content

Instantly share code, notes, and snippets.

@npanuhin
Last active June 6, 2021 06:32
Show Gist options
  • Save npanuhin/1a783ff7d7dbf34bc479f4746cbcb75a to your computer and use it in GitHub Desktop.
Save npanuhin/1a783ff7d7dbf34bc479f4746cbcb75a to your computer and use it in GitHub Desktop.
VK chat bot clicker
var clicker_button = document.getElementsByClassName("Keyboard")[0].getElementsByClassName("Button")[0],
clicker_count = 100000,
clicker_delay = 2000;
function botClick() {
clicker_button.click();
if (--clicker_count) {
setTimeout(botClick, clicker_delay);
}
}
botClick();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment