i want to get the localstorage of a particular website. i need to get some keys' value that appear only when device-view button is clicked and it is mobile-view. I went to C:\Users\admin\appdata\Local\Google\Chrome\User Data\Default\Local Storage\leveldb
but found nothing interesting . i used an ldb viewer but still couldnt understand where to get the key value from.
for example i want to see the value of key 'numberofcats' from localstorage of "wth.mycatwtf.com"
1 Answer
To view LocalStorage in Chrome:
- Go to the developer tools by pressing F12
- Go to the Application tab
- In the Storage section expand "Local Storage"
- Click on
https://wth.mycatwtf.com
to see all its keys.
-
If you don't immediately see 'Application', you may have to click the chevrons in the tab list (the top bar) to expand it.– MiGFeb 8 at 10:08
-