Skip to content

Instantly share code, notes, and snippets.

@rmtbb
Created March 26, 2025 22:10
Show Gist options
  • Save rmtbb/b9a5b8d5fd3006ea0c4b4ad180d7742c to your computer and use it in GitHub Desktop.
Save rmtbb/b9a5b8d5fd3006ea0c4b4ad180d7742c to your computer and use it in GitHub Desktop.
Cookie Clicker Console Hack
const cookieButton = document.querySelector("#bigCookie");
if (cookieButton) {
setInterval(() => {
cookieButton.click();
}, 10); // Clicks every 10 milliseconds
} else {
console.log("Cookie button not found!");
}
@rmtbb
Copy link
Author

rmtbb commented Mar 26, 2025

Auto Clicker for Cookie Clicker

This script clicks the #bigCookie button once per second.

How to Use

  1. Open the Cookie Clicker game in your browser.
  2. Right-click anywhere on the page and select Inspect.
  3. In the panel that appears, click the Console tab.
  4. Paste the above code and press Enter:

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