Skip to content

Instantly share code, notes, and snippets.

@culy247
Created January 8, 2025 01:21
Show Gist options
  • Save culy247/39e9120e37ae567b991c2722243321a2 to your computer and use it in GitHub Desktop.
Save culy247/39e9120e37ae567b991c2722243321a2 to your computer and use it in GitHub Desktop.
auto click tap coin bot wheel
function btnClick() {
var btn = document.getElementsByClassName('lucky-btn')[0] || undefined;
var accept = document.getElementsByClassName('pop-lucky-result-btn')[0] || undefined
if (btn) {
var hasGray = btn.classList.contains('lucky-btn-gray');
if ( !hasGray ) {
btn.click();
}
}
if (accept ) {
accept.click();
}
}
setInterval(function(){ btnClick(); }, 100)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment