// apple_script_url.js // RJM Programming // February, 2022 // Make apple_script_url.php useful var firstloc='HTTP://localhost:8888/'; var locfound=false; var asuwo=null; function justplayme() { if (locfound) { asuwo=window.open(firstloc + 'apple_script_url.php?justplay=y&showothers=y&tsplus=' + encodeURIComponent(document.URL.split('#')[0].replace('HTTP','http').replace(/\./g,'_').replace(/\?/g,'_').replace(/\&/g,'_').replace(/\=/g,'_').replace(/\:/g,'_').replace(/\//g,'_')) + '&url=' + encodeURIComponent(document.URL.split('#')[0]),'_blank','top=50,left=50,width=50,height=50'); setTimeout(checkasu, 5000); } } function checkasu() { if (asuwo.closed) { // local web server there if (!locfound) { document.body.innerHTML+='