Viewing local storage contents on IE

govin picture govin · Mar 2, 2012 · Viewed 110.1k times · Source

How can I view the contents of HTML5 local storage in IE? Chrome and FireFox provide a way through their developer tools to view the contents of local storage but I couldn't find that information using IE9 developer tool.

Answer

Alex picture Alex · Mar 3, 2012

Since localStorage is a global object, you can add a watch in the dev tools. Just enter the dev tools, goto "watch", click on "Click to add..." and type in "localStorage".