Last active
August 29, 2015 14:07
-
-
Save kubosho/1e2b0be6d936722be04f to your computer and use it in GitHub Desktop.
for game.ioxapp.com/color/
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
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