extensions icon indicating copy to clipboard operation
extensions copied to clipboard

Save data on device and load this

Open Qewbitech opened this issue 1 year ago • 1 comments
trafficstars

Are there any ways to load files from url (for example), then save this on device and then load this from device? I know that there is "Files" but it isnt automatic.

Qewbitech avatar Apr 10 '24 17:04 Qewbitech

Kind of. If you just want to save game data, use the Local Storage extension. Browsers don't let websites access arbitrary files on your filesystem without file prompts (though the Electron .exe packager export probably can with some tweaking, but I don't know if there's an extension made for that yet). On Chromium-based browsers only (so not Firefox, but including Chrome and Electron), it is possible to open a file through a file prompt, then freely save to that file until the page is closed. The TurboWarp editor does make use of this (for saving project .sb3 files), but again, I don't think there's an extension for this yet.

CST1229 avatar Apr 10 '24 19:04 CST1229