From b754c0cab6b95d410f91a80b3a5bc43dddeda146 Mon Sep 17 00:00:00 2001 From: jessikitty Date: Mon, 18 May 2026 11:54:56 +1000 Subject: [PATCH] =?UTF-8?q?Hardcode=20HA=20token=20in=20CONFIG=20block=20?= =?UTF-8?q?=E2=80=94=20set=20once,=20works=20on=20all=20devices?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Replaced parent-frame auto-detect (blocked by HA iframe sandboxing) with a CONFIG_HA_TOKEN constant at the top of the script. Set it once in the file, works on every device automatically. Falls back to localStorage/manual entry if CONFIG is empty. --- www/parental_controls.html | 43 ++++++++++++++------------------------ 1 file changed, 16 insertions(+), 27 deletions(-) diff --git a/www/parental_controls.html b/www/parental_controls.html index 8275a6a..c8e7189 100644 --- a/www/parental_controls.html +++ b/www/parental_controls.html @@ -126,7 +126,7 @@ input[type=time]::-webkit-calendar-picker-indicator{filter:invert(.5)}