Skip to content

Instantly share code, notes, and snippets.

Created April 2, 2014 20:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save anonymous/9942311 to your computer and use it in GitHub Desktop.
Save anonymous/9942311 to your computer and use it in GitHub Desktop.
var cheat = function () {
no = $('.btn-no');
yes = $('.btn-yes');
tmp = $('.in').text();
if (tmp.length)
tmp.substr(0, tmp.length - 2).length % 2 == 1 ? no.click() : yes.click();
setTimeout("cheat()", 0);
}
cheat();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment