Created
November 4, 2013 17:49
-
-
Save jordanmessina/7306498 to your computer and use it in GitHub Desktop.
ActAway.com Javascript Cheat
This file contains hidden or 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 answer = $('#act').attr('data-answer'); | |
for(var i=0; i<answer.length; i++){ | |
$('.letters>li>a').each(function(index, val){ | |
if($(val).text() == answer[i]){ | |
$(val).click(); | |
return false; | |
} | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment