Advertisement
Game_Logic

Cookie Clicker Jiggy 4.2 Mod Menu [UPDATED]

Mar 15th, 2024 (edited)
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.07 KB | None | 0 0
  1. function defaultbg() { document.getElementById("backgroundCanvas").outerHTML=`<canvas id="backgroundCanvas" width="1920" height="913" style="background: transparent;"></canvas>`; document.getElementById("wrapper").style=`background: url("https://cdn.dashnet.org/cookieclicker/img/bgBlue.jpg")`; document.getElementById("backgroundCanvasx").outerHTML=``;};
  2. function setdarkstyle() { var darkstyle = document.createElement("style"); document.head.appendChild(darkstyle); darkstyle.outerHTML=`<style id="darkstyle" type="text/css"> .separatorRight {
  3. background: url(img/panelGradientTop.png) no-repeat top left, url(img/panelGradientBottom.png) no-repeat bottom left, url(https://xynfinitysmp.site/files/verticaldark.jpg) repeat-y !important; } .separatorLeft {
  4. background: url(img/panelGradientTop.png) no-repeat top left, url(img/panelGradientBottom.png) no-repeat bottom left, url(https://xynfinitysmp.site/files/verticaldark.jpg) repeat-y !important; } .separatorBottom {
  5. background: url(https://xynfinitysmp.site/files/horodark.jpg) repeat-x !important; } #upgrades {
  6. background: url(https://xynfinitysmp.site/files/horodark.jpg) repeat-x !important; } .storeSection {
  7. background: url(https://xynfinitysmp.site/files/horodark.jpg) repeat-x !important; } .panelButton { background: url(https://xynfinitysmp.site/files/paneldark.png) !important; } .product { background: url(https://xynfinitysmp.site/files/storetiledark.jpg) !important; } </style>`; document.getElementById("backgroundCanvas").outerHTML='<div id="backgroundCanvas" width="1920" height="1080" style="width:100%;height:100%;background: transparent;"></div><div id="backgroundCanvasx" width="1920" height="1080" style="width:100%;height:100%;background: url(https://xynfinitysmp.site/files/cookieclickerdarkbbg.jpg);"></div>'; };
  8. Game.Achievements['Golden cookie'].won=0; Game.Achievements['Golden cookie'].toggle(); setTimeout(function(){document.getElementById("note-2").innerHTML=`<div class="close" onclick="PlaySound('snd/tick.mp3');Game.CloseNote(2);">x</div><div class="icon" style="background-position:-480px -672px;"></div><div class="text"><h3>Jiggy 4.2 Loaded</h3><div class="line"></div><h5><div class="title" style="font-size:18px;margin-top:-2px;">Press X to Open</div></h5></div>`},50,false);
  9.  
  10. function removeAds() { document.getElementById(`smallSupport`).outerHTML=``; document.getElementsByClassName(`ifNoAds`).outerHTML=``; document.getElementById(`support`).outerHTML=``; document.getElementById(`detectAds`).outerHTML=``; };
  11.  
  12. function facerev() { var facereveal = window.open("","_blank");
  13. facereveal.document.write("<a style='font-family:Arial;font-size:50px;' id='maintext'>you want xynfinity face reveal?</a>");
  14. facereveal.document.write("<div></div><button id='mainbtn' style='width:200px;height:100px;font-size:30px;font-family:Arial;' onclick='next1()'>yes</button>");
  15. facereveal.document.write(`<script defer> function next1() { document.getElementById('maintext').innerHTML='well you dont get it.'; document.getElementById('mainbtn').outerHTML="<button id='mainbtn' style='width:200px;height:100px;font-size:30px;font-family:Arial;' onclick='next2()'>why not?</button>"; }; </script>`);
  16. facereveal.document.write(`<script defer> function next2() { document.getElementById('maintext').innerHTML='because i said so.'; document.getElementById('mainbtn').outerHTML="<button id='mainbtn' style='width:200px;height:100px;font-size:30px;font-family:Arial;' onclick='next3()'>please</button>"; }; </script>`);
  17. facereveal.document.write(`<script defer> function next3() { document.getElementById('maintext').innerHTML='ok fine.'; document.getElementById('mainbtn').outerHTML="<button id='mainbtn' style='width:200px;height:100px;font-size:30px;font-family:Arial;' onclick='next4()'>ok</button>"; }; </script>`);
  18. facereveal.document.write(`<script defer> function next4() { document.getElementById('maintext').innerHTML='check discord'; document.getElementById('mainbtn').outerHTML=""; }; </script>`); };
  19.  
  20. var grannycook = 0;
  21. var setparty = 0;
  22. var cookiebounce = 0;
  23. function grannycookie() { if (grannycook == 0) { grannycook = 1; Game.addClass("elderWrath"); document.getElementById("jgranny").style =`z-index:15000;top:3%;font-family: Monaco,monospace;font-size:20px;position:relative;left:6.5%;text-decoration:none;color:#0f0;`; document.getElementById("jgranny").innerHTML = "on"; } else { grannycook = 0; Game.removeClass("elderWrath"); document.getElementById("jgranny").style =`z-index:15000;top:3%;font-family: Monaco,monospace;font-size:20px;position:relative;left:6.5%;text-decoration:none;color:#f00;`; document.getElementById("jgranny").innerHTML = "off" } };
  24.  
  25. function setpartymode() { if (setparty == 0) { setparty = 1; Game.PARTY = true; document.getElementById("jparty").style =`z-index:15000;top:3%;font-family: Monaco,monospace;font-size:20px;position:relative;left:6.5%;text-decoration:none;color:#0f0;`; document.getElementById("jparty").innerHTML = "on"; } else { setparty = 0; Game.PARTY = false; document.getElementById("jparty").style =`z-index:15000;top:3%;font-family: Monaco,monospace;font-size:20px;position:relative;left:6.5%;text-decoration:none;color:#f00;`; document.getElementById("jparty").innerHTML = "off" } };
  26.  
  27. function setbounce() { if (cookiebounce == 0) { cookiebounce = 1; Game.TOYS = true; document.getElementById("jbounce").style =`z-index:15000;top:3%;font-family: Monaco,monospace;font-size:20px;position:relative;left:6.5%;text-decoration:none;color:#0f0;`; document.getElementById("jbounce").innerHTML = "on"; } else { cookiebounce = 0; Game.TOYS = false; document.getElementById("jbounce").style =`z-index:15000;top:3%;font-family: Monaco,monospace;font-size:20px;position:relative;left:6.5%;text-decoration:none;color:#f00;`; document.getElementById("jbounce").innerHTML = "off" } };
  28. window.addEventListener("keydown",checkKeyPressed,false)
  29.  
  30. function checkKeyPressed(evt) {
  31. if (evt.keyCode == "88") {
  32. openMenu()
  33. }
  34. };
  35. var ismenuopen = 0;
  36. function openMenu() { if (ismenuopen == 0) { ismenuopen = 1; document.getElementById('jiggy').hidden=''; } else { ismenuopen = 0; document.getElementById('jiggy').hidden='true'; }; };
  37.  
  38. function clearTopBar() { document.getElementById('topBar').innerHTML=`<div><b style="font-weight:bold;">Cookie Clicker</b>™ © <a href="//orteil.dashnet.org" target="_blank" id="topbarOrteil">Orteil</a>, 2023 - <a href="//dashnet.org" target="_blank" id="topbarDashnet">DashNet</a></div>`; }; function rainbowspiral() { document.getElementById("backgroundCanvas").outerHTML='<img id="backgroundCanvas" width="1920" height="1080" style="background: transparent;" src="https://i.imgur.com/t86XZNg.gif">'; document.getElementById("wrapper").style='background:url(https://i.imgur.com/t86XZNg.gif);width: 100%; height: 100%;' };
  39. function binzudev() { document.getElementById("backgroundCanvas").outerHTML='<img id="backgroundCanvas" width="1920" height="1080" style="background: transparent;" src="https://i.ytimg.com/vi/akzgYeg-jv0/hq720.jpg?sqp=-oaymwEhCK4FEIIDSFryq4qpAxMIARUAAAAAGAElAADIQj0AgKJD&rs=AOn4CLBG9MtYZrIzXG31BRnsWVAYOriV6g">'; document.getElementById("wrapper").style='background:url(https://i.ytimg.com/vi/akzgYeg-jv0/hq720.jpg?sqp=-oaymwEhCK4FEIIDSFryq4qpAxMIARUAAAAAGAElAADIQj0AgKJD&rs=AOn4CLBG9MtYZrIzXG31BRnsWVAYOriV6g);width: 100%; height: 100%;' }; var jiggy = document.createElement("p"); document.body.appendChild(jiggy);
  40.  
  41. jiggy.outerHTML = `<div style="background:#110055;position:fixed;width: 20%;left:70%;height: 100%;z-index:10000;" id="jiggy" hidden=""><div style="z-index:15000;position:relative;height:5%"></div><p style="z-index:15000;top:3%;font-family: Monaco,monospace;font-size:50px;position:relative;left:6.5%;text-decoration:none;color:#fff;">Jiggy 4.2</p><div></div><p style="z-index:15000;top:3%;font-family: Monaco,monospace;font-size:18px;position:relative;left:8%;text-decoration:none;color:#fff;cursor:default">made by Xynfinity</p><div style="height:11%"></div><div id="jigmain"><a style="z-index:15000;top:3%;font-family: Monaco,monospace;font-size:20px;position:relative;left:6.5%;text-decoration:none;color:#fff;cursor:pointer;" onclick="document.getElementById('jigmain').hidden='true'; document.getElementById('jigcookies').hidden='';">- cookie mods</a><div style="height:20px"></div><a style="z-index:15000;top:3%;font-family: Monaco,monospace;font-size:20px;position:relative;left:6.5%;text-decoration:none;color:#fff;cursor:pointer;" onclick="document.getElementById('jigmain').hidden='true'; document.getElementById('jigfun').hidden='';">- fun mods</a><div style="height:20px"></div><a style="z-index:15000;top:3%;font-family: Monaco,monospace;font-size:20px;position:relative;left:6.5%;text-decoration:none;color:#fff;cursor:pointer;" onclick="document.getElementById('jigmain').hidden='true'; document.getElementById('jigbg').hidden='';">- background mods</a><div style="height:20px"></div><a style="z-index:15000;top:3%;font-family: Monaco,monospace;font-size:20px;position:relative;left:6.5%;text-decoration:none;color:#fff;cursor:pointer;" onclick="document.getElementById('jigmain').hidden='true'; document.getElementById('jigtheme').hidden='';">- theme mods</a><div style="height:20px"></div><a style="z-index:15000;top:3%;font-family: Monaco,monospace;font-size:20px;position:relative;left:6.5%;text-decoration:none;color:#fff;cursor:pointer;" onclick="document.getElementById('jigmain').hidden='true'; document.getElementById('jigsets').hidden='';">- extra settings</a><div style="height:20px"></div></div><div id="jigbg" hidden=""><a style="z-index:15000;top:3%;font-family: Monaco,monospace;font-size:20px;position:relative;left:6.5%;text-decoration:none;color:#fff;cursor:pointer;" onclick="defaultbg()">- default</a><div style="height:20px"></div><a style="z-index:15000;top:3%;font-family: Monaco,monospace;font-size:20px;position:relative;left:6.5%;text-decoration:none;color:#fff;cursor:pointer;" onclick="rainbowspiral()">- rainbow spiral</a><div style="height:20px"></div><a style="z-index:15000;top:3%;font-family: Monaco,monospace;font-size:20px;position:relative;left:6.5%;text-decoration:none;color:#fff;cursor:pointer;" onclick="binzudev()">- binzudev</a><div style="height:20px"></div><a style="z-index:15000;top:3%;font-family: Monaco,monospace;font-size:20px;position:relative;left:6.5%;text-decoration:none;color:#f00;cursor:pointer;" onclick="document.getElementById('jigmain').hidden=''; document.getElementById('jigbg').hidden='true';">-- back</a><div style="height:20px"></div></div><div id="jigtheme" hidden=""><a style="z-index:15000;top:3%;font-family: Monaco,monospace;font-size:20px;position:relative;left:6.5%;text-decoration:none;color:#fff;cursor:pointer;" onclick="document.getElementById('darkstyle').outerHTML='';defaultbg()">- default theme</a><div style="height:20px"></div><a style="z-index:15000;top:3%;font-family: Monaco,monospace;font-size:20px;position:relative;left:6.5%;text-decoration:none;color:#fff;cursor:pointer;" onclick="setdarkstyle()">- dark theme (broken)</a><div style="height:20px"></div><a style="z-index:15000;top:3%;font-family: Monaco,monospace;font-size:20px;position:relative;left:6.5%;text-decoration:none;color:#f00;cursor:pointer;" onclick="document.getElementById('jigmain').hidden=''; document.getElementById('jigtheme').hidden='true';">-- back</a><div style="height:20px"></div></div><div id="jigsets" hidden=""><a style="z-index:15000;top:3%;font-family: Monaco,monospace;font-size:20px;position:relative;left:6.5%;text-decoration:none;color:#fff;cursor:pointer;" onclick="removeAds()">- remove ads</a><div style="height:20px"></div><a style="z-index:15000;top:3%;font-family: Monaco,monospace;font-size:20px;position:relative;left:6.5%;text-decoration:none;color:#fff;cursor:pointer;" onclick="facerev()">- xynfinity face reveal</a><div style="height:20px"></div><a style="z-index:15000;top:3%;font-family: Monaco,monospace;font-size:20px;position:relative;left:6.5%;text-decoration:none;color:#f00;cursor:pointer;" onclick="document.getElementById('jigmain').hidden=''; document.getElementById('jigsets').hidden='true';">-- back</a><div style="height:20px"></div></div><div id="jigfun" hidden=""><a style="z-index:15000;top:3%;font-family: Monaco,monospace;font-size:20px;position:relative;left:6.5%;text-decoration:none;color:#fff;cursor:pointer;" onclick="document.getElementById('versionNumber').innerHTML=prompt('Enter String');">- change version text</a><div style="height:20px"></div><a style="z-index:15000;top:3%;font-family: Monaco,monospace;font-size:20px;position:relative;left:6.5%;text-decoration:none;color:#fff;cursor:pointer;" onclick="document.getElementById('bakeryName').click();">- change bakery name</a><div style="height:20px"></div><a style="z-index:15000;top:3%;font-family: Monaco,monospace;font-size:20px;position:relative;left:6.5%;text-decoration:none;color:#fff;cursor:pointer;" onclick="document.getElementById('bigCookie').style='background-size:100%;background-image:url('+prompt('Enter Image URL')+')';">- change cookie image</a><div style="height:20px"></div><a style="z-index:15000;top:3%;font-family: Monaco,monospace;font-size:20px;position:relative;left:6.5%;text-decoration:none;color:#fff;cursor:pointer;" onclick="clearTopBar();">- clean top bar</a><div style="height:20px"></div><a style="z-index:15000;top:3%;font-family: Monaco,monospace;font-size:20px;position:relative;left:6.5%;text-decoration:none;color:#fff;cursor:pointer;" onclick="setpartymode();">- party mode </a><text style="z-index: 15000; top: 3%; font-family: Monaco, monospace; font-size: 20px; position: relative; left: 6.5%; text-decoration: none; color: rgb(255, 0, 0);" id="jparty">off</text><div style="height:20px"></div><a style="z-index:15000;top:3%;font-family: Monaco,monospace;font-size:20px;position:relative;left:6.5%;text-decoration:none;color:#fff;cursor:pointer;" onclick="grannycookie();">- granny cookie </a><text style="z-index: 15000; top: 3%; font-family: Monaco, monospace; font-size: 20px; position: relative; left: 6.5%; text-decoration: none; color: rgb(255, 0, 0);" id="jgranny">off</text><div style="height:20px"></div><a style="z-index:15000;top:3%;font-family: Monaco,monospace;font-size:20px;position:relative;left:6.5%;text-decoration:none;color:#fff;cursor:pointer;" onclick="setbounce();">- bouncing cookies </a><text style="z-index: 15000; top: 3%; font-family: Monaco, monospace; font-size: 20px; position: relative; left: 6.5%; text-decoration: none; color: rgb(255, 0, 0);" id="jbounce">off</text><div style="height:20px"></div><a style="z-index:15000;top:3%;font-family: Monaco,monospace;font-size:20px;position:relative;left:6.5%;text-decoration:none;color:#f00;cursor:pointer;" onclick="document.getElementById('jigmain').hidden=''; document.getElementById('jigfun').hidden='true';">-- back</a><div style="height:20px"></div></div><div id="jigcookies" hidden=""><a style="z-index:15000;top:3%;font-family: Monaco,monospace;font-size:20px;position:relative;left:6.5%;text-decoration:none;color:#fff;cursor:pointer;" onclick="Game.cookies=Number(Game.cookies)+Number(1);">- +1 cookie</a><div style="height:20px"></div><a style="z-index:15000;top:3%;font-family: Monaco,monospace;font-size:20px;position:relative;left:6.5%;text-decoration:none;color:#fff;cursor:pointer;" onclick="Game.cookies=Number(Game.cookies)+Number(5);">- +5 cookie</a><div style="height:20px"></div><a style="z-index:15000;top:3%;font-family: Monaco,monospace;font-size:20px;position:relative;left:6.5%;text-decoration:none;color:#fff;cursor:pointer;" onclick="Game.cookies=Number(Game.cookies)+Number(10);">- +10 cookie</a><div style="height:20px"></div><a style="z-index:15000;top:3%;font-family: Monaco,monospace;font-size:20px;position:relative;left:6.5%;text-decoration:none;color:#fff;cursor:pointer;" onclick="Game.cookies=Number(Game.cookies)+Number(50);">- +50 cookie</a><div style="height:20px"></div><a style="z-index:15000;top:3%;font-family: Monaco,monospace;font-size:20px;position:relative;left:6.5%;text-decoration:none;color:#fff;cursor:pointer;" onclick="Game.cookies=Number(Game.cookies)+Number(100);">- +100 cookie</a><div style="height:20px"></div><a style="z-index:15000;top:3%;font-family: Monaco,monospace;font-size:20px;position:relative;left:6.5%;text-decoration:none;color:#fff;cursor:pointer;" onclick="Game.cookies=Number(Game.cookies)+Number(500);">- +500 cookie</a><div style="height:20px"></div><a style="z-index:15000;top:3%;font-family: Monaco,monospace;font-size:20px;position:relative;left:6.5%;text-decoration:none;color:#fff;cursor:pointer;" onclick="Game.cookies=Number(Game.cookies)+Number(1000);">- +1000 cookie</a><div style="height:20px"></div><a style="z-index:15000;top:3%;font-family: Monaco,monospace;font-size:20px;position:relative;left:6.5%;text-decoration:none;color:#fff;cursor:pointer;" onclick="Game.cookies=Number(Game.cookies)+Number(5000);">- +5000 cookie</a><div style="height:20px"></div><a style="z-index:15000;top:3%;font-family: Monaco,monospace;font-size:20px;position:relative;left:6.5%;text-decoration:none;color:#fff;cursor:pointer;" onclick="Game.cookies=Number(Game.cookies)+Number(25000);">- +25000 cookie</a><div style="height:20px"></div><a style="z-index:15000;top:3%;font-family: Monaco,monospace;font-size:20px;position:relative;left:6.5%;text-decoration:none;color:#fff;cursor:pointer;" onclick="Game.cookies=Number(Game.cookies)+Number(777777);">- +777777 cookie</a><div style="height:20px"></div><a style="z-index:15000;top:3%;font-family: Monaco,monospace;font-size:20px;position:relative;left:6.5%;text-decoration:none;color:#fff;cursor:pointer;" onclick="Game.cookies=Number(Game.cookies)+Number(prompt('Enter Value'));">- add custom cookie</a><div style="height:20px"></div><a style="z-index:15000;top:3%;font-family: Monaco,monospace;font-size:20px;position:relative;left:6.5%;text-decoration:none;color:#fff;cursor:pointer;" onclick="Game.cookies=Number(Game.cookies)-Number(prompt('Enter Value'));">- remove custom cookie</a><div style="height:20px"></div><a style="z-index:15000;top:3%;font-family: Monaco,monospace;font-size:20px;position:relative;left:6.5%;text-decoration:none;color:#f00;cursor:pointer;" onclick="document.getElementById('jigmain').hidden=''; document.getElementById('jigcookies').hidden='true';">-- back</a><div style="height:20px"></div></div></div>`; console.log("Close Inspect Element and press X on your keyboard to open. Enjoy! (hi binzu)");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement