On Apr 18, 3:39 pm, Domizio Demichelis <[email protected]> wrote: > I am writing my first extension for FB, and I am probably missing something > obvious about setting some default preference. > > Is the defaults/preferences/prefs.js supposed to create the preferences set > in it or should I create it in the extension's js?
Yes, this special file creates the default value for the preference. > It seems that it does not create anything: after installing the extension > the preferences are not visible in about:conf, but if I create them manually > the extension will use change/save them as expected. You just have a bug. > So what is the > canonical way to create a preference entry when a user installs the > extension? You have the right ingredients, all you need to do is cook them some more. jjb > > Thank you > dd -- You received this message because you are subscribed to the Google Groups "Firebug" 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/firebug?hl=en.
