You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
I am creating a panel to allow you to peak at localStorage.
The only way I have found to get the data from localStorage is by reading the contents of webappsstore.sqlite. I can read the DB and store the results in an array without a problem. The thing is that there does not appear to be any way to receive notifications of localStorage changes.
I guess I could poll and compare the db contents with my saved array to find differences but that really is a last resort. Does anybody have any idea what I can do to be notified of changes to localStorage (ideally some kind of DB change observer would be great).
Ultimately I need change notifications from:
cookies (we have them)
localStorage
sessionStorage
appCache
indexedDB