-
-
Save Akagi201/df46a6a24543834798e2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var $buttons = $('button.star-button') | |
var index = 0 | |
var timer = window.setInterval(function(){ | |
if(index >= $buttons.length){ | |
window.clearInterval(timer); | |
}else{ | |
$buttons[index++].click(); | |
} | |
}, 1000) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment