Where is chrome.storage.local
stored for Chrome Apps in OSX yosemite?
Where is chrome.storage.local stored for Chrome Apps?
2.2k views Asked by fernandohur At
2
There are 2 answers
4
On
localStorage
is located in ~/Library/Application Support/Google/Chrome/Default/Local Storage
. You'll need the ID to find the correct files but they'll be prefixed with chrome-
and have a file extension of .localstorage
.
Based on some picking through the POSTMan App, it looks like it makes a call to chrome.storage.local
and the data on my Mac is located here: ~/Library/Application Support/Google/Chrome/Default/Local App Settings/<ID>/000003.log
.
I finally found it:
~/Library/Application Support/Google/Chrome/Default/Local App Settings/{{chrome-app-id}}
. The whole{{chrome-app-id}}
folder is aleveldb
database. I was able to open it and inspect the contents of the stored file using the leveldb-ruby gem. Just do the followingYou can now query the database using the
db
object. By the way if you get a weird error saying that the db is being used by someone else make sure you kill chrome and erase theLOCK
file.