I wrote one Greasemonkey/Tampermonkey script for Facebook . I needed to store data to retrieve it later. For that I used localStorage
.
That was working fine. But I noticed that after few hours all data which I stored was removed automagically. Probably Facebook itself deletes all localStorage data.
I searched for alternatives.
- Cookies : No this will be removed when user clears history.
- Web SQL : Apparently it is dropped by w3.org. So in near future I assume chrome might not be using web sql too.
I want to store the data in the client system. What options do I have? Should I use FileSystem to store data?