[Project_owners] Extension preferences

Daniel Wang stolenclover at yahoo.com.tw
Thu Jan 15 17:49:58 EST 2004

Nathan R. Yergler wrote:
> Is there any documentation on implementing Preferences for an 
> extension?  I found the prefs module in jsLib, and was able to add a 
> prefs page to the Mozilla prefs dialog, and that all works as expected.  
> Now I'm trying to get my changes to save when the user clicks OK (and 
> not when they click Cancel), but haven't had any luck.  Suggestions?

for simple prefs that you don't need to do anything about, try the 
prefstring attribute, e.g. <checkbox prefstring="mypref"/>

More information about the Project_owners mailing list