Re: Using XPI to manipulate pref.js
[email protected] (Tomer Cohen)
| Newsgroups | gmane.comp.mozilla.devel.xpinstall |
|---|---|
| Organization | http://groups.google.com |
| Message-ID | <[email protected]> |
"Benjamin D. Smedberg" <[email protected]> wrote in message news:<[email protected]>... > > I wish to change values in pref.js using a script. To make it simple, > > I like to pack it in XPI, than let people install it. > XPI install scripts do not have access to xpconnect, so you cannot > access the Components object to set preferences. You can set *default* > preferences by installing a new default preferences file to > [appdir]/defaults/pref/anyname.js If so, there is a way to call another script from inside the install.js for that task? Defaults are no option for me.