Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ==UserScript==
- // @name 999Tools
- // @namespace https://drive.google.com/open?id=0BzwzmqEWk5a-U1NsMF9uRFdhSklyXzRneFo0RGY0YWRiWnIw
- // @version 0.9.1
- // @description Tools: Naugthy Bot script download link and start link, markets exchange infos, bet calculator, chat command, rain alert and option in account tab for 999dice chatroom. use chrome with tampermonkey
- // @author NaughtySanta
- // @match https://www.999dice.com/
- // @include https://www.999dice.com/
- // @grant none
- // ==/UserScript==
- var repeat = 1,
- d, Player, t, result, Search, el1 = document.getElementById("ChatTab"),
- el2 = document.getElementById("ChatTabOtherRooms");
- function collectRef() {
- var el = document.getElementById('EarnTabReferralsTable').children[1];
- var ar = [];
- var i, id, name;
- for (i = 0; i < el.children.length; i++) {
- var el1 = el.children[i];
- id = el1.children[0].innerHTML;
- name = el1.children[1].innerHTML;
- if (id !== "") {
- ar.push([id, name]);
- }
- }
- return ar;
- }
- function collectRefId() {
- var el = document.getElementById('EarnTabReferralsTable').children[1];
- var ar = [];
- var i, id;
- for (i = 0; i < el.children.length; i++) {
- var el1 = el.children[i];
- id = el1.children[0].innerHTML;
- if (id !== "") {
- ar.push(id);
- }
- }
- return ar;
- }
- function collectRefFull() {
- var el = document.getElementById('EarnTabReferralsTable').children[1];
- var ar = [];
- var arT = [];
- var arId = [];
- var i, id;
- for (i = 0; i < el.children.length; i++) {
- var el1 = el.children[i];
- id = el1.children[0].innerHTML;
- if (id !== "") {
- arId.push(id);
- arT = [id, el1.children[1].innerHTML];
- ar.push([arT[0], arT[1], el1.children[2].innerHTML, el1.children[3].innerHTML]);
- } else {
- ar.push([arT[0], arT[1], el1.children[2].innerHTML, el1.children[3].innerHTML]);
- }
- }
- return ar;
- }
- function soundz() {
- rainalert.play();
- }
- function testSound() {
- rainalert.volume = Number((document.getElementById("SoundVolume").value / 100).toFixed(2));
- soundz();
- }
- function ActiveChat() {
- var e = window.document.createEvent("MouseEvents");
- e.initMouseEvent("click", !0, !0, window, 0, 0, 0, 0, 0, !1, !1, !1, !1, 0, null);
- if (document.getElementsByClassName("BetsTable")[0].children[1].innerHTML.length > 3000) {
- ClickId("MinBetButton");
- document.getElementById("AutoBetSizeInput").value = "0.00000001";
- document.getElementById("ChatTabChatContainer").style.width = "98%";
- document.getElementById("ContentTabsContainer").children[2].dispatchEvent(e);
- } else {
- clearTimeout();
- setTimeout(ActiveChat, 1000);
- }
- console.log('Count Me');
- }
- function ChronoTimer() {
- var e = new Date - d,
- e = Math.floor(e / 1E3),
- c = e % 60,
- e = Math.floor((e - c) / 60),
- f = e % 60,
- e = Math.floor((e - f) / 60),
- e = e % 24;
- d ? document.getElementById("RainTimer").innerHTML = "LAST RAIN : " + e + " hours " + f + " minutes " + c + " seconds" : document.getElementById("RainTimer").innerHTML = "No Data Yet!";
- }
- function ClickSend() {
- var e = window.document.createEvent("MouseEvents");
- e.initMouseEvent("click", !0, !0, window, 0, 0, 0, 0, 0, !1, !1, !1, !1, 0, null);
- document.getElementById("ChatTabSendButton").dispatchEvent(e);
- }
- function ClickId(e) {
- var c = window.document.createEvent("MouseEvents");
- c.initMouseEvent("click", !0, !0, window, 0, 0, 0, 0, 0, !1, !1, !1, !1, 0, null);
- document.getElementById(e).dispatchEvent(c);
- }
- function RainWarning() {
- !0 === NotifEnable && (document.getElementById("ChatTabText").value = NotifMessage, ClickSend());
- }
- function RainUpdate() {
- document.getElementById("ChatTabText").value = "Last Rain Data: " + d.getTime();
- ClickSend();
- }
- function RainUp() {
- var e = document.getElementById("DateM").value;
- "" !== e && (d = new Date(Number(e)));
- }
- function BigRain() {
- if (8 < document.getElementById("ChatTab").children[2].children.length || -1 !== document.getElementById("ChatTab").children[2].innerHTML.search(/btc|ltc|dog/i)) {
- luckyrain.play(), console.log("The BIG LUCKY RAIN is here!!! Ho ho ho");
- }
- }
- function ShowBalance() {
- document.getElementById("ChatTabText").value = "/balance";
- ClickSend();
- }
- function ShowAddy() {
- document.getElementById("ChatTabText").value = "/deposit";
- ClickSend();
- }
- function ShowClear() {
- document.getElementById("ChatTabText").value = "/clear";
- ClickSend();
- }
- function ShowHelp() {
- document.getElementById("ChatTabText").value = "/help";
- ClickSend();
- }
- function ShowRules() {
- document.getElementById("ChatTabText").value = "/Rules";
- ClickSend();
- }
- function ShowRainTimer() {
- document.getElementById("ChatTabText").value = document.getElementById("RainTimer").innerText;
- ClickSend();
- }
- function ShowStats() {
- var e;
- e = 1 == document.getElementById("DisplayCurrencies").children[0].classList.length ? "Btc" : 1 == document.getElementById("DisplayCurrencies").children[1].classList.length ? "Doge" : "Ltc";
- document.getElementById("ChatTabText").value = e + " Stats: Bets " + document.getElementById("StatsUserBetCount").innerHTML + " | Wagered " + document.getElementById("StatsUserBetPayIn").innerHTML + " | Profit " + document.getElementById("StatsUserBetProfit").innerHTML;
- ClickSend();
- }
- function showE() {
- showTools('Empty');
- var e = document.getElementById("ChatTabChatContainer"),
- c = document.getElementById("EPanel");
- document.getElementById("TPanel").style.display = "none";
- document.getElementById("GPanel").style.display = "none";
- document.getElementById("BtnPanel").style.display = "none";
- "98%" === e.style.width && (e.style.width = "68%", c.style.display = "inline-block");
- }
- function showT() {
- showTools('Empty');
- var e = document.getElementById("ChatTabChatContainer");
- document.getElementById("EPanel").style.display = "none";
- document.getElementById("BtnPanel").style.display = "none";
- var c = document.getElementById("TPanel");
- document.getElementById("GPanel").style.display = "none";
- "98%" === e.style.width && (e.style.width = "68%", c.style.display = "inline-block");
- }
- function showG() {
- showTools('Empty');
- var e = document.getElementById("ChatTabChatContainer");
- document.getElementById("EPanel").style.display = "none";
- document.getElementById("TPanel").style.display = "none";
- document.getElementById("BtnPanel").style.display = "none";
- var c = document.getElementById("GPanel");
- "98%" === e.style.width && (e.style.width = "58%", c.style.display = "inline-block");
- }
- function showBtn() {
- showTools('Empty');
- var e = document.getElementById("ChatTabChatContainer");
- document.getElementById("EPanel").style.display = "none";
- document.getElementById("TPanel").style.display = "none";
- document.getElementById("GPanel").style.display = "none";
- var c = document.getElementById("BtnPanel");
- "98%" === e.style.width && (e.style.width = "68%", c.style.display = "inline-block");
- }
- function showTools(e) {
- "Market" === e && showE();
- "AutoClicker" === e && showT();
- "Generator" === e && showG();
- "Button" === e && showBtn();
- "Empty" === e && (document.getElementById("ChatTabChatContainer").style.width = "98%", document.getElementById("EPanel").style.display = "none", document.getElementById("TPanel").style.display = "none", document.getElementById("GPanel").style.display = "none", document.getElementById("BtnPanel").style.display = "none");
- scrollDown();
- }
- function SendCommand(e) {
- "Clear" === e && ShowClear();
- "Help" === e && ShowHelp();
- "Rules" === e && ShowRules();
- "Stats" === e && ShowStats();
- }
- function scrollDown() {
- var e = document.getElementById("ChatTabChatContainer");
- e.scrollTop = e.scrollHeight;
- }
- function SaveData() {
- localStorage.setItem("DataDice", d);
- }
- function LoadData() {
- var e = localStorage.getItem("DataDice");
- d = new Date(e);
- }
- function setOption() {
- rainalert.src = elO1.value;
- rainalert.volume = Number(elO2.value) / 100;
- NotifEnable = elO3.checked;
- NotifMessage = elO4.value;
- }
- function SaveO() {
- localStorage.setItem("SoundU", elO1.value);
- localStorage.setItem("SoundV", elO2.value);
- localStorage.setItem("NotifR", elO3.checked);
- localStorage.setItem("NotifM", elO4.value);
- localStorage.setItem("FavMarket", elO5.value);
- loadO();
- }
- function loadO() {
- elO1.value = localStorage.getItem("SoundU");
- elO2.value = localStorage.getItem("SoundV");
- "true" === localStorage.getItem("NotifR") ? elO3.checked = !0 : elO3.checked = !1;
- elO4.value = localStorage.getItem("NotifM");
- elO5.value = localStorage.getItem("FavMarket");
- setOption();
- upFavMarket();
- }
- function onLoad() {
- localStorage.SoundV ? loadO() : SaveO();
- }
- function NewReq(e, c, f, g, l, h, m) {
- var n = new XMLHttpRequest,
- p;
- document.getElementById("BalanceActionBoxTab");
- n.open("GET", g, !0);
- n.send();
- n.onreadystatechange = function () {
- 4 === n.readyState && 200 === n.status && (p = JSON.parse(n.responseText), document.getElementById(e).innerHTML = p.ticker.markets[f].market + "|" + Number(p.ticker.markets[f].price * l).toFixed(m) + " " + h);
- };
- }
- function NewStartReq(e) {
- var c = document.getElementById("BtcExchange").value,
- f = document.getElementById("BtcMarket").value,
- g, l = 1,
- h = "Idr";
- "btc_idr" !== f ? (g = "https://www.cryptonator.com/api/full/" + f, "btc-xpf" === f && (l = 119.332, h = " F Cfp"), h = "usd" === f.split("-")[1] ? " $" : " \u20ac") : g = "https://vip.bitcoin.co.id/api/" + f + "/ticker";
- NewStopReq();
- ExMark = window.setInterval(function () {
- NewReq("BtcPrice", f, c, g, l, h);
- NewReq("LtcPrice", "ltc-btc", c, g, l, "");
- NewReq("DogePrice", "doge-btc", c, g, l, "");
- }, 1E3 * e);
- }
- function cryptoRequest(e) {
- var c = new XMLHttpRequest,
- f, g = document.getElementById("CryptoMarket"),
- l = document.getElementById("CalcA").value;
- l.match(/bal/i) && (l = Number(document.getElementById("BalanceActionBoxTab").children[1].children[0].innerText));
- var h = 0;
- if ("btc-xpf" === e) {
- c.open("GET", "https://www.cryptonator.com/api/full/btc-eur", !0), c.send(), c.onreadystatechange = function () {
- if (4 === c.readyState && 200 === c.status) {
- f = JSON.parse(c.responseText);
- g.innerHTML = "<span>0 |Cryptonator |" + Number((119.332 * f.ticker.price).toFixed(0)).toLocaleString() + " |" + Number((f.ticker.price * l * 119.332).toFixed(0)).toLocaleString() + " F CFP</span><br>";
- for (i = 0; i < f.ticker.markets.length; i++) {
- g.innerHTML += i + 1 + " |" + f.ticker.markets[i].market + " |" + Number((119.332 * f.ticker.markets[i].price).toFixed(0)).toLocaleString() + " |" + Number((f.ticker.markets[i].price * l * 119.332).toFixed(0)).toLocaleString() + " F CFP<br>", h += Number(f.ticker.markets[i].price);
- }
- h = (Number(h) / Number(f.ticker.markets.length) * 119.332).toFixed(0);
- g.innerHTML = '<span style="color: green; margin-left: 2px;">Average: ' + Number(h).toLocaleString() + " |" + Number((h * l).toFixed(0)).toLocaleString() + " F CFP</span><br>" + g.innerHTML;
- }
- };
- } else {
- if ("btc-idr" === e) {
- c.open("GET", "https://vip.bitcoin.co.id/api/btc_idr/ticker", !0), c.send(), c.onreadystatechange = function () {
- 4 === c.readyState && 200 === c.status && (f = JSON.parse(c.responseText), g.innerHTML = "<span>vip.bitcoin.co.id |" + Number(f.ticker.buy).toLocaleString("id-ID", {
- style: "currency",
- currency: "IDR"
- }) + " |" + Number(f.ticker.buy * l).toLocaleString("id-ID", {
- style: "currency",
- currency: "IDR"
- }) + "</span><br>");
- };
- } else {
- if (e.match(/eur/i) || e.match(/usd/i)) {
- var m = e.match(/eur/i) ? ["fr-FR", "EUR"] : ["us-US", "USD"];
- e.match(/doge/i) && (l = "1000", document.getElementById("CalcA").value = "1000");
- c.open("GET", "https://www.cryptonator.com/api/full/" + e, !0);
- c.send();
- c.onreadystatechange = function () {
- if (4 === c.readyState && 200 === c.status) {
- f = JSON.parse(c.responseText);
- g.innerHTML = "<span>0 |Cryptonator |" + Number(f.ticker.price).toLocaleString(m[0], {
- style: "currency",
- currency: m[1]
- }) + " |" + Number(f.ticker.price * l).toLocaleString(m[0], {
- style: "currency",
- currency: m[1]
- }) + "</span><br>";
- for (i = 0; i < f.ticker.markets.length; i++) {
- g.innerHTML += i + 1 + " |" + f.ticker.markets[i].market + " |" + Number(f.ticker.markets[i].price).toLocaleString(m[0], {
- style: "currency",
- currency: m[1]
- }) + " |" + Number(f.ticker.markets[i].price * l).toLocaleString(m[0], {
- style: "currency",
- currency: m[1]
- }) + "<br>", h += Number(f.ticker.markets[i].price);
- }
- h = (Number(h) / Number(f.ticker.markets.length)).toFixed(8);
- g.innerHTML = '<span style="color: green; margin-left: 2px;">Average: ' + Number(h).toLocaleString(m[0], {
- style: "currency",
- currency: m[1]
- }) + " |" + Number(h * l).toLocaleString(m[0], {
- style: "currency",
- currency: m[1]
- }) + "</span><br>" + g.innerHTML;
- }
- };
- } else {
- c.open("GET", "https://www.cryptonator.com/api/full/" + e, !0), c.send(), c.onreadystatechange = function () {
- if (4 === c.readyState && 200 === c.status) {
- f = JSON.parse(c.responseText);
- g.innerHTML = "<span>0 |Cryptonator |" + Number(f.ticker.price).toFixed(8).toLocaleString() + " |" + (f.ticker.price * l).toFixed(8).toLocaleString() + "</span><br>";
- for (i = 0; i < f.ticker.markets.length; i++) {
- g.innerHTML += i + 1 + " |" + f.ticker.markets[i].market + " |" + Number(f.ticker.markets[i].price).toFixed(8).toLocaleString() + " |" + (f.ticker.markets[i].price * l).toFixed(8).toLocaleString() + "<br>", h += Number(f.ticker.markets[i].price);
- }
- h = (Number(h) / Number(f.ticker.markets.length)).toFixed(8);
- g.innerHTML = '<span style="color: green; margin-left: 2px;">Average: ' + Number(h).toLocaleString() + " |" + (h * l).toFixed(8).toLocaleString() + "</span><br>" + g.innerHTML;
- }
- };
- }
- }
- }
- }
- function favMarket(e, id, txtS, txtE) {
- var c = new XMLHttpRequest;
- var el = document.getElementById(id);
- var txt;
- var x = 1,
- d = 8;
- if (e !== 'IDR') {
- c.open("GET", "https://www.cryptonator.com/api/ticker/" + e, !0), c.send(), c.onreadystatechange = function () {
- if (4 === c.readyState && 200 === c.status) {
- f = JSON.parse(c.responseText);
- if (elO5.value == 'XPF,Fcp' && e == 'btc-eur') {
- x = 119.332;
- d = 0;
- txtE = ' Fcp'
- } else if (e.search(/usd|eur/i) > -1) {
- d = 2;
- } else {
- x = 1;
- d = 8;
- }
- el.innerHTML = txtS + (Number(f.ticker.price) * x).toFixed(d) + txtE;
- }
- };
- } else {
- c.open("GET", "https://vip.bitcoin.co.id/api/btc_idr/ticker", true);
- c.send();
- c.onreadystatechange = function () {
- if (c.readyState === 4 && c.status === 200) {
- f = JSON.parse(c.responseText);
- el.innerHTML = "1 BTC: " + Number(f.ticker.buy).toLocaleString('id-ID', {
- style: 'currency',
- currency: 'IDR'
- });
- }
- };
- }
- }
- function stopRequest() {
- clearInterval(priceUp);
- }
- function startRequest(e) {
- e.match(/empty/i) ? (document.getElementById("CryptoMarket").innerHTML = "", stopRequest()) : (stopRequest(), priceUp = window.setInterval(function () {
- cryptoRequest(e);
- }, 3E4), cryptoRequest(e));
- }
- function calcAmount(e) {
- e = document.getElementById("MarketPrice").value;
- "Empty" !== e && cryptoRequest(e);
- }
- function InjectorType(e, c) {
- "BetSize" === c ? (document.getElementById("BetSizeVar").value = e, document.getElementById("XVar").value = 1) : "Multi" === c ? document.getElementById("BetXVar").value = e : "MaxBet" === c && console.log("Error MaxBet Stop Injection\nOnly Available For Automatic");
- }
- function Generate() {
- BetCalc((1E8 * document.getElementById("BetSizeInput").value).toFixed(8), document.getElementById("GenIncrease").value, document.getElementById("GenStreak").value, document.getElementById("GenStop").value, document.getElementById("InjectorChoice").value);
- }
- function BetCalc(e, c, f, g, l) {
- var h = Number(e),
- m = 0,
- n = 0,
- p = "",
- r = 0,
- q = document.getElementById("BetChanceInput").value,
- q = 99.9 / q - 1;
- document.getElementById("GenResults").innerHTML = "";
- if (document.getElementById("BetSizeInput").value.match(/fib/i)) {
- for (a = 0, b = 1, k = 0; k < f; a = b, b = x, k++) {
- x = a + b, n += x, p += x + ",", GenResults(k + 1, x, n, 0);
- }
- } else {
- for (e = 1; e <= f; e++) {
- if (m++, r = (Math.floor(q * h - n) / xC).toFixed(8), n += h, p += Math.round(h) + ",", GenResults(m, (Math.round(h) / xC).toFixed(8), (n / xC).toFixed(8), r), h = Math.floor(h * (c / 100 + 1)), 0 < g && h > g) {
- return InjectorType(p.slice(0, p.length - 1), l), "Last Streak Reached";
- }
- }
- }
- InjectorType(p.slice(0, p.length - 1), l);
- }
- function GenResults(e, c, f, g) {
- var l = document.getElementById("GenResults");
- e = '<div class="RLine style="position: relative">\n<span style="position: relative; margin-top: 2px; color: white; font-size: 100%; text-align: center; display: inline-block; border-right-style: solid; border-right-color: slategray; width: 7%;">' + e + '</span>\n<span style="position: relative; margin-top: 2px; color: white; font-size: 100%; text-align: center; display: inline-block; border-right-style: solid; border-right-color: slategray; width: 25%;">' + c + '</span>\n<span style="position: relative; margin-top: 2px; color: white; font-size: 100%; text-align: center; display: inline-block; border-right-style: solid; border-right-color: slategray; width: 33%;">' +
- f + '</span>\n<span id="GResultsHead2" style="position: relative; margin-top: 2px; color: white; font-size: 100%; text-align: center; display: inline-block; border-right-style: solid; border-right-color: slategray; width: 26%; border-right-style: hidden;">' + g + "</span>\n</div>";
- 0 === document.getElementById("GenResults").children.length ? l.innerHTML = e : l.innerHTML = e + "\n" + document.getElementById("GenResults").innerHTML;
- }
- function betVal(b, w) {
- elBs.value = b;
- elWin.value = w;
- }
- function BtnMulti(x) {
- elBs.value *= x;
- }
- var keyMap = {
- "48": 0,
- "49": 1,
- "50": 2,
- "51": 3,
- "52": 4,
- "53": 5,
- "96": 0,
- "97": 1,
- "98": 2,
- "99": 3,
- "100": 4,
- "101": 5,
- }
- function handleKeyDown(event) {
- var char = event.which || event.keyCode;
- if (document.getElementsByClassName('ContentTab ActiveTab')[0].innerHTML == "My Bets") {
- console.log('charactère: ' + char);
- ClickId('Button' + keyMap[char]);
- }
- }
- document.addEventListener('keydown', handleKeyDown, false);
- function CreateChatButton(e, c, f, g, l) {
- var h = document.createElement("input");
- h.type = e;
- h.id = c;
- h.className = f;
- h.value = g;
- l.appendChild(h);
- }
- function CreateNewInput(e, c, f) {
- var g = document.createElement("input");
- g.type = "text";
- g.id = e;
- g.maxlength = "20";
- g.className = "StandardTextBox";
- g.value = c;
- f.appendChild(g);
- }
- function CreateObject(e, c, f, g) {
- e = document.createElement(e);
- e.id = c;
- e.innerText = f;
- g.appendChild(e);
- }
- function CreateObject2(e, c, f, g, l) {
- e = document.createElement(e);
- e.id = c;
- e.innerText = f;
- g.insertBefore(e, l);
- }
- function CreateObjectBefore(e, c, f, g, l, h) {
- e = document.createElement(e);
- e.setAttribute("class", c);
- e.id = f;
- e.innerText = g;
- l.insertBefore(e, h);
- }
- function setB() {
- CreateObject("div", "DivInChat", "", el1.children[0]);
- CreateObject("span", "RainTimer", "No Rain Data!", document.getElementById("DivInChat"));
- CreateObject("select", "ActionSelect", "", el1.children[1]);
- CreateChatButton("button", "BalanceButton", "TextButton", "Balance", el2);
- //CreateChatButton("button", "AddyButton", "TextButton", "Addy", el2);
- CreateObject("select", "ToolsSelect", "", el2);
- document.getElementById("DivInChat").setAttribute("style", "position: absolute; left: 1px; top: 1px; background-color: rgba(255,255,255,0.8); border-style: solid; border-width: 1px; display: block;");
- document.getElementById("RainTimer").setAttribute("style", "float: right; margin-right: 0px; text-align: center; font-size: 120%; color: black;");
- document.getElementById("RainTimer").setAttribute("onclick", "d = new Date - (document.getElementsByClassName('LastRain')[0].innerHTML.split(' ')[0] * 60000);");
- document.getElementById("ActionSelect").innerHTML = '<option value="Empty">-=||O_O||=-</option><option value="Clear">/clear</option><option value="Help">/help</option><option value="Rules">/rules</option><option value="Stats">Show Stats</option>';
- document.getElementById("ActionSelect").setAttribute("onchange", "SendCommand(this.value)");
- document.getElementById("ActionSelect").setAttribute("style", "margin-left: 5px; color: white; background-color: black;");
- document.getElementById("ToolsSelect").innerHTML = '<option value="Empty">Tools/Close</option><option value="Market">Market</option><option value="AutoClicker">Bot&Script</option><option value="Generator">Generator</option><option value="Button">Add Button</option>';
- document.getElementById("ToolsSelect").setAttribute("onchange", "showTools(this.value)");
- document.getElementById("ToolsSelect").setAttribute("style", "float: right; margin-right: 10px; color: white; background-color: black;");
- document.getElementById("BalanceButton").setAttribute("onclick", "ShowBalance();");
- document.getElementById("BalanceButton").setAttribute("style", "float: right; margin-right: 5px;");
- //document.getElementById("AddyButton").setAttribute("onclick", "ShowAddy()");
- //document.getElementById("AddyButton").setAttribute("style", "float: right; margin-right: 10px;");
- //CreateObject("div", "SantaBtn", "", document.getElementById('ActionBoxContainer').children[0].children[1]);
- CreateObject("div", "SantaBtn", "", document.getElementById('ActionBoxContainer').children[0]);
- var elS = document.getElementById('SantaBtn');
- elS.setAttribute('style', 'position: relative; display: inline-block; zoom: 80%; margin-left: auto; width: 910px; height: 56px; margin-right: auto; background: #333; border: 3px solid #1f1f1f; border-top: 0; border-radius: 10px 10px 10px 10px; visibility: visible');
- if (!!localStorage.SD) {
- elS.innerHTML = localStorage.SD;
- }
- CreateNewInput("HideShowBtn", "", document.getElementById('ActionBoxContainer').children[0]);
- elS = document.getElementById("HideShowBtn");
- elS.setAttribute("type", "image");
- elS.setAttribute("src", "https://docs.google.com/uc?export=download&id=0BzwzmqEWk5a-N05vYnNXTmgtbW8");
- elS.setAttribute("onclick", "showHideBtn()");
- elS.setAttribute("style", "position: relative; display: inline-block; color: rgba(0, 0, 0, 0); border: none; height: 15px; transform: rotate(180deg); background: rgba(0, 0, 0, 0);");
- CreateObject("div", "SantaFavMkt", "", document.getElementById('ActionBoxContainer').children[0]);
- elS = document.getElementById('SantaFavMkt');
- elS.setAttribute('style', 'display: inline-block; width: 100%; height: 21px; text-align: center; background: #333; border: 3px solid #1f1f1f; border-top: 0; border-radius: 10px 10px 0px 0px');
- elS.innerHTML = '<span class="FavMark" id="BtcPrice">Btc Price</span> ! ! <span class="FavMark" id="DogePrice">Doge Price</span> ! ! <span class="FavMark" id="LtcPrice">Ltc Price</span> ! ! <span class="FavMark" id="ClamPrice">Clam Price</span>';
- }
- function showHideBtn() {
- var elS = document.getElementById('SantaBtn');
- var elA = document.getElementById("HideShowBtn");
- var val = elA.style.transform;
- if (val == "rotate(180deg)") {
- elS.style.visibility = "hidden";
- elS.style.height = "0px";
- elA.style.transform = "";
- } else {
- elS.style.visibility = "visible";
- elS.style.height = "56px";
- elA.style.transform = "rotate(180deg)";
- }
- }
- function setO() {
- CreateObjectBefore("div", "", "oPanel", document.getElementById("AccountTab"), document.getElementById("AccountTab").children[7]);
- document.getElementById("ChatTabChatContainer").setAttribute("style", "display: block");
- document.getElementById("oPanel").setAttribute("style", "position: relative; margin-top: 20px; width: 400px; height: 530px; top: 0px; right: 0px; background-color: rgba(0,0,0,0.1); border-style: solid; border-width: 1px; display: block");
- var e;
- e = '<p style="width: 97.7%; top: -20px; text-align: center; font-size: 150%; margin: 5px; color: black; background-color: rgb(255,255,255); border-bottom-style: solid; display: block;">Script Settings</p><p style="width: 96%; margin-top: 2%; margin-left: 2%; text-align: center; font-size: 120%; color: black; background-color: rgba(255,255,255,.3); border-bottom-style: solid; display: block">Sound Settings</p><p style="width: 60px; left: 5px; margin-top: 10px; color: white; text-align: right; display: inline-block">url:</p>';
- e += '<input id="SoundUrl" type="url" value="https://docs.google.com/uc?export=download&id=0BzwzmqEWk5a-elBSQ0ZGUWt2MWM" style="width: 310px; margin-left: 10px; display: inline-block;">';
- e += "<br>";
- e += '<p style="width: 60px; left: 5px; margin-top: 10px; color: white; text-align: right; display: inline-block;">Volume: </p>';
- e += '<input id="SoundVolume" type="number" value="30" min="0" max="100" step="5" style="width: 50px; margin-left: 10px; display: inline-block;">';
- e += '<button type="TextButton" onclick="testSound()" style="margin-left: 170px;">Sound Test</button>';
- e += "<br>";
- e += '<p style="width: 96%; margin-top: 2%; margin-left: 2%; text-align: center; font-size: 120%; color: black; background-color: rgba(255,255,255,.3); border-bottom-style: solid; display: block;">Rain Notification</p>';
- e += '<p style="width: 60px; left: 5px; margin-top: 10px; color: white; text-align: right; display: inline-block;">Enable:</p>';
- e += '<input id="RainNotif" type="checkbox" style="margin-left: 10px; display: inline-block;">';
- e += '<input id="NotifVal" type="text" value="====> Thanks for the Rain, Jake <====" style="width: 285px; margin-left: 10px; display: inline-block;">';
- e += "<br>";
- e += '<p style="width: 96%; margin-top: 2%; margin-left: 2%; text-align: center; font-size: 120%; color: black; background-color: rgba(255,255,255,.3); border-bottom-style: solid; display: block;">Favorite Market Choice</p>';
- e += '<p style="width: 60px; left: 5px; margin-top: 10px; color: white; text-align: right; display: inline-block;">Value:</p>';
- e += '<select id="FavMarketChoice" onchange="clearInterval(favMRun);upFavMarket();" style="margin-bottom: 5px; width: 30%; margin-left: 5%; color: white; background-color: black;">';
- e += '<option value="btc-usd,$">USD</option>';
- e += '<option value="btc-eur,€">EUR</option>';
- e += '<option value="IDR">IDR</option>';
- e += '<option value="XPF,Fcp">XPF</option>';
- e += "</select>";
- var c = document.getElementById("oPanel");
- c.innerHTML = e;
- CreateChatButton("button", "SaveSet", "TextButton", "SaveSet", c);
- CreateChatButton("button", "RainUpdate", "TextButton", "RainUpdate", c);
- c = document.getElementById("SaveSet");
- c.setAttribute("onclick", "SaveO();");
- c.setAttribute("style", "position: absolute; right: 20px; bottom: 20px;");
- c = document.getElementById("RainUpdate");
- c.setAttribute("onclick", "RainUp();");
- c.setAttribute("style", "position: absolute; left: 20px; bottom: 20px;");
- }
- function setE() {
- CreateObject("div", "EPanel", "", el1.children[0]);
- var e = document.getElementById("EPanel");
- e.setAttribute("style", "position: relative; width: 560px; height: 300px; background-color: rgba(0,0,0,0.4); border-style: solid; border-width: 1px; display: none; overflow: hidden;");
- var c;
- c = '<p style="width: 96%; margin-top: 2%; margin-left: 2%; margin-bottom: 0px; text-align: center; font-size: 120%; color: black; background-color: rgba(255,255,255,.3); border-bottom-style: solid; display: block;">Market Exchange Infos</p>';
- c += '<select id="MarketPrice" onchange="startRequest(this.value)" style="margin-bottom: 5px; width: 30%; margin-left: 5%; color: white; background-color: black;"><option value="Empty">Market</option>';
- c += '<option value="ltc-btc">LTC/BTC</option>';
- c += '<option value="ltc-doge">LTC/DOGE</option>';
- c += '<option value="doge-btc">DOGE/BTC</option>';
- c += '<option value="doge-ltc">DOGE/LTC</option>';
- c += '<option value="btc-eur">BTC/EURO</option>';
- c += '<option value="btc-idr">BTC/IDR</option>';
- c += '<option value="btc-usd">BTC/USD</option>';
- c += '<option value="btc-xpf">BTC/XPF</option>';
- c += '<option value="btc-doge">BTC/DOGE</option>';
- c += '<option value="btc-ltc">BTC/LTC</option>';
- c += '<option value="ltc-usd">LTC/USD</option>';
- c += '<option value="ltc-eur">LTC/EURO</option>';
- c += '<option value="doge-usd">DOGE/USD</option>';
- c += '<option value="doge-eur">DOGE/EURO</option>';
- c += "</select>";
- c += '<span style="margin-left: 2%; margin-right: 5px;">Amount:</span>';
- c += '<input type="txt" id="CalcA" onchange="calcAmount(this.value)" value="bal" style="width: 35%; margin-right: 5%; float: right;"></input>';
- c += "<br>";
- c += '<div id="CryptoMarket" style="max-height: 239px; top: 5px; width: 96%; margin-left: 2%; font-size: 110%; border-style: solid; border-width: 1px; overflow: auto;"></div>';
- e.innerHTML = c;
- }
- function setT() {
- CreateObject("div", "TPanel", "", el1.children[0]);
- var e = document.getElementById("TPanel");
- e.setAttribute("style", "position: relative; width: 450px; height: 300px; background-color: rgba(0,0,0,0.4); border-style: solid; border-width: 1px; display: none; overflow: hidden;");
- var c;
- c = '<p style="position: relative; margin: 2%; text-align: center; font-size: 120%; color: black; background-color: rgba(255,255,255,.8); border-bottom-style: solid;">New Bot link</p><br><span class="ScriptInf">New Standalone Bot has been launched on 1st december 2015</span>';
- c = '<span class="ScriptInf">Current files 12th dec 2015</span>';
- c += "<br><br>";
- c += '<a class="Link" href="https://drive.google.com/drive/folders/0BzwzmqEWk5a-SGJ0SDg5ekM1d3M" target="_blank">Bot files link</a>';
- c += "<br><br>"
- c += '<a class="Link" href="https://thc.pologtijaune.pf/~TahitiBot/nbotfiles/" target="_blank">Alternative files link</a>;<br><br>';
- c += '<span class="ScriptInf">Please read the help section on the bot before asking some help. Until help must be rewrite for auto.</span>';
- e.innerHTML = c;
- e = document.head.children[8];
- c = e.innerHTML;
- c += ".Link{position: absolute; width: 100%; text-align: center; font-size: 160%}";
- c += ".ScriptInf{position: relative;margin-left: 10px; margin-right: 10px; word-break: break-all; text-align: left; font-size: 120%}";
- e.innerHTML += c;
- }
- function setG() {
- CreateObject("div", "GPanel", "", el1.children[0]);
- var e = document.getElementById("GPanel");
- e.setAttribute("style", "position: relative; width: 560px; height: 300px; background-color: rgba(0,0,0,0.4); border-style: solid; border-width: 1px; display: none; overflow: hidden;");
- var c;
- c = '<p style="position: relative; margin: 2%; text-align: center; font-size: 120%; color: black; background-color: rgba(255,255,255,.8); border-bottom-style: solid;">Bet Generator</p><span style="margin-left: 10px; width: 80px;">Increase %:</span><input type="text" id="GenIncrease" style="top: -18px; width:50px; margin-left: 10px;">';
- c += '<span style="margin-left: 65px; width: 80px;">Streak:</span>';
- c += '<input type="number" id="GenStreak" min="1" max="300" step="1" value="1" style="top: -18px; width:50px; margin-left: 10px;">';
- c += "<br><br>";
- c += '<span style="margin-left: 10px; width: 80px">Stop:</span>';
- c += '<input type="text" id="GenStop" style="top: -18px; width:120px; margin-left: 10px;">';
- c += '<span style="text-decoration: line-through; margin-left: 10px; width: 80px">RepeatBet:</span>';
- c += '<input type="text" id="GenRepeat" style="top: -18px; width:50px; margin-left: 10px;">';
- c += "<br><br>";
- c += '<span style="text-decoration: line-through; margin-left: 10px; width: 110px;">Injector: </span>';
- c += '<select id="InjectorChoice" style="margin-left: 10px; width: 150px; top: -18px; float: none;">';
- c += '<option value="None" class="List">-||-_-||-</option>';
- c += '<option value="BetSize" class="List">Custom Bet Size</option>';
- c += '<option value="MaxBet" class="List">MaxBet Stop</option>';
- c += '<option value="Multi" class="List">Multiplicator List</option>';
- c += "</select>";
- c += '<button id="SaveGen" style="position: relative; top: 0px; float: right; right: 12px;" onclick="Generate();">Generate</button>';
- c += "<br><br>";
- c += '<div id="GenHead" style="position: absolute; top: 160px; margin-left: 1%; width: 98%; height: 20px; border-color: lightgray; background-color: rgba(0, 0, 0, 0.5);">';
- c += '<span style="position: relative; margin-top: 1px; height: 20px; color: gold; font-size: 110%; text-align: center; display: inline-block; border-right-style: solid; border-right-color: slategray; overflow: hidden; width: 7%;">N</span>';
- c += '<span style="position: relative; margin-top: 1px; height: 20px; color: gold; font-size: 110%; text-align: center; display: inline-block; border-right-style: solid; border-right-color: slategray; overflow: hidden; width: 25%">BetSize</span>';
- c += '<span style="position: relative; margin-top: 1px; height: 20px; color: gold; font-size: 110%; text-align: center; display: inline-block; border-right-style: solid; border-right-color: slategray; overflow: hidden; width: 33%">Balance</span>';
- c += '<span style="position: relative; margin-top: 1px; height: 20px; color: gold; font-size: 110%; text-align: center; display: inline-block; border-right-style: solid; border-right-color: slategray; overflow: hidden; width: 26%; border-right-style: none;">Profit</span>';
- c += "</div>";
- c += '<div class="Results" id="GenResults" style="position: absolute; top: 181px; margin-left: 1%; width: 98%; height: 117px; border-color: lightgray; background-color: rgba(0, 0, 0, 0.5); overflow-y: auto;">';
- c += "</div>";
- e.innerHTML = c;
- }
- function setBtn() {
- CreateObject("div", "BtnPanel", "", el1.children[0]);
- var e = document.getElementById("BtnPanel");
- e.setAttribute('style', 'display: none; border: solid; width: 300px');
- var c = '<p style="position: relative; margin: 2%; text-align: center; font-size: 120%; color: black; background-color: rgba(255,255,255,.8); border-bottom-style: solid;">Button Creator</p>';
- c += '<span style="margin-left: 10px; width: 80px">Button Class</span>';
- c += '<select id="BtnClass" onchange="showBtnClass(this.value)" style="margin-left: 10px; width: 140px; top: -18px; float: none; margin-left: 10px; margin-bottom: 7px; margin-top: 7px">';
- c += '<option value="BS" class="List">BetSize & Win%</option>';
- c += '<option value="M" class="List">Multiply BetSize</option>';
- c += '<option value="D" class="List">Divide BetSize</option>';
- c += '<option value="MD" class="List">Multiply & Divide</option>';
- c += '<option value="S" class="List">Separator</option>';
- c += "</select>";
- c += '<br>';
- c += '<span style="margin-left: 10px; width: 80px; margin-bottom: 10px; margin-top: 10px">Name:</span>';
- c += '<input type="text" id="BtnName" style="display: inline-block; top: -18px; width:120px; margin-left: 10px; margin-bottom: 7px; margin-top: 7px">';
- c += '<br>';
- c += '<span style="margin-left: 10px; width: 80px; margin-bottom: 10px; margin-top: 10px">Bet Size:</span>';
- c += '<input type="text" id="BtnBs" style="display: inline-block; top: -18px; width:120px; margin-left: 10px; margin-bottom: 7px; margin-top: 7px">';
- c += '<br>';
- c += '<span style="margin-left: 10px; width: 80px; margin-bottom: 10px; margin-top: 10px">Win%:</span>';
- c += '<input type="text" id="BtnWin" style="display: inline-block; top: -18px; width:120px; margin-left: 10px; margin-bottom: 7px; margin-top: 7px">';
- c += '<br>';
- c += '<span style="margin-left: 10px; width: 80px; margin-bottom: 10px; margin-top: 10px">Multiply by:</span>';
- c += '<input type="text" id="BtnMulti" style="display: none; top: -18px; width:120px; margin-left: 10px; margin-bottom: 7px; margin-top: 7px">';
- c += '<br>';
- c += '<span style="margin-left: 10px; width: 80px; margin-bottom: 10px; margin-top: 10px">Divide by:</span>';
- c += '<input type="text" id="BtnDivide" style="display: none; top: -18px; width:120px; margin-left: 10px; margin-bottom: 7px; margin-top: 7px">';
- c += '<br>';
- c += '<span style="margin-left: 10px; width: 80px; margin-bottom: 10px; margin-top: 10px">Button Align:</span>';
- c += '<select id="BtnAlign" style="margin-left: 10px; width: 100px; top: -18px; float: none; margin-left: 10px; margin-bottom: 7px; margin-top: 7px">';
- c += '<option value="right" class="List">Right</option>';
- c += '<option value="center" class="List">Center</option>';
- c += '<option value="Left" class="List">Left</option>';
- c += "</select>";
- c += '<br>';
- c += '<button id="BtnCreator" type="TextButton" onclick="btnAdd()" style="margin-left: 10px;">Add</button>';
- c += '<button type="TextButton" onclick="btnClean()" style="margin-left: 10px;">Clean</button>';
- c += '<button type="TextButton" onclick="btnSave()" style="margin-left: 10px; margin-bottom: 7px; margin-top: 7px;">Save</button>';
- c += '<button type="TextButton" onclick="btnLoad()" style="margin-left: 10px; margin-bottom: 7px; margin-top: 7px;">Load</button>';
- c += '<select id="BtnSlot" onchange="" style="margin-left: 10px; width: 140px; top: -18px; float: none; margin-left: 10px; margin-bottom: 7px; margin-top: 7px">';
- c += '<option value="SD" class="List">Default</option>';
- c += '<option value="S1" class="List">Slot1</option>';
- c += '<option value="S2" class="List">Slot2</option>';
- c += '<option value="S3" class="List">Slot3</option>';
- c += '<option value="S4" class="List">Slot4</option>';
- c += '<option value="S5" class="List">Slot5</option>';
- c += '<option value="S6" class="List">Slot6</option>';
- c += "</select>";
- e.innerHTML = c;
- }
- function showBtnClass(val) {
- var elB = document.getElementById('BtnBs');
- var elW = document.getElementById('BtnWin');
- var elM = document.getElementById('BtnMulti');
- var elD = document.getElementById('BtnDivide');
- var elC = document.getElementById('BtnCreator');
- var t1 = "none";
- var t2 = "inline-block"
- elB.style.display = t1;
- elW.style.display = t1;
- elM.style.display = t1;
- elD.style.display = t1;
- if (val == "BS") {
- elB.style.display = t2;
- elW.style.display = t2;
- elC.setAttribute("onclick", "btnAdd()");
- }
- if (val == "M") {
- elM.style.display = t2;
- elC.setAttribute("onclick", "btnMulti()");
- }
- if (val == "D") {
- elD.style.display = t2;
- elC.setAttribute("onclick", "btnDivide()");
- }
- if (val == "MD") {
- elC.setAttribute("onclick", "btnMD();");
- }
- if (val == "S") {
- elC.setAttribute("onclick", "btnSep();");
- }
- }
- function btnMulti() {
- var elBtn = document.getElementById('SantaBtn');
- var n = document.getElementById('BtnName').value;
- var a = document.getElementById('BtnAlign').value;
- var x = document.getElementById('BtnMulti').value;
- var c = '<div class="BetControlButton" onclick="elBs.value = (Number(elBs.value) * ' + x + ').toFixed(8);" + style="float: ' + a + '">';
- c += '<span class="BetControlTitle">' + n + '</span>';
- c += '<span class="Keyboard">'
- '</span>';
- c += '</div>';
- elBtn.innerHTML += c;
- }
- function btnDivide() {
- var elBtn = document.getElementById('SantaBtn');
- var n = document.getElementById('BtnName').value;
- var a = document.getElementById('BtnAlign').value;
- var x = document.getElementById('BtnDivide').value;
- var c = '<div class="BetControlButton" onclick="elBs.value = (Number(elBs.value) / ' + x + ').toFixed(8);" + style="float: ' + a + '">';
- c += '<span class="BetControlTitle">' + n + '</span>';
- c += '<span class="Keyboard">'
- '</span>';
- c += '</div>';
- elBtn.innerHTML += c;
- }
- function btnAdd() {
- var elBtn = document.getElementById('SantaBtn');
- var n = document.getElementById('BtnName').value;
- var w = document.getElementById('BtnWin').value;
- var b = document.getElementById('BtnBs').value;
- var a = document.getElementById('BtnAlign').value;
- var c = '<div class="BetControlButton" data-key="' + btnCount + '" id="Button' + btnCount + '" onclick="betVal(' + b + ', ' + w + ')" + style="float: ' + a + '">';
- c += '<span class="BetControlTitle">' + n + '</span>';
- c += '<span class="Keyboard">' + btnCount + '</span>';
- c += '</div>';
- elBtn.innerHTML += c;
- btnCount++;
- }
- function btnMD() {
- var elBtn = document.getElementById('SantaBtn');
- var n = document.getElementById('BtnName').value;
- var a = document.getElementById('BtnAlign').value;
- var c = '<div class="BetControlButton" onclick="elBs.value = (Number(elBs.value) / document.getElementById('ButtonI' + btnCount + '').value).toFixed(8);" + style="float: ' + a + '">';
- c += '<span class="BetControlTitle">/</span>';
- c += '<span class="Keyboard">/</span>';
- c += '</div>';
- c += '<input type="text" id="ButtonI' + btnCount + '" maxlength="3" class="StandardTextBox" value="1" style="width: 40px; float: ' + a + '; margin-top: 15px;">';
- c += '<div class="BetControlButton" onclick="elBs.value = (Number(elBs.value) * document.getElementById('ButtonI' + btnCount + '').value).toFixed(8);" style="float: ' + a + '">';
- c += '<span class="BetControlTitle">X</span>';
- c += '<span class="Keyboard">*</span>';
- c += '</div>';
- elBtn.innerHTML += c;
- btnCount++;
- }
- function btnSep() {
- var elBtn = document.getElementById('SantaBtn');
- var c = '<div style="float: right;position: relative;width: 3px;" class="BetControlButton"><span class="Keyboard"></span><div></div></div>';
- elBtn.innerHTML += c;
- }
- function btnClean() {
- document.getElementById('SantaBtn').innerHTML = '';
- //localStorage.removeItem('BTN');
- }
- function btnSave() {
- var tm = localStorage.BTN;
- if (!!tm) {
- localStorage.setItem("SD", tm);
- localStorage.removeItem("BTN");
- }
- var slotName = document.getElementById("BtnSlot").value;
- localStorage.setItem(slotName, document.getElementById('SantaBtn').innerHTML);
- }
- function btnLoad() {
- var elBtn = document.getElementById('SantaBtn');
- var slotName = document.getElementById("BtnSlot").value;
- elBtn.innerHTML = localStorage.getItem(slotName);
- }
- function upFavMarket() {
- var test = elO5.value;
- var m;
- if (test == 'IDR') {
- favMarket("IDR", "BtcPrice", "1 BTC: ", " IDR");
- } else {
- m = test.split(',');
- if (m[0] == 'XPF') {
- m = ['btc-eur', '€'];
- }
- favMarket(m[0], "BtcPrice", "1 BTC: ", " " + m[1]);
- }
- setTimeout(favMarket("doge-btc", "DogePrice", "1 Doge: ", " BTC"), 100);
- setTimeout(favMarket("ltc-btc", "LtcPrice", "1 Ltc: ", " BTC"), 200);
- setTimeout(favMarket("clam-btc", "ClamPrice", "1 Clam: ", " BTC"), 300);
- favMRun = setInterval(function () {
- if (test == 'IDR') {
- favMarket("IDR", "BtcPrice", "1 BTC: ", " IDR");
- } else {
- m = test.split(',');
- if (m[0] == 'XPF') {
- m = ['btc-eur', '€'];
- }
- favMarket(m[0], "BtcPrice", "1 BTC: ", " " + m[1]);
- }
- setTimeout(favMarket("doge-btc", "DogePrice", "1 Doge: ", " BTC"), 100);
- setTimeout(favMarket("ltc-btc", "LtcPrice", "1 Ltc: ", " BTC"), 200);
- setTimeout(favMarket("clam-btc", "ClamPrice", "1 Clam: ", " BTC"), 300);
- }, 60000);
- }
- setB();
- setO();
- setE();
- setT();
- setG();
- setBtn();
- el1.children[0].setAttribute("style", "position: relative; width: 100%; display: inline-flex;");
- document.querySelector("body").style.zoom = "104.6%";
- el = document.head.children[8];
- temp = el.innerHTML;
- temp += ".FavMark{margin-right: 1%; margin-left: 1%}";
- el.innerHTML = temp;
- document.getElementById("ChatTab").style.padding = "5px";
- var Variables = 'var xC = 100000000;\nvar rainalert = luckyrain = {};\nvar count = 0;\nvar repeat = 1;\nvar d;\nvar Player;\nvar rainalert = new Audio();\nrainalert.src = "https://docs.google.com/uc?export=download&id=0BzwzmqEWk5a-cmsyMTJGM1RCbEU";\nrainalert.volume = 0.3;\nvar luckyrain = new Audio();\nluckyrain.src = "https://docs.google.com/uc?export=download&id=0BzwzmqEWk5a-TW9hQjFCUVRROTg";\nluckyrain.volume = 0.8;\nvar t;\nvar result;\nvar Search;\nvar speech = new Audio();\nvar NotifMessage;\nvar elO1 = document.getElementById("SoundUrl");\nvar elO2 = document.getElementById("SoundVolume");\nvar elO3 = document.getElementById("RainNotif");\nvar elO4 = document.getElementById("NotifVal");\nvar elO5 = document.getElementById("FavMarketChoice");\nvar click = "";\nvar priceUp;\nvar elBs = document.getElementById("BetSizeInput");\nvar elWin = document.getElementById("BetChanceInput");\nvar btnCount = document.getElementById("SantaBtn").children.length;\n\n';
- var End = '\nLoadData();\nwindow.setTimeout(onLoad, 5000);\nwindow.setInterval(function(){\nChronoTimer();\nBigRain();\nif (document.getElementsByClassName("Rain").length !== 0 ) {\nif (count === 0 ){\nd = new Date();\nSaveData();\nRainWarning();\n}\nif (count < repeat){\nsoundz();\ncount++;\n}\n}else{\ncount = 0;\n}\n}, 1000);\nvar favMRun;\n\n';
- window.setTimeout(ActiveChat, 1E3);
- script = document.createElement("script");
- script.type = "text/javascript";
- script.appendChild(document.createTextNode(Variables + soundz + "\n" + testSound + "\n" + ActiveChat + "\n" + ChronoTimer + "\n" + ClickSend + "\n" + ClickId + "\n" + collectRef + "\n" + collectRefId + "\n" + collectRefFull + "\n" + RainWarning + "\n" + RainUpdate + "\n" + RainUp + "\n" + BigRain + "\n" + ShowClear + "\n" + ShowAddy + "\n" + ShowBalance + "\n" + ShowHelp + "\n" + ShowRules + "\n" + showHideBtn + "\n" + ShowStats + "\n" + showE + "\n" + showT + "\n" + showG + "\n" + showBtn + "\n" + showTools + "\n" + scrollDown + "\n" + SendCommand + "\n" + NewReq + "\n" + cryptoRequest + "\n" + favMarket + "\n" + stopRequest + "\n" + startRequest + "\n" + calcAmount + "\n" + InjectorType + "\n" + Generate + "\n" + BetCalc + "\n" + GenResults + "\n" + SaveO + "\n" + loadO + "\n" + setOption + "\n" + onLoad + "\n" + SaveData + "\n" + betVal + "\n" + LoadData + "\n" + btnAdd + "\n" + btnClean + "\n" + btnSave + "\n" + btnLoad + "\n" + showBtnClass + "\n" + btnMulti + "\n" + btnDivide + "\n" + btnMD + "\n" + btnSep + "\n" + upFavMarket + End));
- (document.body || document.head || document.documentElement).appendChild(script);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement