Cookie Clicker Wiki

I tried to add some information, but the whole page was contained in a expandible code template and was deleted when uploaded

QtheConqueror (talk) 19:36, February 12, 2019 (UTC)

Autoclick big cookie when clickfrenzy is outdated.

I recommend changing it to:

setInterval(function() {

if (Game.hasBuff('Click frenzy')) {Game.ClickCookie()};

}, <milliseconds>);

instead. I can confirm that works.  —The preceding unsigned comment was added by Kittyluvr42 (talkcontribs) on 01:30, March 9, 2021 (UTC)

Lucky prestige

I could see people wanting to know how to unlock the Lucky prestige bonuses, which can only be done with specific prestige values. I propose adding the following line:


If entered in immediately upon beginning a playthrough, this number will produce 6,777,777 prestige, which will allow the lucky bonuses to be purchased.  —The preceding unsigned comment was added by Quillandsaber (talkcontribs) on 13:47, September 12, 2021 (UTC)

Auto-click golden cookies, reindeer, and ticker fortunes

// Auto-click things
var autoGolden = setInterval(function () {
var time = "[" + new Date().toLocaleTimeString('en-US', {
hour12: true,
hour: "numeric",
minute: "numeric"
}) + "] ";

Game.shimmers.forEach(function (shimmer) {
if (shimmer.type == "golden") {
var logMessage = time + "Golden cookie popped!"
if (Object.keys(Game.buffs).length > 0) {
logMessage += " Buffs: " + JSON.stringify(Object.keys(Game.buffs));
} else if (shimmer.type == "reindeer") {
console.log(time + "Reindeer popped!");

if (Game.TickerEffect && Game.TickerEffect.type=='fortune') {;
console.log(time + "Ticker fortune popped!");
}, 1000);

// Stop auto-clicking things

Setting the stock price

// Setting all stock prices to $4
for (var i=0;i<Game.Objects['Bank'].minigame.goodsById.length;i++) { Game.Objects['Bank'].minigame.goodsById[i].val=4; }

How would i change the prestige level permanently

I can change it temporarily but when i restart the game it reverts back