Skip to content

Instantly share code, notes, and snippets.

@cubedhuang
Created February 25, 2018 02:40
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save cubedhuang/2d39775783d6a5bb2256815c301c79dd to your computer and use it in GitHub Desktop.
Automatic Golden Cookie Clicker
// ==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);
})();
@ndzn
Copy link

ndzn commented Jun 22, 2021

😳

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