This commit is contained in:
2026-09-19 21:35:08 +02:00
parent 15628739b1
commit 5601c282b7
13 changed files with 257 additions and 32 deletions
+4
View File
@@ -1786,6 +1786,10 @@ window.cancelAnimFrame = (function () {
// ── Onara Alternative Flavor: Fullscreen Modal Wrapper ─────────────────────
const isOnaraActive = () => {
// Global config onara overweighs always the user pref
if (window.f0ckSession && window.f0ckSession.onara_cfg !== undefined && window.f0ckSession.onara_cfg !== null) {
return !!window.f0ckSession.onara_cfg;
}
const stored = (() => { try { return localStorage.getItem('f0ck_onara_enabled'); } catch { return null; } })();
if (stored !== null) {
const active = stored === 'true';