Html5’s local storage is data stored locally through the browser.
The basic usage is as follows:
Under Mac, it is saved under /Users/User Name
under the /Library/Application Support/Google/Chrome/Default/Local Storage path (where User Name refers to the current user name). Although the suffix is .localstorege, it is actually a sqlite database file. You can use sqlite Open it and see the data inside. (You can use the SQLite Manager add-on component of firefox to open it)
The steps to install the component are similar to installing firebug. Select menu tools--> attachment components, open the attachment component settings page, search for the "SQLite Manager" keyword, and install "SQLite Manager" "After plug-in, restart firefox, you can see the "SQLite Manager" add-on in the tool, as shown in the picture below:
The picture below is to view the local data file just saved
The picture below is Several commonly used localStorage methods:
1. Add localStorage
You can view it through the chrome browser’s console tool Resource–Local Storage