Skip to content

Instantly share code, notes, and snippets.

@civic
Created June 23, 2015 03:53
Show Gist options
  • Save civic/288aef9e614a7f0ac673 to your computer and use it in GitHub Desktop.
Save civic/288aef9e614a7f0ac673 to your computer and use it in GitHub Desktop.
robo
var g=0;var c=$('<img id="cursor" src="http://goo.gl/UFrcIO" style="position: absolute;">').appendTo("body");var doclick=function(){var b=$(".thechosenone");var o=b.offset();c.animate({left:o.left+b.width()/2, top: o.top+b.height()/2}, function(){b.click(); if (g++<50){doclick()}else{$(".missclick").click()}})};doclick();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment