Skip to content

Instantly share code, notes, and snippets.

@haywoood
Last active Aug 29, 2015
Embed
What would you like to do?
$(document).ajaxSuccess(function(a,b,c,d) {
if (d.IsCaptcha) {
alert('captcha')
} else if (d.AutosRemaining === 0) {
setTimeout(function(){
$('#BattleContinue').click()
setTimeout(function(){
$('#AutoBattleSubmit').click()
}, 500)
}, (12*1000))
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment