In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
This article will explain in detail the example analysis of localStorage physical storage in nw.js. The editor thinks it is very practical, so I share it with you for reference. I hope you can get something after reading this article.
Storage location
The localStorage storage directory of the application packaged by nw.js is as follows:
* * C:\ Users\ [user name]\ AppData\ Local\ [nw Application name]\ User Data\ Default\ Local Storage\ chrome-extension_ [random characters] _ 0.localstoragecharacters *
For example, the location on my computer is:
C:\ Users\ xxcanghai\ AppData\ Local\ waimai_e_client_nw\ User Data\ Default\ Local Storage\ chrome-extension_blodpelipeilefodephhjbnidgkbghmj_0.localstorage
Open mode
This localStorage file is binary and cannot be opened directly with a text editor, but can be accessed through the binary file viewer.
For example, I set a value of localStorage in the nw application: xxcanghai 123
Cymbal
Then open the chrome-extension_blodpelipeilefodephhjbnidgkbghmj_0.localstorage file with a hexadecimal editor WinHex, and you can view the stored xxcanghai and 123 inside.
Attach the storage location of other browsers, localStorage, Firefox
Firefox stores the localstorage file: webappsstore.sqlite in the configuration files folder
Firefox (Windows XP):
C:\ Documents and Settings\\ Application Data\ Mozilla\ Firefox\ Profiles\
This is the end of this article on "sample analysis of localStorage physical storage in nw.js". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, please share it for more people to see.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.