Chrome 61的本地存储 [英] Local Storage with Chrome 61

查看:46
本文介绍了Chrome 61的本地存储的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

从Chrome 61开始,似乎添加到本地舞台的任何项目都不再被创建为本地配置文件中的物理文件.

Since Chrome 61 it appears that any item added to the local stage no longer gets created as a phsyical file within the local profile.

以前运行命令

localStorage.setItem('key', 'value')

将在...中创建与网站对应的SQLite文件

Would create a SQLite file corresponding to the website in...

%localappdata%\google\chrome\user data\default\local storage\

但是现在似乎不再是这种情况了,只是不再在此位置创建新项目.

But this now no longer seems to be the case, new items are simply no longer created in this location.

有人反对使用此行为吗?

Anyone have any ideas if this behaviour has been deprecated?

或者或者任何其他想法如何添加到chrome中的本地存储中,以便创建物理文件?

Or alternatively any idea how to add to the local storage in chrome so that a physical file gets created?

推荐答案

看起来它现在已存储在LevelDB数据库中.请参见 https://crbug.com/586194

Looks like it's now stored in a LevelDB database. See https://crbug.com/586194, Chrome Service Model, and LocalStorage using Chrome Service Model if you want to learn more.

这篇关于Chrome 61的本地存储的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆