Skip to content

Instantly share code, notes, and snippets.

@nddrylliog
Created October 23, 2013 16:01
Show Gist options
  • Select an option

  • Save nddrylliog/7121457 to your computer and use it in GitHub Desktop.

Select an option

Save nddrylliog/7121457 to your computer and use it in GitHub Desktop.

Revisions

  1. nddrylliog created this gist Oct 23, 2013.
    4 changes: 4 additions & 0 deletions cookieclicker.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,4 @@
    var t = setInterval(function() { $('#bigCookie').click() }, 1);
    var t2 = setInterval(function() { Game.UpgradesInStore[0].buy() }, 20);
    var t3 = setInterval(function() { $p = $('.product.enabled'); if ($p) { $p.click(); } }, 200);
    var t4 = setInterval(function() { $p = $('#goldenCookie'); if ($p) { $p.click() }}, 200);