Auto Cookie is an addon for Cookie Clicker that adds automation to certain aspects of the game. I created it as part of my own playthrough of Cookie Clicker. I wanted to unlock (almost) all achievements quickly and I was okay with a very specific kind of cheating: If I could program it myself and I only cheated in ways that sped up gameplay (to potentially inhuman levels), I could do it. So autoclickers, buyers, and sellers were fine, but just cheating the achievements in wasn’t.
Currently Auto Cookie can automate the following tasks.
There’s several different ways to load Auto Cookie into Cookie Clicker. The easiest method is Cookie Clicker Mod Manager.
Add Game.LoadMod('https://elekester.github.io/AutoCookie/AutoCookie.js');
to Cookie Clicker Mod Manager.
Copy javascript: (function () {Game.LoadMod('https://elekester.github.io/AutoCookie/AutoCookie.js');}());
and save it as a bookmark. Paste it in the URL section. To activate, click the bookmark when the game’s open. You’ll have to do this every time you start the game.
Enter Game.LoadMod('https://elekester.github.io/AutoCookie/AutoCookie.js');
into your broswer’s javascript console when the game’s open. You’ll have to do this every time you start the game.
If you’d rather use the addon as a script using, for example, Greasemonkey or Tampermonkey, you can use the following script.
// ==UserScript==
// @name Auto Cookie
// @namespace AutoCookie
// @include http://orteil.dashnet.org/cookieclicker/
// @include https://orteil.dashnet.org/cookieclicker/
// @author Elekester
// @version 1
// @grant none
// ==/UserScript==
(function() {
const launch = setInterval(function() {
if (typeof Game.ready !== 'undefined' && Game.ready) {
Game.LoadMod('https://elekester.github.io/AutoCookie/AutoCookie.js');
clearInterval(launch);
}
}, 1000);
})();