Where does Firefox store javascript/HTML localStorage?

Stephen picture Stephen · Aug 16, 2011 · Viewed 28k times · Source

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)?

Answer

Vlad picture Vlad · Aug 16, 2011

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

§ localStorage