0) { this.action=document.getElementById('opsel').value; } } return true;\" id=myform method=GET action='./open_extravaganza.php'>

"; } else if (substr(strtolower('' . PHP_OS),0,3) == 'win') { $selstuff="

0) { this.action=document.getElementById('opsel').value; } } return true;\" id=myform method=GET action='./open_extravaganza.php'>

"; } else { $selstuff="

0) { this.action=document.getElementById('opsel').value; } } return true;\" id=myformmac method=GET style=display:none; action='http://localhost:8888/open_extravaganza.php'>

"; $selstuff.="

0) { this.action=document.getElementById('opsel').value; } } return true;\" id=myformwin method=GET style=display:none; action='http://localhost/open_extravaganza.php'>

"; } if (isset($_GET['afteropen'])) { if (sizeof(explode('afteropen=', '?' . $_SERVER['QUERY_STRING'])) > 2) { for ($thisone=1; $thisone 2) { for ($thisone=1; $thisone 0) { wo=window.open(this.value,'_blank','top=0,left=0,width=' + screen.width + ',height=' + screen.height); }\">"; } echo " Local Operating System Menu var wo=null; var formclickmode=0; var lastselo=null, aptselo=null, aptformo=null; var macosport=':8888', winport=''; var gmacosport=' ', gwinport=' '; function macportchange(opto) { var spare=''; var newidea=null; if (gmacosport != ' ') { newidea=gmacosport.trim(); gmacosport=' '; } else { event.stopPropagation(); newidea=prompt('Change the macOS Apache (perhaps MAMP) port as required?', macosport); } if (newidea == null) { return ''; } if (newidea == macosport) { return ''; } var jf=0, formos=document.getElementsByTagName('form'); if (newidea.trim() != '' && newidea.substring(0,1) != ':') { spare=':' + newidea.trim(); } else { spare=newidea.trim(); } if (macosport != spare) { for (jf=0; jf' + vis.substring(hp) + ''; aptselo.size='' + eval(1 + eval('' + aptselo.size)); } else { aptselo.innerHTML+=''; aptselo.size='' + eval(1 + eval('' + aptselo.size)); } } else { opto.value=' ' + vis.split('#')[0]; if (vis.indexOf('#') != -1) { opto.innerHTML=vis.substring(hp); } } aptformo.action=('' + aptformo.action).split('#') + '#' + encodeURIComponent(aptselo.innerHTML); if (remem) { try { window.localStorage.setItem('open_extravaganza_selectih', encodeURIComponent(aptselo.innerHTML)); } catch(eeeeeeee) { } } return ''; } function fcm() { if (formclickmode == 0) { formclickmode=0; } else if (formclickmode < 0) { formclickmode--; if (formclickmode <= -10) { document.body.style.cursor='pointer'; if (lastselo) { lastselo.style.cursor='pointer'; lastselo=null; } formclickmode=0; document.getElementById('sbutwin').click(); } } else { formclickmode++; if (formclickmode >= 10) { document.body.style.cursor='pointer'; if (lastselo) { lastselo.style.cursor='pointer'; lastselo=null; } formclickmode=0; document.getElementById('sbutmac').click(); } } } function mostlikely() { var spare=''; try { spare=('' + window.localStorage.getItem('open_extravaganza_macport')); if (spare != 'null' && spare != 'undefined') { macosport=decodeURIComponent(window.localStorage.getItem('open_extravaganza_macport')); } } catch(zeeeeeeee) { } try { spare=('' + window.localStorage.getItem('open_extravaganza_winport')); if (spare != 'null' && spare != 'undefined') { winport=decodeURIComponent(window.localStorage.getItem('open_extravaganza_winport')); } } catch(yeeeeeeee) { } if (document.getElementById('opsel')) { if (('' + navigator.platform).toLowerCase().indexOf('mac') != 0) { if (('' + navigator.platform).toLowerCase().indexOf('win') != -1) { if (document.getElementById('myformwin')) { document.getElementById('myformwin').style.display='block'; aptselo=document.getElementById('myselwin'); aptformo=document.getElementById('myformwin'); } } document.getElementById('opsel').innerHTML=document.getElementById('omamp').outerHTML + document.getElementById('owindows').outerHTML + document.getElementById('omacos').outerHTML; } else { if (document.getElementById('myformmac')) { document.getElementById('myformmac').style.display='block'; aptselo=document.getElementById('myselmac'); aptformo=document.getElementById('myformmac'); } } } spare=''; if (aptselo == null) { aptselo=document.getElementById('mysel'); aptformo=document.getElementById('myform'); } if (('' + location.hash).replace(/^undefined/g,'').replace(/^null/g,'').replace(/^\#/g,'').trim() != '') { if (decodeURIComponent(('' + location.hash).replace(/^undefined/g,'').replace(/^null/g,'').replace(/^\#/g,'')).indexOf(' 0) { spare=decodeURIComponent(('' + location.hash).replace(/^undefined/g,'').replace(/^null/g,'').replace(/^\#/g,'')).split('

Local Operating System " . explode(' ',$preret)[0] . " Menu

RJM Programming

November, 2025   

Thanks to https://scriptingosx.com/2017/02/the-macos-open-command/


" . str_replace("\n","
",$preret) . str_replace("\n","
",$ret) . "

" . $selstuff . " "; ?>