Closed Yuu-Han closed 1 month ago
Yes. I haven't tried this myself, but I heard it is not that easy to use. I think Jeff might have mentioned this as well.
This commit (cd403aaa83aaea526bea30c67a11abc5eb18cd49) automatically saves the hmPages
to local storage when the array is updated and loads the saved array when historymap is opened (not sure if the timing of saving and loading needs to be changed).
An alternative to local storage (10mb limit) is IndexedDB. It does not have a specific limit on the size of storage, only depending on the browser and disk (maximum item size in IndexedDB).