Skip to content

Instantly share code, notes, and snippets.

@kubosho
Last active August 29, 2015 14:07
Show Gist options
  • Save kubosho/1e2b0be6d936722be04f to your computer and use it in GitHub Desktop.
Save kubosho/1e2b0be6d936722be04f to your computer and use it in GitHub Desktop.
for game.ioxapp.com/color/
function exec() {
var panels = $('#box').find('span');
[].forEach.call(panels, function(panel) {
var type = $(panel).data('type');
if (type === 'a') {
$(panel).click();
}
});
}
var timer = setInterval(exec, 10);
setTimeout(function() {
clearInterval(timer);
}, 61000);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment