44c44
< var gevt=null, ginst='', gthist='', gthisih='', gthiscs=null, nost=false, lastnost='', atwork=false;
---
> var gevt=null, ginst='', gthist='', gthisih='', gthiscs=null, nost=false, lastnost='';
53,119d52
< var ovo=null, ovoid='', ovrect=null, ovodiv=null, newrect=null, ovodivcont='';
<
< function overlayit(ino) {
< ovo=ino;
< ovoid='' + ino.id;
< setTimeout(afterov, 5000);
< }
<
< function checkonit() {
< if (('' + document.getElementById('ovodivid').style.zIndex).indexOf('-') != -1) {
< setTimeout(checkonit, 5000);
< } else {
< setTimeout(checkonit, 15000);
< }
< if (!atwork) {
< newrect=document.getElementById(ovoid).getBoundingClientRect();
< if (newrect.left == ovrect.left && newrect.width == ovrect.width && newrect.top == ovrect.top && newrect.height == ovrect.height) {
< if (ovodivcont != ovo.value) {
< document.getElementById('ovodivid').innerHTML=document.getElementById(ovoid).value.replace(/\ on/g, ' data-on');
< ovodivcont=document.getElementById(ovoid).value;
< document.getElementById('ovodivid').title=ovodivcont;
< document.getElementById(ovoid).title=document.getElementById(ovoid).title.split(String.fromCharCode(10) + String.fromCharCode(10))[0] + String.fromCharCode(10) + String.fromCharCode(10) + document.getElementById('ovodivid').innerText;
< }
< } else if (ovodivcont != ovo.value) {
< document.getElementById('ovodivid').style.left='' + newrect.left + 'px';
< document.getElementById('ovodivid').style.top='' + newrect.top + 'px';
< document.getElementById('ovodivid').style.width='' + newrect.width + 'px';
< document.getElementById('ovodivid').style.height='' + newrect.height + 'px';
< ovodivcont=document.getElementById(ovoid).value;
< document.getElementById('ovodivid').innerHTML=ovodivcnt.replace(/\ on/g, ' data-on');
< document.getElementById('ovodivid').title=ovodivcont;
< ovodivcont=document.getElementById(ovoid).value;
< document.getElementById(ovoid).title=document.getElementById(ovoid).title.split(String.fromCharCode(10) + String.fromCharCode(10))[0] + String.fromCharCode(10) + String.fromCharCode(10) + document.getElementById('ovodivid').innerText;
< } else {
< document.getElementById('ovodivid').style.left='' + newrect.left + 'px';
< document.getElementById('ovodivid').style.top='' + newrect.top + 'px';
< document.getElementById('ovodivid').style.width='' + newrect.width + 'px';
< document.getElementById('ovodivid').style.height='' + newrect.height + 'px';
< }
< if (('' + document.getElementById('ovodivid').style.zIndex).indexOf('-') != -1) {
< document.getElementById('ovodivid').style.opacity='1.0';
< document.getElementById(ovoid).style.opacity='0.0';
< //setTimeout(checkonit, 5000);
< } else {
< document.getElementById('ovodivid').style.opacity='0.0';
< document.getElementById(ovoid).style.opacity='1.0';
< //setTimeout(checkonit, 15000);
< }
< document.getElementById('ovodivid').style.zIndex='' + eval(-1 * eval('' + document.getElementById('ovodivid').style.zIndex));
< }
< }
<
< function afterov() {
< if (ovo != null && ovoid != '') {
< ovrect=ovo.getBoundingClientRect();
< if (document.getElementById('lastdiv').innerHTML == '') {
< ovodivcont=ovo.value;
< document.getElementById('lastdiv').innerHTML='
' + ovodivcont.replace(/\ on/g, ' data-on') + '
';
< document.getElementById('ovodivid').title=ovodivcont;
< document.getElementById(ovoid).style.opacity='0.0';
< if (document.getElementById(ovoid).title.indexOf(String.fromCharCode(10) + String.fromCharCode(10)) == -1) {
< document.getElementById(ovoid).title+=String.fromCharCode(10) + String.fromCharCode(10) + document.getElementById('ovodivid').innerText;
< }
< setTimeout(checkonit, 5000);
< }
< }
< }
123d55
< //document.title='awaitblur=' + awaitblur;
205c137
< document.getElementById('fauxpas' + theone).value=document.getElementById('fauxpas' + theone).value.replace(beforekih, eti.replace(kbd[ijh], prefixer.replace('>', ' class="new">') + kbd[ijh] + suffixer));
---
> document.getElementById('fauxpas' + theone).value=document.getElementById('fauxpas' + theone).value.replace(beforekih, eti.replace(kbd[ijh], prefixer + kbd[ijh] + suffixer));
227,229c159
< setTimeout(function(){ awaitblur=false; kbd=['']; ikbd=''; beforek=''; beforekih='';
< if (9 == 8) { document.getElementsByTagName('h3')[0].innerHTML+='f'; }
< }, 1000); // was 1000
---
> setTimeout(function(){ awaitblur=false; }, 1000);
248,268d177
< if (e.altKey) {
< if (kbd[ikbd] != '') {
< kbd.push('');
< ikbd++;
< //alert('alt');
< }
< }
< if (e.ctrlKey) {
< if (kbd[ikbd] != '') {
< kbd.push('');
< ikbd++;
< //alert('ctrl');
< }
< }
< if (e.keyCode == 8 || e.keyCode == 46) {
< awaitblur=true;
< kbd=[''];
< ikbd=0;
< beforek='';
< beforekih='';
< } else {
271,273d179
< //if (/[a-zA-Z]/.test(e.key) && e.key.length == 1) {
< if (9 == 5) { document.getElementsByTagName('h3')[0].innerHTML+='' + e.key.length; }
< if (e.key.length == 1) {
280,282c186,187
< awaitblur=true;
< if (5 == 6) { document.getElementsByTagName('h3')[0].innerHTML+='t'; }
< //document.title='kbd[' + ikbd + ']=' + kbd[ikbd];
---
> awaitblur=true;
> document.title='kbd[' + ikbd + ']=' + kbd[ikbd];
285,286d189
< }
< }
777c680
< if (eval('' + tas.length) > 1) { interimcnt=2; } else if (anyhash != '') { overlayit(inpso[2]); }
---
> if (eval('' + tas.length) > 1) { interimcnt=2; }
807c710
< inpso[jin].placeholder='' + inpso[jin].placeholder.replace(/\ \ \,\ \ /g, ' , ') + '';
---
> inpso[jin].placeholder='' + inpso[jin].placeholder.replace(/\ \ \,\ \ /g, ' , ') + '';
811c714
< inpso[jin].value='' + huhs[jin].value.replace(/\ \ \,\ \ /g, ' , ') + '';
---
> inpso[jin].value='' + huhs[jin].value.replace(/\ \ \,\ \ /g, ' , ') + '';
819c722
< inpso[jin].placeholder='' + inpso[jin].placeholder.replace(/\ \ \,\ \ /g, ' , ') + '';
---
> inpso[jin].placeholder='' + inpso[jin].placeholder.replace(/\ \ \,\ \ /g, ' , ') + '';
823c726
< inpso[jin].value='' + inpso[jin].value.replace(/\ \ \,\ \ /g, ' , ') + '';
---
> inpso[jin].value='' + inpso[jin].value.replace(/\ \ \,\ \ /g, ' , ') + '';
835c738
< tas[eval(jin - interimcnt)].placeholder='' + tas[eval(jin - interimcnt)].placeholder.replace(/\ \ \,\ \ /g, ' , ') + '';
---
> tas[eval(jin - interimcnt)].placeholder='' + tas[eval(jin - interimcnt)].placeholder.replace(/\ \ \,\ \ /g, ' , ') + '';
840c743
< tas[eval(jin - interimcnt)].value='' + tas[eval(jin - interimcnt)].value.replace(/\ \ \,\ \ /g, ' , ') + '';
---
> tas[eval(jin - interimcnt)].value='' + tas[eval(jin - interimcnt)].value.replace(/\ \ \,\ \ /g, ' , ') + '';
843,845d745
< if (eval(jin - interimcnt) == 0) {
< overlayit(tas[eval(jin - interimcnt)]);
< }
850c750
< tas[eval(jin - interimcnt)].placeholder='' + tas[eval(jin - interimcnt)].placeholder.replace(/\ \ \,\ \ /g, ' , ') + '';
---
> tas[eval(jin - interimcnt)].placeholder='' + tas[eval(jin - interimcnt)].placeholder.replace(/\ \ \,\ \ /g, ' , ') + '';
854c754
< tas[eval(jin - interimcnt)].innerHTML=huhs[jin]='' + tas[eval(jin - interimcnt)].value.replace(/\ \ \,\ \ /g, ' , ') + '';
---
> tas[eval(jin - interimcnt)].innerHTML=huhs[jin]='' + tas[eval(jin - interimcnt)].value.replace(/\ \ \,\ \ /g, ' , ') + '';
948,963d847
<
< function uaprefix() { // thanks to https://tutorial.techaltum.com/javascript-navigator.html
< if (navigator.userAgent.search("Edge") != -1) {
< return '00';
< } else if (navigator.userAgent.search("Chrome") != -1) {
< return '000';
< } else if (navigator.userAgent.search("Firefox") != -1) {
< return '0000';
< } else if (navigator.userAgent.search("Safari") != -1) {
< return '00000';
< } else if (/MSIE|Trident|Edge\//.test(navigator.userAgent)) {
< return '000000';
< } else {
< return '0000000';
< }
< }
974c858
< ipbit=uaprefix() + aconto.body.innerHTML.split('')[1].split('<')[0];
---
> ipbit=aconto.body.innerHTML.split('
')[1].split('<')[0];
979c863
< var numzeros=eval(eval('' + ibps[0].length) - eval('' + ibps[0].replace(/^0/g,'').replace(/^0/g,'').replace(/^0/g,'').replace(/^0/g,'').replace(/^0/g,'').replace(/^0/g,'').replace(/^0/g,'').replace(/^0/g,'').replace(/^0/g,'').replace(/^0/g,'').replace(/^0/g,'').replace(/^0/g,'').replace(/^0/g,'').replace(/^0/g,'').replace(/^0/g,'').length));
---
> var numzeros=eval(eval('' + ibps[0].length) - eval('' + ibps[0].replace(/^0/g,'').replace(/^0/g,'').replace(/^0/g,'').replace(/^0/g,'').replace(/^0/g,'').replace(/^0/g,'').replace(/^0/g,'').replace(/^0/g,'').replace(/^0/g,'').length));
1016d899
< gevt=evt;
1045a929
> gevt=evt;
1050c934
< gpdef=gevt.target.outerHTML;
---
> gpdef=evt.target.outerHTML;
1171d1054
< if (8 == 4) { document.getElementsByTagName('h3')[0].innerHTML+='F'; }
1462,1463c1345
< awaitblur=false;
< if (3 == 5) { document.getElementsByTagName('h3')[0].innerHTML+='a'; }
---
> awaitblur=false;
1540c1422
<
---
>
1565d1446
<