开发者

Storage Options with Mozilla Addon-SDK

开发者 https://www.devze.com 2023-04-11 06:46 出处:网络
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

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 st开发者_开发百科ructure 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).


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

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号