开发者

How to force commit changes on chrome local storage

开发者 https://www.devze.com 2023-04-07 03:04 出处:网络
I have an extension which using chrome local storage. I connect to the local storage with another application while chrome is open and I see the changes in this external application only when I\'m clo

I have an extension which using chrome local storage. I connect to the local storage with another application while chrome is open and I see the changes in this external application only when I'm closing chrome. I guess the changes are done just for the current session and I need to commit those changes. If I'm totally wrong please tell me, but if not, do I have a开发者_StackOverflow中文版 way to commit the changes made on the chrome extension local storage through javascript?

Thanks.


Ok I found out the problem. Im updating the storage using sqlite through another application and I guess it causing problems. the changes are instantly committed.

0

精彩评论

暂无评论...
验证码 换一张
取 消