On 3 Mar, 13:37, Damien Hou <[email protected]> wrote:
> I'm using the FUEL API which was introduced in Firefox 3 for command
> data persistence:https://developer.mozilla.org/en/FUEL/Application
> You can get an instance of the application storage and begin putting
> data into it.
>
> var store = Application.storage;
> store.set('foo', 'bar');
> var foo = store.get('foo');
>
> I'm using this technique in my commands, like
> "twtplus":http://gist.github.com/52797
>
> Not sure what's the difference between the storage and prefs, though.
>
> On Tue, Mar 3, 2009 at 2:16 PM, GooseusTheGreen
>
>
>
> <[email protected]> wrote:
>
> > I actually asked a similar question a couple days ago:
>
> >http://groups.google.com/group/ubiquity-firefox/browse_thread/thread/...
>
> > basically there is a way to save preferences in the ubiquity
> > extension, personally, don't know of a way to automatically read or
> > write from local files and would think that such a thing would not be
> > good in the interests of security.
>
> > On Feb 28, 6:54 pm, gialloporpora <[email protected]> wrote:
> >> Dear all,
> >> sorry if the question is too simple, but I have tried to search an
> >> answer in MDC without find that I want.
>
> >> Is it possible for commands to store data in local ?
> >> For example I have a command to browse the italian forum of Mozilla: I
> >> have integrated search and navigation in boards, now I would like to
> >> save topic in a JSON object to suggest them only if the user have
> >> saved (bookmarked it).
>
> >> Is it possible to save a JSON data in prefs.js and reading it ?
> >> Thanks
>
> >> Sandro
>
> --
> Best Regards,
> Damien
Thank you very much Daniel, this is what I search :-)
Sandro
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"ubiquity-firefox" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/ubiquity-firefox?hl=en
-~----------~----~----~----~------~----~------~--~---