Created
June 17, 2015 17:05
-
-
Save ziphirum/819ba95ce51f770467b6 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 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