25 lines
1.7 KiB
PHP
25 lines
1.7 KiB
PHP
{{-- PL0XION xerworld 🎮 — FUSIONNÉ dans «lanceur» (vague fusion 16.08 : famille launchers).
|
|
Stub de redirection rétro-compat : /px/xerworld et jOS.openPloxion('xerworld') mènent à
|
|
l'onglet 🎮 Mondes (monde 3D + gros boutons) du Lanceur. Rien n'est perdu : la capacité vit dans l'hôte. --}}
|
|
<script>
|
|
(function(){
|
|
'use strict';
|
|
var ID='xerworld', HOST='lanceur', TAB='xerworld', HN='Lanceur';
|
|
function mount(container, ctx){
|
|
container.innerHTML='<div style="display:flex;height:100%;align-items:center;justify-content:center;text-align:center;padding:24px;color:#8aa0bd;font-family:ui-sans-serif,system-ui">🎮 «'+ID+'» est fusionné dans <b style="color:#eafff6;margin:0 5px">🚀 '+HN+'</b> — ouverture…</div>';
|
|
try{ window.__pxJump=window.__pxJump||{}; window.__pxJump[HOST]=TAB; }catch(e){}
|
|
try{ var T=(window.jOSb&&window.jOSb.toast)||(window.jOS&&window.jOS.toast); if(T)T('🎮 «'+ID+'» est fusionné dans «'+HN+'» (onglet Xerworld)'); }catch(e){}
|
|
if(ctx&&ctx.standalone){ try{ location.replace('/px/'+HOST+'?tab='+TAB); }catch(e){} }
|
|
else setTimeout(function(){
|
|
try{ if(window.jOSui&&jOSui.tier&&jOSui.tier()==='mobile'&&window.jOSMobile&&jOSMobile.open){ jOSMobile.open(HOST,HN); }
|
|
else if(window.jOS&&window.jOS.openPloxion){ window.jOS.openPloxion(HOST); } }catch(e){}
|
|
try{ window.dispatchEvent(new CustomEvent('jos:px:tab',{detail:{host:HOST,tab:TAB}})); }catch(e){}
|
|
try{ if(ctx&&ctx.close) setTimeout(function(){ ctx.close(); },350); }catch(e){}
|
|
},0);
|
|
return { unmount:function(){ container.innerHTML=''; } };
|
|
}
|
|
window.jOSApps=window.jOSApps||{};
|
|
window.jOSApps[ID]={manifest:{id:ID,name:'Xerworld → Lanceur',icon:'🎮'},mount:mount};
|
|
})();
|
|
</script>
|