⚠️ DEV MODE ⚠️
[L0N3WULF] PROGRAM GUIDE (DEV)
START END PROGRAM DUR
== PLAY ===== */ function playShow(ch, show) { const realCh = ch === '421' ? '420' : ch; const src = prod(`channels/${realCh}/hls/${encodeURIComponent(show)}/index.m3u8`); player.src = src; player.play().catch(() => {}); } /* ===== EVENTS ===== */ select.onchange = () => loadGuide(select.value); tap.onclick = () => { player.muted = false; tap.remove(); }; /* ===== INIT ===== */ loadGuide(select.value); })(); wn so banner never overlaps UI document.body.style.paddingTop = '32px'; }); re = document.createElement('pre'); pre.id = 'debugOverlay'; pre.style.cssText = ` position:fixed; bottom:0; right:0; width:360px; max-height:50vh; overflow:auto; background:rgba(0,0,0,.85); color:#0f0; padding:10px; font-size:11px; z-index:2147483646; `; document.body.appendChild(pre); window.DEV_DEBUG = (o) => { pre.textContent = '[DEV DEBUG]\n' + JSON.stringify(o, null, 2); }; } }); n' + JSON.stringify(o, null, 2); } })(); kground:"#ff4c4c", color:"#000", fontWeight:"900", textAlign:"center", padding:"6px" }); document.body.appendChild(b); const p = document.createElement("pre"); Object.assign(p.style,{ position:"fixed", bottom:0,right:0, width:"360px", maxHeight:"50vh", overflow:"auto", background:"rgba(0,0,0,.85)", color:"#0f0", padding:"10px", fontSize:"11px", zIndex:9998, display:dbg ? "block" : "none" }); p.id = "debugOverlay"; document.body.appendChild(p); window.DEV_DEBUG = o=>{ p.textContent = "[DEV DEBUG]\n" + JSON.stringify(o,null,2); }; })(); name.includes("_dev")) return; const b=document.createElement("div"); b.textContent="⚠ DEV MODE ⚠"; Object.assign(b.style,{position:"fixed",top:0,left:0,right:0, background:"#ff4c4c",color:"#000",fontWeight:"900", textAlign:"center",padding:"6px",zIndex:9999}); document.body.appendChild(b); })(); sDev = location.pathname.includes("_dev.html"); const dbg = new URLSearchParams(location.search).has("debug"); if(!isDev && !dbg) return; const b=document.createElement("div"); b.textContent="⚠ DEV MODE ⚠"; Object.assign(b.style,{position:"fixed",top:0,left:0,right:0,zIndex:9999, background:"#ff4c4c",color:"#000",fontWeight:"900",textAlign:"center",padding:"6px"}); document.body.appendChild(b); const p=document.createElement("pre"); Object.assign(p.style,{position:"fixed",bottom:0,right:0,width:"360px", maxHeight:"50vh",overflow:"auto",background:"rgba(0,0,0,.85)",color:"#0f0", padding:"10px",fontSize:"11px",zIndex:9998,display:dbg?"block":"none"}); p.id="debugOverlay";document.body.appendChild(p); window.__DEV_DEBUG__=o=>p.textContent="[DEV DEBUG]\n"+JSON.stringify(o,null,2); })();