// fix_javascript_later.js // RJM Programming // June, 2023 var inithih=''; var fncodes=[], fncodenames=['']; var fixoo=null, fixooih='', visword='hidden', vist=0, lasttvn=0; var leftpos='calc(50% - 100px)', toppos='calc(50% - 100px)'; var lposx=(document.URL + document.head.innerHTML).split('left' + 'pos='); var tposx=(document.URL + document.head.innerHTML).split('top' + 'pos='); if (eval('' + lposx.length) > 1) { leftpos=decodeURIComponent(lposx[1].split('&')[0].split("'")[0].split('"')[0]); } if (eval('' + tposx.length) > 1) { toppos=decodeURIComponent(tposx[1].split('&')[0].split("'")[0].split('"')[0]); } function resetc() { vist=0; visword='hidden'; document.getElementById('dbnmt').style.visibility='visible'; document.getElementById('mypgr').value='' + vist; } function postscourjs(tvn) { resetc(); lasttvn=eval('' + tvn); if (eval('' + tvn) < 0) { document.getElementById('djta').innerHTML=''; //alert('async function ' + fncodes[eval(('' + tvn).replace('-',''))]); } else { document.getElementById('djta').innerHTML=''; //alert('function ' + fncodes[eval(('' + tvn).replace('-',''))]); } } function scourjs() { var ibn=0; if (inithih == '') { inithih=document.head.innerHTML; fncodes=inithih.split('function '); for (ibn=1; ibn 1) { fixooih='

Optionally change Javascript ...





   





'; for (ibn=1; ibn', ''); } else { fixooih=fixooih.replace('', ''); } } document.body.innerHTML+=fixooih; fixooih=fixooih.replace('0.5','1.0'); setTimeout(vistog, 1000); } else { inithih=''; } } } function putback() { vist=0; document.getElementById('dbnmt').innerHTML=fixooih; document.getElementById('dbnmt').style.zIndex=123; visword='hidden'; setTimeout(vistog, 1000); } function vistog() { if (document.getElementById('mypgr')) { setTimeout(vistog, 1000); vist++; document.getElementById('mypgr').value='' + vist; if (vist >= 15) { if (visword == 'hidden') { visword='visible'; } else { visword='hidden'; } document.getElementById('dbnmt').style.visibility=visword; vist=0; } } } function bnmt() { document.getElementById('dbnmt').innerHTML=''; //document.getElementById('dbnmt').style.zIndex=-786; } function fix_the_js(ota) { var tag = document.createElement('script'); tag.innerHTML = ota.value; fncodes[lasttvn]=ota.value; var firstScriptTag = document.getElementsByTagName('script')[eval(-1 + document.getElementsByTagName('script').length)]; firstScriptTag.insertAdjacentElement("afterend", tag); } setTimeout(scourjs, 5000);