5d4 < var maybet=''; 10c9 < var woobj=null, uowo=null; --- > var woobj=null; 16,18d14 < if (('' + location.hash).indexOf('style=') != -1) { < incomings=('' + location.hash); // + '&' + location.search + '&' + window.opener.document.URL + '&' + location.hash); < } else { 20d15 < } 26,28d20 < if (('' + location.hash).indexOf('style=') != -1) { < incomings=('' + location.hash); // + '&' + location.search + '&' + window.opener.document.URL + '&' + location.hash); < } else { 30d21 < } 48,55d38 < function relit() { < if (('' + location.hash).indexOf('style=') != -1) { < incomings=('' + location.hash); // + '&' + location.search + '&' + window.opener.document.URL + '&' + location.hash); < relincomings=incomings.split('style=')[1] ? (incomings.split('style=')[1].split('&')[0].split('#')[0]).replace(/\%20/g,' ').replace(/\+/g,' ') : ''; < } < return relincomings; < } < 75,79d57 < var qqincomings=('' + location.hash); < if ((qqincomings.indexOf('%20') != -1 || 7 == 7) && qqincomings.replace(':',')').indexOf(')') != -1 && qqincomings.indexOf('style=') != -1) { < qqincomings='style=' + encodeURIComponent((qqincomings.split('style=')[1].split('&')[0].split('#')[0]).replace(/\%20/g,' ').replace(/\+/g,' ')); < } < var qqrelincomings=qqincomings.split('style=')[1] ? decodeURIComponent(qqincomings.split('style=')[1].split('&')[0].split('#')[0]).replace(/\%20/g,' ').replace(/\+/g,' ') : ''; 90,106c68 < } else if (relincomings.indexOf('style=') != -1) { < defblurb=decodeURIComponent(relincomings.split('style=')[1]); < } else { < var qincomings=''; < if (('' + location.hash).indexOf('style=') != -1) { < qincomings==('' + location.hash); // + '&' + location.search + '&' + window.opener.document.URL + '&' + location.hash); < } else { < qincomings=('' + location.search + '&' + document.referrer + '&' + location.hash); < } < if ((qincomings.indexOf('%20') != -1 || 7 == 7) && qincomings.replace(':',')').indexOf(')') != -1 && qincomings.indexOf('style=') != -1) { < qincomings='style=' + encodeURIComponent((qincomings.split('style=')[1].split('&')[0].split('#')[0]).replace(/\%20/g,' ').replace(/\+/g,' ')); < } < var qrelincomings=qincomings.split('style=')[1] ? decodeURIComponent(qincomings.split('style=')[1].split('&')[0].split('#')[0]).replace(/\%20/g,' ').replace(/\+/g,' ') : ''; < if (qrelincomings.indexOf('style=') != -1) { < defblurb=decodeURIComponent(qrelincomings.split('style=')[1]); < } < } --- > } 110,140c72 < < if (defblurb != '') { < defblurb=defblurb; < // window.localStorage.setItem('user_of_signature_signature_filter', '' + defblurb); < } < < var sshow='#snapshot='; < < if (maybet == '') { < maybet=document.getElementsByTagName('img')[0].src.replace('https:','').replace('http:',''); < < sshow+=',' + document.getElementById("body").scrollLeft; < //window.localStorage.setItem('user_of_signature_signature_sx', '' + document.getElementById("body").scrollLeft); < sshow+=',' + document.getElementById("body").scrollTop; < //window.localStorage.setItem('user_of_signature_signature_sy', '' + document.getElementById("body").scrollTop); < sshow+=',' + screen.width; < //window.localStorage.setItem('user_of_signature_signature_swidth', '' + screen.width); < sshow+=',' + screen.height; < //window.localStorage.setItem('user_of_signature_signature_sheight', '' + screen.height); < < sshow+=',0'; < //window.localStorage.setItem('user_of_signature_signature_x', '0'); //'' + document.getElementById("body").scrollLeft); < sshow+=',0'; < //window.localStorage.setItem('user_of_signature_signature_y', '0'); //'' + document.getElementById("body").scrollTop); < sshow+=',' + screen.width; < //window.localStorage.setItem('user_of_signature_signature_width', '' + screen.width); < sshow+=',' + screen.height; < //window.localStorage.setItem('user_of_signature_signature_height', '' + screen.height); < } < < var huhifs=prompt('Optionally, please, any CSS for images ... append three spaces to be able to edit this screenshot in a canvas ... ref. https://www.w3schools.com/cssref/css3_pr_filter.php ... eg. ' + egblurb + ' ', defblurb); --- > var huhifs=prompt('Optionally, please, any CSS for images ... ref. https://www.w3schools.com/cssref/css3_pr_filter.php ... eg. ' + egblurb + ' ', defblurb); 142,154d73 < if (huhifs != '' && (huhifs + '~').replace(' ~','') != (huhifs + '~')) { < if (huhifs.trim() != '' && huhifs.trim().indexOf('(') != -1) { < sshow+=',' + encodeURIComponent('style=' + huhifs.trim()); < //window.localStorage.setItem('user_of_signature_signature_filter', 'style=' + huhifs.trim()); < } < if (qqrelincomings != '') { < uowo=window.open('/HTMLCSS/user_of_signature_signature.htm?fcol=' + Math.floor(Math.random() * 19897863) + sshow.replace('=,','=' + encodeURIComponent(maybet) + ',') + '&style=' + encodeURIComponent(qqrelincomings.replace('style=','')), '_blank'); //, 'top=50,left=50,width=600,height=600'); < } else { < uowo=window.open('/HTMLCSS/user_of_signature_signature.htm?fcol=' + Math.floor(Math.random() * 19897863) + sshow.replace('=,','=' + encodeURIComponent(maybet) + ','), '_blank'); //, 'top=50,left=50,width=600,height=600'); < } < //setTimeout(function(){ window.localStorage.setItem('user_of_signature_signature_transfer', '' + maybet); maybet=''; }, 6100); < maybet=''; < } 158,166c77 < // alert('pre 1:' + document.getElementsByTagName('a')[0].outerHTML.split('>')[0]); < if (('' + window.localStorage.getItem(prefss + '_filter')).replace(/^undefined/g,'').replace(/^null/g,'') != '') { < if (('' + window.sessionStorage.getItem(prefss + '_filter')).replace(/^undefined/g,'').replace(/^null/g,'') == '') { < window.sessionStorage.setItem(prefss + '_filter', window.localStorage.getItem(prefss + '_filter')); < window.localStorage.removeItem(prefss + '_filter'); < } else { < window.localStorage.removeItem(prefss + '_filter'); < } < } --- > //alert('pre 1:' + document.getElementsByTagName('a')[0].outerHTML.split('>')[0]); 168,171d78 < relincomings=''; < //if (document.URL.indexOf('style=') == -1 || 11 == 11) { < //location.href='#style=' + encodeURIComponent('filter: ' + huhifs.trim().replace(/\;$/g,'') + ';'); < //} 183c90 < //alert('pre1:' + document.getElementsByTagName('a')[0].outerHTML.split('>')[0]); --- > //alert('pre1:' + document.getElementsByTagName('a')[0].outerHTML.split('>')[0]); 203d109 < //alert(77); 205,207c111,112 < //alert(777); < if (document.URL.indexOf('style=') == -1 || 11 == 11) { < setTimeout(function(){ location.href='#style=' + huhifs.trim().replace(/\;$/g,'') + '; '; relincomings=relit(); }, 100); --- > if (document.URL.indexOf('style=') == -1) { > location.href='#style=' + huhifs.trim().replace(/\;$/g,'') + '; '; 209d113 < maybet=''; 211,218d114 < if (('' + window.localStorage.getItem(prefss + '_filter')).replace(/^undefined/g,'').replace(/^null/g,'') != '') { < if (('' + window.sessionStorage.getItem(prefss + '_filter')).replace(/^undefined/g,'').replace(/^null/g,'') == '') { < window.sessionStorage.setItem(prefss + '_filter', window.localStorage.getItem(prefss + '_filter')); < window.localStorage.removeItem(prefss + '_filter'); < } else { < window.localStorage.removeItem(prefss + '_filter'); < } < } 220,223d115 < relincomings=''; < //if (document.URL.indexOf('style=') == -1 || 11 == 11) { < //location.href='#style=' + encodeURIComponent('filter: ' + huhifs.trim().replace(/\;$/g,'') + ';'); < //} 255,257c147,148 < if (document.URL.indexOf('style=') == -1 || 11 == 11) { < //alert('111 ' + '#style=filter: ' + huhifs.trim().replace(/\;$/g,'') + '; '); < setTimeout(function(){ location.href='#style=' + huhifs.trim().replace(/\;$/g,'') + '; '; relincomings=relit(); }, 100); --- > if (document.URL.indexOf('style=') == -1) { > location.href='#style=filter: ' + huhifs.trim().replace(/\;$/g,'') + '; '; 259d149 < maybet='';