问题描述
sessionStorage和localStorage存储在客户端计算机上的什么位置?
你能告诉我这条路吗?
Where are sessionStorage and localStorage stored on the client's computer?
Could you tell me the path?
推荐答案
Firefox
Firefox将本地存储存储在 profile 文件夹中的webappsstore.sqlite
文件中.
Firefox
Firefox stores localstorage in webappsstore.sqlite
file in the profile folder.
C:\Documents and Settings\<Windows login/user name>\Application Data\Mozilla\Firefox\Profiles\<profile folder>\webappsstore.sqlite
Firefox(Windows Vista及更高版本):
C:\Users\<Windows login/user name>\AppData\Roaming\Mozilla\Firefox\Profiles\<profile folder>\webappsstore.sqlite
或:
%APPDATA%\Mozilla\Firefox\Profiles\<profile folder>\webappsstore.sqlite
Linux上的Firefox:
~/.mozilla/firefox/<profile folder>/webappsstore.sqlite
在Mac上使用Firefox:
~/Library/Application Support/Firefox/Profiles/<profile folder>/webappsstore.sqlite
或:
~/Library/Mozilla/Firefox/Profiles/<profile folder>/webappsstore.sqlite
Chrome
Chrome浏览器将存储在Local Storage
目录内的单独文件中.
Chrome
Chrome stores in separate files inside the Local Storage
directory.
%LocalAppData%\Google\Chrome\User Data\Default\Local Storage\
Linux上的Chrome:
~/.config/google-chrome/Default/Local Storage/
在Mac上的Chrome:
~/Library/Application Support/Google/Chrome/<Profile>/Local Storage/
通常:
~/Library/Application Support/Google/Chrome/Default/Local Storage/
Internet Explorer:
我不确定,但是认为这可以解决问题
Internet explorer:
I am a bit unsure, but think this will do the trick
%userprofile%\AppData\LocalLow\Microsoft\Internet Explorer\DOMStorage
Opera
如OammieR所说:
Opera
As said by OammieR:
C:\Users\Administrator\AppData\Roaming\Opera\Opera\sessions\autosave.win
或正如凯文·哈坎森(Kevin Hakanson)所说:
or as said by Kevin Hakanson:
C:\Users\Administrator\AppData\Local\Opera\Opera\pstorage\
来源
-
Firefox在哪里存储javascript/HTML localStorage?
https://superuser.com/questions/507536/where-does-google-chrome-save-localstorage-from扩展名
http://www.chromium.org/user-experience /user-data-directory
我自己的带有Firefox和Chrome的计算机ubuntu 14.10
My own computer ubuntu 14.10 with Firefox and Chrome
这篇关于sessionStorage和localStorage存放在哪里?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!