I am developing a HTML5 game, and would like to share it with file base. So my friends can play it with a local html file (file://xxx.html).
However, most of the storage are based on the domain, such as localStorage. I would like to know if there is any alternative to persist the game-progress-save under file-protocol?
I searched that windows.name may be the solution, but it can not store data after closing the browser. Javascript/HTML Storage Options Under File Protocol (file://)
I also found the FileSystem API (Window.requestFileSystem), but seems only Chrome has implemented it.
Any suggestion?
You can: