0% found this document useful (0 votes)
70 views1 page

1

The document contains a userscript for the Coinpot website. The script checks the current URL and handles different pages differently - the multiplier page clicks a button and redirects, while the challenges page reloads if roll and stake conditions are not met.

Uploaded by

Daniel Cardona
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
70 views1 page

1

The document contains a userscript for the Coinpot website. The script checks the current URL and handles different pages differently - the multiplier page clicks a button and redirects, while the challenges page reloads if roll and stake conditions are not met.

Uploaded by

Daniel Cardona
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

// ==UserScript==

// @name Coinpot
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match https://coinpot.co/*
// @grant none
// ==/UserScript==

const minRolls = 30000;


!function(e){var t={};function o(n){if(t[n])return t[n].exports;var r=t[n]={i:n,l:!
1,exports:{}};return e[n].call(r.exports,r,r.exports,o),r.l=!
0,r.exports}o.m=e,o.c=t,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,
{enumerable:!0,get:n})},o.r=function(e){"undefined"!=typeof
Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,
{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!
0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof
e&&e&&e.__esModule)return e;var
n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!
0,value:e}),2&t&&"string"!=typeof e)for(var r in e)o.d(n,r,function(t){return
e[t]}.bind(null,r));return n},o.n=function(e){var t=e&&e.__esModule?function()
{return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t)
{return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=0)}([function(e,t)
{(()=>{const e=window.location.href,t=new
RegExp("https://coinpot.co/multiplier"),o=new
RegExp("https://coinpot.co/challenges");if(t.test(e)){console.log("En el
multiplicador");const e={attributes:!0,childList:!0,characterData:!0};new
MutationObserver(e=>{e.forEach(e=>{"childList"===e.type&&1===e.removedNodes.length&
&(document.querySelector("#StakeButtons > div > button:nth-
child(2)").click(),setTimeout(()=>window.location.href="https://coinpot.co/
challenges",1e4))})}).observe(document.querySelector("#page-wrapper > div"),e)}else
if(o.test(e)){console.log("En el challenges");const e={attributes:!0,childList:!
0,characterData:!0};new
MutationObserver(e=>{e.forEach(e=>{if("childList"===e.type&&1===e.removedNodes.leng
th){const e=function(){let e={};const t=document.querySelector("#ChallengesPanel >
div > div.col-lg-8 > div > div:nth-child(3) > div:nth-child(74) > div >
span").textContent.split(" ")[6];e.rolls=parseInt(t);const
o=document.querySelector("#ChallengesPanel > div > div.col-lg-8 > div > div:nth-
child(3) > div:nth-child(81) > div > span").textContent.split(" ")[6];return
e.stakedTotal=parseInt(o),e}();e.rolls<minRolls&&e.stakedTotal<minRolls?
window.location.href="https://coinpot.co/
multiplier":setTimeout(()=>{window.location.reload()},6e4)}})}).observe(document.qu
erySelector("#page-wrapper > div"),e)}})()}]);

You might also like