Skip to content

Instantly share code, notes, and snippets.

@ziphirum
Created June 17, 2015 17:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ziphirum/819ba95ce51f770467b6 to your computer and use it in GitHub Desktop.
Save ziphirum/819ba95ce51f770467b6 to your computer and use it in GitHub Desktop.
var run = function(){
var clickBlock = function(){
$('.answers li').each(function(key, e){
var a = $(e).css('background-color').replace(/\s/g, "");
var b = $('h3').text().replace(/\s/g, "");
if (a == b) $(e).click();
$('.button.first').click()
});
}
setInterval(clickBlock, 10);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment