// @name Cookie Clicker Cheats
// @namespace http://userscripts.org/users/zackton
// @description Enable/Disable different cheats/hacks for Cookie Clicker
// @include http://orteil.dashnet.org/cookieclicker/
// @include orteil.dashnet.org/cookieclicker/
// @updateURL http://userscripts.org/scripts/source/176985.meta.js
// @require http://userscripts.org/scripts/source/187400.user.js
// @require http://userscripts.org/scripts/source/276064.user.js
// @icon http://images2.wikia.nocookie.net/__cb20130827014914/cookieclicker/images/5/5a/PerfectCookie.png
// @grant none
// @run-at document-end
// @version 1.7
// ==/UserScript==
// Main wait loop setTimeout(doSomething, 1000);
function doSomething() { var element = document.getElementById('particle0'); if (typeof (element) != 'undefined' && element != null) {
//Game particles have loaded, FIRE AWAY! (function () { var options = { panelId: 'cookie-cheater', intervalDelay: 1, longDelay: 250, buttons: { 'bigCookie': { label: 'Autoclick Big Cookie', action: function () { toggleAutoAction('bigCookie', function () { Game.ClickCookie(); }) } }, 'spawnGoldenCookie': { label: 'Spawn a Golden Cookie', action: function () { Game.goldenCookie.life = 0; Game.goldenCookie.time = Game.goldenCookie.minTime; Game.goldenCookie.spawn(); } }, 'autoGoldenCookie': { label: 'Autospawnclick GCs',