Shatu
Shatu

Reputation: 1839

Storage Options with Mozilla Addon-SDK

I am a newbie to Addon-SDK. I am making an Addon in which I log some information meant for manually viewing later on. I came across the Simple-Storage API but as far as I could figure out, it saves the information internally in some format which can only be accessed via function calls i.e. "ss.storage.variable_name".

I was wondering if this information is accessible somehow from windows directory structure i.e. maybe from some file in the profile directory.

And secondly, is there any way to access the SQlite Database, or any third party API?

(I don't know why but the cfx test for this API gives me errors, so not able to use this).

Upvotes: 3

Views: 768

Answers (1)

gal007
gal007

Reputation: 7202

You can try with localStorage of HTML5 via Javascript: http://www.w3schools.com/html/html5_webstorage.asp

And then with Store: https://developer.mozilla.org/es/docs/Storage

Upvotes: -1

Related Questions