28c28 < var retc='', bone=1; --- > var retc=''; 30,33c30 < if (defvl == '' && prwhat.indexOf(' from ') != -1) { < defvl='E' + prwhat.split(' from ')[1].split('(')[1].split(',')[0] + ',' + prwhat.split(' from ')[1].split('(')[1].split(',')[1].split(')')[0]; < } < retc=window.prompt(prwhat.replace('See these on a map?', 'See these on a map? If yes, can start your answer with just E to combine with Google Earth view (eg. e Paris).'), defvl); --- > retc=window.prompt(prwhat.replace('See these on a map?', 'See these on a map? If yes, can additionally start your answer with just E to combine with Google Earth view.'), defvl); 41,57c38 < if (eval('' + retc.length) > 1 && retc != defvl) { < if (retc.replace('(','').replace(')','').replace(' ','').toLowerCase().substring(1).substring(0,1) == '-' || (retc.replace(' ','').replace('(','').replace(')','').toLowerCase().substring(1).substring(0,1) >= '0' && retc.replace('(','').replace(')','').toLowerCase().substring(1).substring(0,1) <= '9')) { < while (retc.replace('(','').replace(')','').replace(' ','').toLowerCase().substring(bone).substring(0,1).replace('-','0').replace(',','0') >= '0' && retc.replace('(','').replace(')','').replace(' ','').toLowerCase().substring(bone).substring(0,1).replace('-','0').replace(',','0') <= '9') { < bone++; < } < if (bone == 1 && retc.toLowerCase().indexOf('e ') == 0 && eval('' + retc.length) > 2) { < if (retc.substring(2).substring(0,1) == retc.substring(2).substring(0,1).toUpperCase()) { < window.open('//earth.google.com/web/search/' + encodeURIComponent(retc.substring(2)) + '','_blank'); //,'top=60,left=' + eval(-610 + eval('' + screen.width)) + ',width=600,height=600'); < return ''; < } < } else if (bone > 1 && retc.substring(1).indexOf(',') != -1) { < prwhat=' from (' + retc.replace(' ','').replace('(','').replace(')','').toLowerCase().substring(1).split(',')[0] + ',' + retc.replace(' ','').replace('(','').replace(')','').toLowerCase().substring(1).split(',')[1] + ')'; < window.open('//earth.google.com/web/@' + ('+' + prwhat.split(' from ')[1].split('(')[1].split(',')[0]).replace('+-','-') + (',+' + prwhat.split(' from ')[1].split('(')[1].split(',')[1].split(')')[0]).replace('+-','-') + ',328.51120179a,63169669.71505167d,1y,0h,0t,0r','_blank','top=60,left=' + eval(-610 + eval('' + screen.width)) + ',width=600,height=600'); < } < } < } < return retc.substring(bone); --- > return retc.substring(1); 66c47 < var retc='', bone=1, defvl=''; --- > var retc=''; 68,71c49 < if (defvl == '' && prwhat.indexOf(' from ') != -1) { < defvl='E' + prwhat.split(' from ')[1].split('(')[1].split(',')[0] + ',' + prwhat.split(' from ')[1].split('(')[1].split(',')[1].split(')')[0]; < } < retc=window.prompt(prwhat.replace('See these on a map?', 'See these on a map? If yes, can start an answer with E to combine with Google Earth view (eg. e Paris).'), defvl); --- > retc=window.prompt(prwhat.replace('See these on a map?', 'See these on a map? If yes, can additionally start an answer with E to combine with Google Earth view.'), ''); 79,94d56 < if (eval('' + retc.length) > 1 && retc != defvl) { < if (retc.replace('(','').replace(')','').replace(' ','').toLowerCase().substring(1).substring(0,1) == '-' || (retc.replace(' ','').replace('(','').replace(')','').toLowerCase().substring(1).substring(0,1) >= '0' && retc.replace('(','').replace(')','').toLowerCase().substring(1).substring(0,1) <= '9')) { < while (retc.replace('(','').replace(')','').replace(' ','').toLowerCase().substring(bone).substring(0,1).replace('-','0').replace(',','0') >= '0' && retc.replace('(','').replace(')','').replace(' ','').toLowerCase().substring(bone).substring(0,1).replace('-','0').replace(',','0') <= '9') { < bone++; < } < if (bone == 1 && retc.toLowerCase().indexOf('e ') == 0 && eval('' + retc.length) > 2) { < if (retc.substring(2).substring(0,1) == retc.substring(2).substring(0,1).toUpperCase()) { < window.open('//earth.google.com/web/search/' + encodeURIComponent(retc.substring(2)) + '','_blank'); //,'top=60,left=' + eval(-610 + eval('' + screen.width)) + ',width=600,height=600'); < return true; < } < } else if (bone > 1 && retc.substring(1).indexOf(',') != -1) { < prwhat=' from (' + retc.replace(' ','').replace('(','').replace(')','').toLowerCase().substring(1).split(',')[0] + ',' + retc.replace(' ','').replace('(','').replace(')','').toLowerCase().substring(1).split(',')[1] + ')'; < window.open('//earth.google.com/web/@' + ('+' + prwhat.split(' from ')[1].split('(')[1].split(',')[0]).replace('+-','-') + (',+' + prwhat.split(' from ')[1].split('(')[1].split(',')[1].split(')')[0]).replace('+-','-') + ',328.51120179a,63169669.71505167d,1y,0h,0t,0r','_blank','top=60,left=' + eval(-610 + eval('' + screen.width)) + ',width=600,height=600'); < } < } < } 567d528 < //alert('RE safari 11'); 572d532 < //alert('RE safari 12'); 579d538 < //alert('RE safari 13'); 584d542 < //alert('RE safari 14'); 612d569 < //alert('RE safari 21'); 614d570 < //document.getElementById('myimg').onmousemove=function(event){ gencurit(event) }; //document.body.addEventListener('mousemove', gencurit); //onmousemove+=function(event){ gencurit(event) }; 630d585 < //alert('RE safari 31'); 653,660d607 < if (parent.document.body.innerHTML.indexOf('Coastline"); < } else if (onehone[0].innerHTML.indexOf(' Countries') != -1) { < onehone[0].innerHTML=onehone[0].innerHTML.replace(" Countries", " Countries"); < } < }