Created
December 14, 2014 11:18
-
-
Save p-hennessy/f333c940de064c39c43d to your computer and use it in GitHub Desktop.
Super cookie clicker!
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 hov=false;setInterval(function(){if(hov){ $('#bigCookie').click();}}, 1);var cookieDiv=document.getElementById('bigCookie');cookieDiv.addEventListener('mouseenter',function(){hov = true});cookieDiv.addEventListener('mouseleave',function(){hov = false}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment