puggan

CookieClicker.user.js

May 1st, 2021
768
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // ==UserScript==
  2. // @name     Cookie Clicker Auto
  3. // @version  1
  4. // @include  https://orteil.dashnet.org/cookieclicker/
  5. // @grant    none
  6. // ==/UserScript==
  7.  
  8. console.log('GM loadings');
  9. (() => {
  10.     var checkReady = setInterval(() => {
  11.         if (typeof Game.ready !== 'undefined' && Game.ready) {
  12.             console.log('Loading tools');
  13.             Game.LoadMod('https://aktanusa.github.io/CookieMonster/CookieMonster.js');
  14.             clearInterval(checkReady);
  15.             let goldClicker = () => {for(let s of Game.shimmers) if (s.type === 'golden') s.pop();};
  16.             window.puggan = {
  17.                 clickInterval: setInterval(Game.ClickCookie, 20),
  18.                 // goldenInterval = setInterval(() => Game.shimmers.forEach((shimmer) => { if (shimmer.type == "golden") { shimmer.pop() } }), 500),
  19.                 goldenInterval: setInterval(goldClicker, 500),
  20.             };
  21.             let ssrs = document.styleSheets[2].cssRules;
  22.             for(let ssr of ssrs) if(ssr.selectorText === '.storeSection') ssr.style.height = 'auto';
  23.             console.log(window.puggan);
  24.         }
  25.     }, 1000);
  26. })();
  27. console.log('GM loaded');
  28.  
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×