简体   繁体   English

Mac上的Google Chrome本地存储

[英]Google chrome local storage on mac

I am working with local storage techniques on a website that I'm building, so far with great success because I cant see the popup again. 我正在建立的网站上使用本地存储技术,到目前为止取得了巨大的成功,因为我无法再次看到弹出窗口。 Where is the folder that contains the local storage and within that folder what name should I be looking for? 包含本地存储的文件夹在哪里,在该文件夹中我应该寻找什么名称? Something specific to the name I called it in javascript? 我在javascript中称呼它的名称是否特定?

Chrome currently stores local storage data under the path: Chrome当前在以下路径下存储本地存储数据:

~/Library/Application Support/Google/Chrome/$PROFILE/Local Storage

where $PROFILE is either Default if you have not logged into a profile, or something along the lines of Profile 1 if you have. 其中,如果尚未登录配置文件,则$PROFILEDefault如果已登录,则$PROFILE为配置Profile 1

Note that there is one file per site, not per stored value, and the files are SQLite databases. 请注意,每个站点有一个文件,而不是每个储值,并且这些文件是SQLite数据库。 You will not be able to read their contents in a text editor. 您将无法在文本编辑器中阅读其内容。

If all you want to do is view the contents of local storage, you may want to consider instead using an extension along the lines of Storage Area Explorer . 如果您只想查看本地存储的内容,则可以考虑使用Storage Area Explorer的扩展名来代替。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM