How to view the HTML web storage in Chrome and Firefox

13.2k views Asked by At

How can I view HTML web storage in Chrome and Firefox?

4

There are 4 answers

3
最白目 On BEST ANSWER

try the inspector in Chrome.

Right Click Page > Inspect Element > Resources -> Local Storage
0
user136036 On

In Firefox the data is saved to the webappstore.sqlite in the FF profile folder. You can view it with the SQLite Manager, an addon for FF.

1
mbokil On

For Firefox use Firebug add-on. Open Firebug. Click on Console. On the command line type in: localStorage

For development you can also edit local storage in Firebug using dot notation. For example:

localStorage.myVar = "hello"
localStorage.clear()
localStorage.removeItem("myVar")

In Firefox 19+ you can inspect localStorage directly from the console without Firebug:

inspect(localStorage)

This will pull up a panel displaying the key/value pairs

Firebug localStorage documentation

Install Firebug add-on

0
user1585561 On

In Chrome pull down More Tools->Developer Tools. In the panel that appears click the Application tab. You will see LocalStorage in the subsequent menu. You can delete, Edit etc....