Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to view the HTML web storage in Chrome and Firefox

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

like image 217
MatBanik Avatar asked Jan 08 '12 15:01

MatBanik


People also ask

How do I view session storage in Firefox?

You can open the Storage Inspector by selecting “Storage Inspector” from the Web Developer submenu in the Firefox Menu Panel (or Tools menu if you display the menu bar or are on macOS), or by pressing its Shift + F9 keyboard shortcut.

Where is HTML data stored?

What is HTML Web Storage? With web storage, web applications can store data locally within the user's browser. Before HTML5, application data had to be stored in cookies, included in every server request. Web storage is more secure, and large amounts of data can be stored locally, without affecting website performance.

How do I access session storage in Chrome?

# View sessionStorage keys and valuesClick the Application tab to open the Application panel. Expand the Session Storage menu. Click a domain to view its key-value pairs. Click a row of the table to view the value in the viewer below the table.

Where is Chrome localStorage stored?

Google Chrome records Web storage data in a SQLite file in the user's profile. The subfolder containing this file is " \AppData\Local\Google\Chrome\User Data\Default\Local Storage " on Windows, and " ~/Library/Application Support/Google/Chrome/Default/Local Storage " on macOS.


2 Answers

try the inspector in Chrome.

Right Click Page > Inspect Element > Resources -> Local Storage
like image 69
最白目 Avatar answered Oct 17 '22 06:10

最白目


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

like image 33
mbokil Avatar answered Oct 17 '22 07:10

mbokil