Search code examples
javascripthtmlfirefoxlocal-storageweb-storage

Where does Firefox store javascript/HTML localStorage?


I have made an advanced functional prototype of a simple web application, and delays have pushed this into the position of going "live".

At the moment, it just uses JavaScript's localStorage facility to keep track of what's happening, but due to paranoia, we don't want it to be corrupted causing loss of data (it certainly feels a bit sketchy never talking to a server).

Where does Firefox keep its localStorage database (I think it's SQLite, but I just can't find it)?


Solution

  • The DOM storage data is stored in the webappsstore.sqlite file in the profile folder.

    § localStorage