бот
бот
бот
/* Close */
eventAdd(document.getElementById('xclosed'), 'click', function() {
document.getElementById('double_your_btc_right_section').firstChild.style.display="
block";
document.getElementById('xclosed').parentNode.remove();
});
/* Hapus */
function hapus(){
document.getElementById("profit").style.color="blue";
document.getElementById("tabungan").textContent ="0.00000000";
document.getElementById("profit").textContent ="0.00000000";
document.getElementById('saldo_awal').textContent =
document.getElementById('balance').textContent;
document.getElementById('saldo_akhir').textContent =
document.getElementById('balance').textContent;
document.getElementById('double_your_btc_min').click();
document.getElementById('min_bet').textContent=document.getElementById('double_your
_btc_stake').value;
}
hapus();
eventAdd(document.getElementById('hapus'), 'click', function() {
hapus();
});
/* Warna Profit */
function warna(){
var wtab = Number(document.getElementById("profit").innerHTML);
if (wtab<0){document.getElementById("profit").style.color="red";}
else document.getElementById("profit").style.color="green";
}
/* Acak */
function acak(){
document.getElementById('tabungan').style["font-size"] = "12px";
var pilih = Math.floor((Math.random() * 2) + 1);
if (pilih===1)
{document.getElementById("double_your_btc_bet_hi_button").click();}
else {document.getElementById("double_your_btc_bet_lo_button").click();}
}
/* Bet */
var betTerus;
eventAdd(document.getElementById('mulai'), 'click', function() {
/*Time Counter*/
var countDiv = document.createElement("div");
countDiv.setAttribute("id", "waktuMulai");
countDiv.setAttribute("style", "display:none;");
document.getElementById("double_your_btc_middle_section").appendChild(countDiv);
function hitungMulai(){
var count =4;
var hitungMundur = setInterval(function waktu(){
if (count<=0){
clearInterval(hitungMundur)
document.getElementById('waktuMulai').style.display="none";
}
else{
count--
document.getElementById('waktuMulai').style.display="block";
document.getElementById("waktuMulai").textContent = count;
}
}, 1000);
}
hapus();
var balance = document.getElementById('balance').innerHTML;
var tabungan = document.getElementById('tabungan').innerHTML;
if(Number(balance)<=Number(tabungan)){clearInterval(betTerus)}
betTerus = setInterval( function gambler(){
acak(); warna();
setTimeout(function(){
var saldo_awal = document.getElementById('saldo_awal').innerHTML;
var balance = document.getElementById('balance').innerHTML;
var tabungan = document.getElementById('tabungan').innerHTML;
var idmin_bet = document.getElementById('min_bet');
var prop = Number(Number(balance)-Number(saldo_awal)).toFixed(8);
var simpanan = Number(Number(prop)+Number(tabungan)).toFixed(8);
document.getElementById("profit").textContent = prop;
document.getElementById('saldo_akhir').textContent = balance;
if(prop>=0.00000002){
document.getElementById('tabungan').textContent = simpanan;
document.getElementById('tabungan').style["font-size"] =
"24px";
document.getElementById('saldo_awal').textContent =
balance;
document.getElementById('saldo_akhir').textContent =
balance;
document.getElementById('double_your_btc_min').click();
idmin_bet.textContent=document.getElementById('double_your_btc_stake').value;
idmin_bet.style.color="green";
}
else if(prop<0){
document.getElementById("profit").style.color="red";
document.getElementById('double_your_btc_2x').click();
idmin_bet.textContent=document.getElementById('double_your_btc_stake').value;
idmin_bet.style.color="red";
}
else {
document.getElementById("profit").style.color="green";
document.getElementById('double_your_btc_min').click();
idmin_bet.textContent=document.getElementById('double_your_btc_stake').value;
idmin_bet.style.color="green";
}
}, 1000);
}, 3000);
});
/*Stop Bet*/
eventAdd(document.getElementById('berhenti'), 'click', function() {
clearInterval(betTerus);
});
}
function runDoge(){
var newDiv1 = document.createElement("div");
newDiv1.setAttribute("id", "popBet");
newDiv1.innerHTML = '<span id="xclosed">close</span>'+
'<div id="kiri">'+
'<h5 class="h5atas">LAPORAN PROFIT </h5>'+
'<h5 style="color:#ccc">MODAL : <span id="saldo_awal"></span></h5>'+
'<h5 style="color:#000">BALANCE : <span id="saldo_akhir"></span></h5>'+
'<hr/>'+
'<h5 style="color:green">BET ON : <span id="min_bet"></span></h5>'+
'<h5 style="color:blue">RESULT : <span id="profit">0.00000000</span></h5>'+
'<p class="ptab">TABUNGAN : <span id="tabungan">0.00000000</span></p>'+
'</div><div id="kanan">'+
'<button id="mulai" class="button medium success">START</button>'+
'<button id="berhenti" class="button medium success">STOP</button>'+
'<br/>'+
'<button id="hapus">RESET DATA</button>'+
'</div>';
document.getElementById('double_your_doge_right_section').firstChild.style.display=
"none";
document.getElementById("double_your_doge_right_section").appendChild(newDiv1);
document.getElementById('double_your_doge_right_section').scrollIntoView();
//EventListener
function eventAdd(e, eventName, handler) {
if (e.addEventListener) e.addEventListener(eventName, handler, false);
else e.attachEvent('on' + eventName, handler);
}
/* Close */
eventAdd(document.getElementById('xclosed'), 'click', function() {
document.getElementById('double_your_doge_right_section').firstChild.style.display=
"block";
document.getElementById('xclosed').parentNode.remove();
});
/* Hapus */
function hapus(){
document.getElementById("profit").style.color="blue";
document.getElementById("tabungan").textContent ="0.00000000";
document.getElementById("profit").textContent ="0.00000000";
document.getElementById('saldo_awal').textContent =
document.getElementById('balance').textContent;
document.getElementById('saldo_akhir').textContent =
document.getElementById('balance').textContent;
document.getElementById('double_your_doge_min').click();
document.getElementById('min_bet').textContent=document.getElementById('double_your
_doge_stake').value;
};
eventAdd(document.getElementById('hapus'), 'click', function() {
hapus();
});
/* Warna Profit */
function warna(){
var wtab = Number(document.getElementById("profit").innerHTML);
if (wtab<0){document.getElementById("profit").style.color="red";}
else document.getElementById("profit").style.color="green";
};
/* Acak */
function acak(){
document.getElementById('tabungan').style["font-size"] = "12px";
var pilih = Math.floor((Math.random() * 2) + 1);
if (pilih===1)
{document.getElementById("double_your_doge_bet_hi_button").click();}
else {document.getElementById("double_your_doge_bet_lo_button").click();}
};
/* Bet */
var betTerus;
eventAdd(document.getElementById('mulai'), 'click', function() {
//Time Counter
var countDiv = document.createElement("div");
countDiv.setAttribute("id", "waktuMulai");
countDiv.setAttribute("style", "display:none;");
document.getElementById("double_your_doge_middle_section").appendChild(countDiv);
function hitungMulai(){
var count =4;
var hitungMundur = setInterval(function waktu(){
if (count<=0){
clearInterval(hitungMundur)
document.getElementById('waktuMulai').style.display="none";
}
else{
count--
document.getElementById('waktuMulai').style.display="block";
document.getElementById("waktuMulai").textContent = count;
}
}, 1000);
};
hapus();
var balance = document.getElementById('balance').innerHTML;
var tabungan = document.getElementById('tabungan').innerHTML;
if(Number(balance)<=Number(tabungan)){clearInterval(betTerus)}
betTerus = setInterval(function gambler(){
acak(); warna();
setTimeout(function(){
var saldo_awal = document.getElementById('saldo_awal').innerHTML;
var balance = document.getElementById('balance').innerHTML;
var tabungan = document.getElementById('tabungan').innerHTML;
var idmin_bet = document.getElementById('min_bet');
var prop = Number(Number(balance)-Number(saldo_awal)).toFixed(8);
var simpanan = Number(Number(prop)+Number(tabungan)).toFixed(8);
document.getElementById("profit").textContent = prop;
document.getElementById('saldo_akhir').textContent = balance;
if(prop>=0.026){
document.getElementById('tabungan').textContent = simpanan;
document.getElementById('tabungan').style["font-size"] =
"24px";
document.getElementById('saldo_awal').textContent =
balance;
document.getElementById('saldo_akhir').textContent =
balance;
document.getElementById('double_your_doge_min').click();
idmin_bet.textContent=document.getElementById('double_your_doge_stake').value;
idmin_bet.style.color="green";
}
else if(prop<0){
document.getElementById("profit").style.color="red";
document.getElementById('double_your_doge_2x').click();
idmin_bet.textContent=document.getElementById('double_your_doge_stake').value;
idmin_bet.style.color="red";
}
else {
document.getElementById("profit").style.color="green";
document.getElementById('double_your_doge_min').click();
idmin_bet.textContent=document.getElementById('double_your_doge_stake').value;
idmin_bet.style.color="green";
}
}, 1000);
}, 3000);
});
/*Stop Bet*/
eventAdd(document.getElementById('berhenti'), 'click', function() {
clearInterval(betTerus);
});
};
if(document.getElementById("time_remaining").textContent!==""){
var ad_id =
['main_content_ad_left','top_user_ads_container','box_ad_middle','bottom_user_ads_c
ontainer'];
for(i = 0; i < ad_id.length; i++) {
if(document.getElementById(ad_id[i])){
document.getElementById(ad_id[i]).textContent = '';
}
};