Created
February 25, 2018 02:40
-
-
Save cubedhuang/2d39775783d6a5bb2256815c301c79dd to your computer and use it in GitHub Desktop.
Automatic Golden 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
// ==UserScript== | |
// @name Golden Cookie Clicker | |
// @namespace Cookie | |
// @include http://orteil.dashnet.org/cookieclicker/ | |
// @version 1 | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
setInterval(function() { | |
if (Game.shimmers.length > 0) { | |
for (var i = Game.shimmers.length - 1; i >= 0; i--) { | |
Game.shimmers[i].l.click(); | |
} | |
} | |
}, 1000); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
😳