HTML5 的localStorage用的是SQLite数据库存储数据的,默认其中只有一张名为itemTable的表;
表中有两个字段: key和value,用来存储键值对
至于本地存储文件的位置Google了好久才找到,直接引用stackoverflow的片段:
http://stackoverflow.com/questions/8634058/where-the-sessionstorage-and-localstorage-stored/15711210#15711210
Firefox stores localstorage in webappsstore.sqlite
file in the profile folder.
C:\Documents and Settings\\Application Data\Mozilla\Firefox\Profiles\\webappsstore.sqlite
C:\Users\\AppData\Roaming\Mozilla\Firefox\Profiles\\webappsstore.sqlite
or:
%APPDATA%\Mozilla\Firefox\Profiles\\webappsstore.sqlite
~/.mozilla/firefox//webappsstore.sqlite
~/Library/Application Support/Firefox/Profiles//webappsstore.sqlite
or:
~/Library/Mozilla/Firefox/Profiles//webappsstore.sqlite
Chrome stores in separate files inside the Local Storage
directory.
%LocalAppData%\Google\Chrome\User Data\Default\Local Storage\
~/.config/google-chrome/Default/Local Storage/
~/Library/Application Support/Google/Chrome//Local Storage/
commonly:
~/Library/Application Support/Google/Chrome/Default/Local Storage/
I am a bit unsure, but think this will do the trick
%userprofile%\AppData\LocalLow\Microsoft\Internet Explorer\DOMStorage
As said by OammieR:
C:\Users\Administrator\AppData\Roaming\Opera\Opera\sessions\autosave.win
or as said by Kevin Hakanson:
C:\Users\Administrator\AppData\Local\Opera\Opera\pstorage\