Last active
March 2, 2021 12:43
-
-
Save hamiltongabriel/c89b2772705320346d2f399656af739d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (function() { | |
| 'use strict'; | |
| setInterval (function () { | |
| window.focus()}, parseInt(Math.random()*1000)+ 5000) | |
| // abrir entrada pra aposta. | |
| var apostado = false; | |
| var selecionouTipoDeAposta = false | |
| var saldoDeGols | |
| var valueOdd | |
| var item | |
| setInterval(function () { | |
| if (document.querySelector('.cashout-button-amount-value')) { | |
| document.querySelector('.refresh-btn').click() | |
| let valueCashback = parseFloat(document.querySelector('.cashout-button-amount-value').innerHTML.slice(2,7)) | |
| if (valueCashback < parseFloat('07.50')) { | |
| document.querySelector('.cashout-button-amount-value').click() | |
| } | |
| } | |
| }, 1000) | |
| setInterval(function () { | |
| document.querySelector('.refresh-btn').click() | |
| }, 10000) | |
| setInterval(function () { | |
| //document.querySelector('.cashout-button-amount-value') || document.querySelector('.progress-bar') || | |
| if (isNaN(parseInt(document.querySelector('.time-elapsed').children[0].innerHTML)) || document.querySelector('.RedCard')) { | |
| setTimeout(function () {window.close()}, 30000) | |
| return | |
| } | |
| if (apostado) { | |
| return | |
| } | |
| if (!document.querySelector('.score') || !document.querySelector('.runner-name') || !document.querySelector('.tab-container') || document.querySelector('.RedCard')) {return} | |
| if (!selecionouTipoDeAposta && parseInt(document.querySelector('.time-elapsed').children[0].innerHTML) > 70) { | |
| Object.values(document.querySelectorAll('.tab-container'))[1].click() | |
| selecionouTipoDeAposta = true | |
| } | |
| if (!selecionouTipoDeAposta && parseInt(document.querySelector('.time-elapsed').children[0].innerHTML) < 70) { | |
| document.querySelectorAll('.tab-container').forEach(value => { | |
| if (value.children[0].children[0].innerHTML !== '1º Tempo') { return } | |
| value.click() | |
| if (!Object.values(value.classList).includes('active')) { | |
| return | |
| } | |
| }) | |
| selecionouTipoDeAposta = true | |
| if ((parseInt(document.querySelector('.time-elapsed').children[0].innerHTML) > 42 && parseInt(document.querySelector('.time-elapsed').children[0].innerHTML) < 55) && !document.querySelector('.halftime-fulltime')){ | |
| document.querySelector('.refresh-btn').click() | |
| saldoDeGols = document.querySelector('.score').innerHTML.split('-'); | |
| saldoDeGols = parseInt(saldoDeGols[0]) + parseInt(saldoDeGols[1]); | |
| valueOdd = saldoDeGols + ',5'; | |
| item = Object.values(document.querySelectorAll('.runner-name')).filter(function (value) { | |
| return value.innerHTML.includes('Menos de ' + valueOdd); | |
| }); | |
| if (parseFloat(item[item.length-1].parentElement.parentElement.parentElement.parentElement.parentElement.parentElement.parentElement.children[1].children[0].children[0].children[0].innerHTML) > parseFloat('1.05') ) { | |
| return | |
| } | |
| if(parseFloat(item[item.length-1].parentElement.parentElement.parentElement.parentElement.parentElement.parentElement.parentElement.children[1].children[0].children[0].children[0].innerHTML) < parseFloat('1.06')) { | |
| apostado = true | |
| console.log('fechou') | |
| } | |
| item[item.length-1].parentElement.parentElement.parentElement.parentElement.parentElement.parentElement.parentElement.children[1].children[0].click(); | |
| if (document.querySelectorAll('.size-input').length > 0) { | |
| document.querySelector('.price-input').value = 1.01 | |
| document | |
| .querySelector(".price-input") | |
| .dispatchEvent(new Event("input", { bubbles: true })) | |
| document.querySelector(".size-input").value = "10"; | |
| document.querySelector(".size-input").dispatchEvent(new Event("input", { bubbles: true })); | |
| document.querySelector('.place-bet').click(); | |
| if(document.querySelector('.confirm-bet')) { | |
| apostado = true; | |
| } | |
| document.querySelector('.confirm-bet').click(); | |
| apostado = true; | |
| } | |
| return | |
| } | |
| } | |
| if (parseInt(document.querySelector('.time-elapsed').children[0].innerHTML) > 89) { | |
| document.querySelector('.refresh-btn').click() | |
| saldoDeGols = document.querySelector('.score').innerHTML.split('-'); | |
| saldoDeGols = parseInt(saldoDeGols[0]) + parseInt(saldoDeGols[1]); | |
| valueOdd = saldoDeGols + ',5'; | |
| item = Object.values(document.querySelectorAll('.runner-name')).filter(function (value) { | |
| return value.innerHTML.includes('Menos de ' + valueOdd); | |
| }); | |
| if (parseFloat(item[0].parentElement.parentElement.parentElement.parentElement.parentElement.parentElement.parentElement.children[1].children[0].children[0].children[0].innerHTML) > parseFloat('1.05') ) { | |
| return | |
| } | |
| if(parseFloat(item[0].parentElement.parentElement.parentElement.parentElement.parentElement.parentElement.parentElement.children[1].children[0].children[0].children[0].innerHTML) < parseFloat('1.06')) { | |
| apostado = true | |
| console.log('fechou') | |
| } | |
| item[0].parentElement.parentElement.parentElement.parentElement.parentElement.parentElement.parentElement.children[1].children[0].click(); | |
| if (document.querySelectorAll('.size-input').length > 0) { | |
| document.querySelector('.price-input').value = 1.01 | |
| document | |
| .querySelector(".price-input") | |
| .dispatchEvent(new Event("input", { bubbles: true })) | |
| document.querySelector(".size-input").value = "10"; | |
| document.querySelector(".size-input").dispatchEvent(new Event("input", { bubbles: true })); | |
| document.querySelector('.place-bet').click(); | |
| if(document.querySelector('.confirm-bet')) { | |
| apostado = true; | |
| } | |
| document.querySelector('.confirm-bet').click(); | |
| apostado = true; | |
| } | |
| } | |
| }, 3000); | |
| // Your code here... | |
| })(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| setInterval(function () { | |
| document.querySelector('.refresh-btn').click() | |
| }, 100) | |
| setInterval(function () { | |
| if (document.querySelector('.cashout-button-amount-value')) { | |
| let valueCashback = parseFloat(document.querySelector('.cashout-button-amount-value').innerHTML.slice(2,7)) | |
| if (valueCashback > parseFloat('10.01') && valueCashback < parseFloat('15.01')) { | |
| document.querySelector('.cashout-button-amount-value').click() | |
| } | |
| if (valueCashback > parseFloat('20.01') && valueCashback < parseFloat('25.01')) { | |
| document.querySelector('.cashout-button-amount-value').click() | |
| } | |
| if (valueCashback > parseFloat('30.00')) { | |
| document.querySelector('.cashout-button-amount-value').click() | |
| } | |
| } | |
| }, 100) | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| let valueOdd = '2,5' | |
| setInterval(function () { | |
| if (!document.querySelector('.score').innerHTML.includes('0-0')) { | |
| let valueCashback = parseFloat(document.querySelector('.cashout-button-amount-value').innerHTML.slice(2,7)) | |
| if (valueCashback > parseFloat('5.00')) { | |
| document.querySelector('.cashout-button-amount-value').click() | |
| } | |
| return | |
| } | |
| if (parseInt(document.querySelector('.time-elapsed').children[0].innerHTML.slice(0, 2)) > 9) { | |
| return | |
| } | |
| if (!document.querySelector('.cashout-button-amount-value') && !document.querySelector('.progress-bar')) { | |
| let item = Object.values(document.querySelectorAll('.runner-name')).filter(value => { | |
| return value.innerHTML.includes(`Menos de ${valueOdd}`) | |
| }) | |
| item[0]?.parentElement?.parentElement?.parentElement?.parentElement?.parentElement?.parentElement?.parentElement.children[1].children[0].click() | |
| // valor da aposta | |
| if (document.querySelectorAll('.size-input').length > 0) { | |
| document.querySelector(".size-input").value = "10" | |
| document | |
| .querySelector(".size-input") | |
| .dispatchEvent(new Event("input", { bubbles: true })) | |
| document.querySelector('.place-bet').click() | |
| document.querySelector('.confirm-bet').click() | |
| } | |
| // abrir aposta | |
| if (document.querySelector('.cashout-button-amount-value')) { | |
| console.log(document.querySelector('.cashout-button-amount-value').innerHTML) | |
| document.querySelector('.cashout-button-amount-value').parentElement.parentElement.click() | |
| } | |
| } | |
| }, 1000) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (function() { | |
| 'use strict'; | |
| // abrir entrada pra aposta. | |
| var apostado = false; | |
| var oddsOlds = [] | |
| var oddOneZero | |
| var oddTwoZero | |
| var valueSetInterval = 0 | |
| setInterval(function () { | |
| if (apostado) { | |
| return | |
| } | |
| document.querySelector('.refresh-btn').click() | |
| valueSetInterval = valueSetInterval + 1 | |
| if (parseInt(document.querySelector('.time-elapsed').children[0].innerHTML) < 90 ||!document.querySelector('.score') || !document.querySelector('.runner-name') || !document.querySelector('.tab-container') || document.querySelector('.RedCard')) {return} | |
| Object.values(document.querySelectorAll('.tab-container'))[1].click() | |
| var saldoDeGols = document.querySelector('.score').innerHTML.split('-'); | |
| saldoDeGols = parseInt(saldoDeGols[0]) + parseInt(saldoDeGols[1]); | |
| var valueOdd = saldoDeGols + ',5'; | |
| if (!document.querySelector('.cashout-button-amount-value') && !document.querySelector('.progress-bar')) { | |
| var item = Object.values(document.querySelectorAll('.runner-name')).filter(function (value) { | |
| return value.innerHTML.includes('Menos de ' + valueOdd); | |
| }); | |
| //if(parseFloat(item[0].parentElement.parentElement.parentElement.parentElement.parentElement.parentElement.parentElement.children[1].children[0].children[0].children[0].innerHTML) > parseFloat('1.03') && parseFloat(item[0].parentElement.parentElement.parentElement.parentElement.parentElement.parentElement.parentElement.children[1].children[0].children[0].children[0].innerHTML) < parseFloat('1.09')) { | |
| if (oddsOlds[oddsOlds.length-1] !== item[0].parentElement.parentElement.parentElement.parentElement.parentElement.parentElement.parentElement.children[1].children[0].children[0].children[0].innerHTML){ | |
| oddsOlds.push(item[0].parentElement.parentElement.parentElement.parentElement.parentElement.parentElement.parentElement.children[1].children[0].children[0].children[0].innerHTML) | |
| } | |
| var existTwoValues = oddsOlds.filter(value => value === '1.02') | |
| if(existTwoValues.length > 1) { | |
| item[0].parentElement.parentElement.parentElement.parentElement.parentElement.parentElement.parentElement.children[1].children[0].click(); | |
| // valor da aposta | |
| if (!apostado) { | |
| if (document.querySelectorAll('.size-input').length > 0) { | |
| document.querySelector(".size-input").value = "10"; | |
| document.querySelector(".size-input").dispatchEvent(new Event("input", { bubbles: true })); | |
| document.querySelector('.place-bet').click(); | |
| if(document.querySelector('.confirm-bet')) { | |
| apostado = true; | |
| } | |
| document.querySelector('.confirm-bet').click(); | |
| apostado = true; | |
| } | |
| } | |
| } | |
| if (!oddOneZero && parseFloat(item[0].parentElement.parentElement.parentElement.parentElement.parentElement.parentElement.parentElement.children[1].children[0].children[0].children[0].innerHTML) < parseFloat('1.02')) { | |
| oddOneZero = valueSetInterval | |
| } | |
| if (!oddTwoZero && (parseFloat(item[0].parentElement.parentElement.parentElement.parentElement.parentElement.parentElement.parentElement.children[1].children[0].children[0].children[0].innerHTML) < parseFloat('1.02') || parseFloat(item[0].parentElement.parentElement.parentElement.parentElement.parentElement.parentElement.parentElement.children[1].children[0].children[0].children[0].innerHTML) < parseFloat('1.03'))) { | |
| oddTwoZero = valueSetInterval | |
| } | |
| if(oddOneZero+2 >= valueSetInterval || oddTwoZero+7 >= valueSetInterval){ | |
| item[0].parentElement.parentElement.parentElement.parentElement.parentElement.parentElement.parentElement.children[1].children[0].click(); | |
| // valor da aposta | |
| if (!apostado) { | |
| if (document.querySelectorAll('.size-input').length > 0) { | |
| document.querySelector(".size-input").value = "10"; | |
| document.querySelector(".size-input").dispatchEvent(new Event("input", { bubbles: true })); | |
| document.querySelector('.place-bet').click(); | |
| if(document.querySelector('.confirm-bet')) { | |
| apostado = true; | |
| } | |
| document.querySelector('.confirm-bet').click(); | |
| apostado = true; | |
| } | |
| } | |
| } | |
| } | |
| }, 250); | |
| // Your code here... | |
| })(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment