[Project_owners] how to initial some variables

Amin amin.eft at gmail.com
Sat Jan 20 21:17:47 PST 2007


i have some variable in my extension , i want to set them first time after
instalation

    var prefs = Components.classes["@mozilla.org/preferences-service;1
"].getService(Components.interfaces.nsIPrefService).getBranch("
amin.eft_PhProxy at gmail.com");
        prefs.setCharPref(id, sData);



where i must put code like this to set them only one time ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mozdev.org/pipermail/project_owners/attachments/20070121/14223510/attachment.html 


More information about the Project_owners mailing list