From ff9658b3bbbfb34c2c3170d2c7519f4658313535 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20Tollk=C3=BChn?= Date: Wed, 7 Oct 2026 14:38:06 +0200 Subject: [PATCH] an additional way to detect android when in desktopmode --- launch.html | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/launch.html b/launch.html index d4cc55a..378743d 100644 --- a/launch.html +++ b/launch.html @@ -1733,6 +1733,16 @@ }; function detectOperatingSystem() { + /* + * Chrome im "Desktop-Modus" auf Android sendet einen + * Desktop-UA (z.B. X11; Linux). Client Hints verraten + * das echte System. Firefox/Safari kennen sie nicht. + */ + const hints = navigator.userAgentData; + if (hints && hints.platform === "Android") { + return OS_NAMES.Android; + } + /* * iPadOS tarnt sich als macOS. */