diff --git a/zuss/app.js b/zuss/app.js
index d17812b..e1ca348 100644
--- a/zuss/app.js
+++ b/zuss/app.js
@@ -4,7 +4,7 @@
* - Install/Update Overlay mit beforeinstallprompt.prompt()
*/
-const APP_VERSION = "2025.12.24.10";
+const APP_VERSION = "2025.12.24.11";
const TOKEN = "T9e7WESBXxy6rSD";
const BASE = "https://home.x-s.at";
const SHARE_DAV = `${BASE}/public.php/dav/files/${TOKEN}`;
@@ -331,8 +331,16 @@ async function registerSW() {
}
function closeAushang(){
- const ret = encodeURIComponent(location.pathname + location.search);
- window.location.href = `./close.html?return=${ret}`;
+ try { window.close(); } catch {}
+ // Fallbacks: first try history back, then blank
+ setTimeout(() => {
+ if (document.visibilityState === "hidden") return; // tab closed
+ history.back();
+ setTimeout(() => {
+ if (document.visibilityState === "hidden") return;
+ location.replace("about:blank");
+ }, 200);
+ }, 120);
}
function applyTheme(t){
diff --git a/zuss/index.html b/zuss/index.html
index 69a7d08..c52038b 100644
--- a/zuss/index.html
+++ b/zuss/index.html
@@ -169,6 +169,6 @@
-
+