Skip to content

Instantly share code, notes, and snippets.

@martinshaw
Last active December 24, 2015 22:29
Show Gist options
  • Save martinshaw/6872866 to your computer and use it in GitHub Desktop.
Save martinshaw/6872866 to your computer and use it in GitHub Desktop.
Cookie Clicker Hack. Duh...
w= window; d= document; d.g= {DT: this}; d.e= {DT: this};
d.g.t= function(n){ return this; }; d.g.m= function(i){ return 1/i; };
d.g.r= $; d.g.y= "#bigCookie"; d.g.a= 0; d.g.z= "click";
d.g.h= "console|log"; d.g.b= "|";
d.e.s= setInterval( function(){
w[d.g.h.split(d.g.b)[0]][d.g.h.split(d.g.b)[1]](d.g.a + " Cookies generated by script");
}, d.g.m(.1)*500);
d.e.g= setInterval( function(){
d.g.r(d.g.y)[d.g.z]();
d.g.a= d.g.a+1;
}, d.g.m(9999999));
@martinshaw
Copy link
Author

Only works in Chrome!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment