Re: Add-on bar or navigation toolbar icon showing same status across windows
Neil <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.xpfe |
|---|---|
| Message-ID | <[email protected]> |
STF wrote: > The value is supposed to be persistent (ie its value does not change > from a session to another). So that means it's better to store it in > preference? For a simple boolean value then that is probably the easiest way to persist it. > And suppose I'm to use the "global preference observer" method you > suggested, could you give me a link to any doc or tutorial please? There are a number of useful documents for traditional extensions. This one seems particularly suited for someone wanting to add preferences to an existing extension: https://developer.mozilla.org/en/docs/Adding_preferences_to_an_extension Unfortunately I couldn't find any documentation for JetPack extensions. -- Warning: May contain traces of nuts.