From 9fd14bb72d37386513cb23674a2205f50341ea16 Mon Sep 17 00:00:00 2001 From: Reimar Date: Thu, 16 Oct 2025 15:15:58 +0200 Subject: [PATCH] use overlay for persistent storage --- index.html | 13 ++++--------- src/asset_store.js | 41 ++++++++++++++++++----------------------- src/index.js | 4 ++-- style.css | 22 ++++++++++++++++++++++ 4 files changed, 46 insertions(+), 34 deletions(-) diff --git a/index.html b/index.html index bf8e118..9021c82 100644 --- a/index.html +++ b/index.html @@ -140,11 +140,11 @@ lib.startGameLoop(loop); Copyright © 2025 S. J. Fakobsen (do whatever idc) - -

Karlkoder would like persistant storage permission

+
+

Allow persistent storage to avoid data loss

Your code is saved only in your browser, not on our servers. To provide an optimal - experience, we would permission to use persistent storage, otherwise, your browser may clear your Karlkoder data at any point it wants to. @@ -159,12 +159,7 @@ lib.startGameLoop(loop); data, i.e. if you clear your browser history, so we would still recommend to save it to your hard drive every now and then.

-

- - -
+