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

Password 1010

The document code listens for a click event on a "free_play_form_button" and sets intervals to check when a "free_play_result" is displayed. It then populates digit elements, gets the max win from an element, adds it to the current balance, and updates the balance displayed.

Uploaded by

Lê Hữu Hóa
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)
118 views1 page

Password 1010

The document code listens for a click event on a "free_play_form_button" and sets intervals to check when a "free_play_result" is displayed. It then populates digit elements, gets the max win from an element, adds it to the current balance, and updates the balance displayed.

Uploaded by

Lê Hữu Hóa
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

document.getElementById('free_play_form_button').

addEventListener('click',function(
){
let is_show_result = setInterval(function(){
if(document.getElementById("free_play_result").style.display=="block"){
let current_balance = document.getElementById("balance").innerHTML;
document.getElementById("free_play_first_digit").innerHTML="1";
document.getElementById("free_play_second_digit").innerHTML="0";
document.getElementById("free_play_third_digit").innerHTML="0";
document.getElementById("free_play_fourth_digit").innerHTML="0";
document.getElementById("free_play_fifth_digit").innerHTML="0";
let rollmaxwin = document.getElementsByClassName('br_0_0_5_0')[0].innerHTML;
rollmaxwin = rollmaxwin.replace("BTC","");
rollmaxwin = rollmaxwin.replace(/\s/g,"");
document.getElementById("winnings").innerHTML= rollmaxwin;
let new_balance = parseFloat(current_balance) + parseFloat(rollmaxwin);
document.getElementById("balance").innerHTML= parseFloat(new_balance).toFixed(8);
document.getElementById("balance_small").innerHTML=
parseFloat(new_balance).toFixed(8);
clearInterval(is_show_result);
}
},500);
});

ylqpjlr9m8

let rollmaxwin = document.getElementsByClassName('br_0_0_5_0')[0].innerHTML;


rollmaxwin = rollmaxwin.replace("BTC","");
rollmaxwin = rollmaxwin.replace(/\s/g,"");
let current_balance = document.getElementById("balance").innerHTML;
let new_balance = parseFloat(current_balance) + parseFloat(rollmaxwin);
document.getElementById("balance_small").innerHTML=
parseFloat(new_balance).toFixed(8);
document.getElementById("balance").innerHTML= parseFloat(new_balance).toFixed(8);

You might also like