100% found this document useful (2 votes)
1K views

Script Freebitcoin 2021

The document defines JavaScript code to automate betting on a Bitcoin doubling website. It includes: 1) Functions to start and stop the automation by binding buttons to trigger betting and validating betting patterns. 2) Variables to track the betting button, betting pattern, game plays, and initial/current balances. 3) A function to validate the betting pattern against the sequence of wins and losses, stop if matched, and alert the user. 4) On win or loss, it calls the validation function to check if the pattern was met before triggering the next bet.
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
100% found this document useful (2 votes)
1K views

Script Freebitcoin 2021

The document defines JavaScript code to automate betting on a Bitcoin doubling website. It includes: 1) Functions to start and stop the automation by binding buttons to trigger betting and validating betting patterns. 2) Variables to track the betting button, betting pattern, game plays, and initial/current balances. 3) A function to validate the betting pattern against the sequence of wins and losses, stop if matched, and alert the user. 4) On win or loss, it calls the validation function to check if the pattern was met before triggering the next bet.
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

var x = '<div id="botonera" class="large-12 small-12 columns center">' +

'<button id="start" onclick="iniciar()" class="btn btn-primary"


style="margin:0 0 10px 0; padding:3px; width:auto;">Iniciar</button>' +
'</div>' +
'<div class="large-12 small-12 columns center">' +
'<input type="text" id="patrones" value="RRR-VVV"
style="text-align:center; height:30px;">' +
'</div>'
$("#double_your_btc_right_section p:first").html(x);

$('#double_your_btc_bet_lose').unbind();
$('#double_your_btc_bet_win').unbind();
var jugadas; var patron; var boton;
var hacerParada = false; var balanceInicial; var balanceActual;
function iniciar(){
boton = $("#double_your_btc_bet_hi_button");
//var boton = $("#double_your_btc_bet_lo_button");
patron=$("#patrones").val();
hacerParada=false;
$("#botonera").html('<button id="start" onclick="parar()" class="btn btn-warning
style="margin:0 0 10px 0; padding:3px; width:auto;">Parar</button>');
jugadas = "";
$('#double_your_btc_stake').val('0.00000001');
//$("#double_your_btc_bet_hi_button").trigger("click");
boton.trigger("click");
balanceInicial = ( parseInt(parseFloat ( $("#balance").html() ) * 100000000) );
}

function parar(){
hacerParada = true;
$("#botonera").html('<button id="start" onclick="iniciar()" class="class="btn
btn-primary" style="margin:0 0 10px 0; padding:3px;
width:auto;">Iniciar</button>');
}

$('#double_your_btc_bet_lose').bind("DOMSubtreeModified",function(event){
if (hacerParada) return;
if( $(event.currentTarget).is(':contains("lose")') ){
validarPatron("R");
}
});

$('#double_your_btc_bet_win').bind("DOMSubtreeModified",function(event){
if (hacerParada) return;
if( $(event.currentTarget).is(':contains("win")') ){
validarPatron("V");
}
});

function validarPatron(resultado){
jugadas+= resultado;
var cadena = $("#patrones").val();
var patrones = cadena.split("-");
for (var i = 0; i < patrones.length; i++) {
var longitud = patrones[i].length;
var valor = jugadas.substr(jugadas.length - longitud);
var patron = patrones[i].substr(0,longitud);
if (valor==patron){
parar();
balanceActual = (parseInt(parseFloat ($
("#balance").html())*100000000));
var inversion = balanceActual-balanceInicial;
alert("Patr�n encontrado: " + valor + "\nInversi�n:" +
inversion + " satoshis" );
return;
}
}
boton.trigger("click");
}

You might also like