Skip to content

lightweight, client-only calendar web application. All data persists in the URL hash for instant sharing, No backend required. Optional AES-GCM password protection keeps shared links locked without a server

JavaScript

Update

Supun Lakmal1c6c51af6a48
diff --git a/json.html b/json.html
index c785b1f..73e361f 100644
--- a/json.html
+++ b/json.html
@@ -161,9 +161,7 @@
}
const json = JSON.stringify(parsed);
- const compressed = window.LZString.compressToEncodedURIComponent(json);
- const basePath = window.location.pathname.replace(/json\.html$/, "");
- const target = `${window.location.origin}${basePath}#${compressed}`;
+ const compressed = window.LZString.compressToEncodedURIComponent(json); const target = `${window.location.origin}/#${compressed}`;
status.textContent = "Redirecting to calendar...";
window.location.replace(target);
})();