Local Storage with Chrome 61

为君一笑 提交于 2021-02-07 10:21:25

问题


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.

Previously running the command

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

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?

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


回答1:


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.



来源:https://stackoverflow.com/questions/46325138/local-storage-with-chrome-61

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!