Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ==UserScript==
- // @name Cookie Clicker Auto
- // @version 1
- // @include https://orteil.dashnet.org/cookieclicker/
- // @grant none
- // ==/UserScript==
- console.log('GM loadings');
- (() => {
- var checkReady = setInterval(() => {
- if (typeof Game.ready !== 'undefined' && Game.ready) {
- console.log('Loading tools');
- Game.LoadMod('https://aktanusa.github.io/CookieMonster/CookieMonster.js');
- clearInterval(checkReady);
- let goldClicker = () => {for(let s of Game.shimmers) if (s.type === 'golden') s.pop();};
- window.puggan = {
- clickInterval: setInterval(Game.ClickCookie, 20),
- // goldenInterval = setInterval(() => Game.shimmers.forEach((shimmer) => { if (shimmer.type == "golden") { shimmer.pop() } }), 500),
- goldenInterval: setInterval(goldClicker, 500),
- };
- let ssrs = document.styleSheets[2].cssRules;
- for(let ssr of ssrs) if(ssr.selectorText === '.storeSection') ssr.style.height = 'auto';
- console.log(window.puggan);
- }
- }, 1000);
- })();
- console.log('GM loaded');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement