I have a text file like this:
settings:value
data:integer:boolean
data:integer:boolean
data:integer:boolean
data:integer:boolean
...
I need CRUD operations over this text file using javascript.
This file is in the same js file’s directory.
EDIT after some comments:
This is for a Firefox addon. Maybe we can count with more privileges?
With the FileSystem API… but it will only work on Chrome 🙁
Other browsers will allow you to read files using the HTML5 File API, but only Chrome will let you write.