Re: user_pref function
Ben Bucksch <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.prefs |
|---|---|
| Organization | Beonex |
| Message-ID | <[email protected]> |
Tomas Soucek wrote:
> It would be nice to have a script on toolbar
> that calls user_prefs("security.default_personal.cert", ...)
You don't need user_prefs() for that, you can use the pref service /
nsIPrefBranch from chrome JS. There are *tons* of examples in the
Mozilla source code.