本文介绍了sessionStorage和localStorage存放在哪里?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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\

来源

07-28 03:00