rem: pref.setCharPref (rootNode + "newTabThreshold", client.NEW_TAB_THRESHOLD); pref.setCharPref (rootNode + "focusNewTab", client.FOCUS_NEW_TAB); 
add: pref.setIntPref  (rootNode + "newTabLimit", client.NEW_TAB_LIMIT); pref.setBoolPref (rootNode + "raiseNewTab", client.RAISE_NEW_TAB); 
context: function writeIRCPrefs (rootNode){    const PREF_CTRID = "@mozilla.org/preferences-service;1";    const nsIPrefBranch = Components.interfaces.nsIPrefBranch;    var pref = Components.classes[PREF_CTRID].getService(nsIPrefBranch);    if(!pref)        throw ("Can't find pref component.");    if (!rootNode)        rootNode = "extensions.irc.";    if (!rootNode.match(/\.$/))        rootNode += ".";        pref.setCharPref (rootNode + "nickname",                      CIRCNetwork.prototype.INITIAL_NICK);    pref.setCharPref (rootNode + "username",                      CIRCNetwork.prototype.INITIAL_NAME);    pref.setCharPref (rootNode + "desc", CIRCNetwork.prototype.INITIAL_DESC);    pref.setCharPref (rootNode + "charset", client.CHARSET);    pref.setCharPref (rootNode + "nickCompleteStr", client.ADDRESSED_NICK_SEP);    pref.setCharPref (rootNode + "initialURLs", client.INITIAL_URLS);    pref.setCharPref (rootNode + "initialScripts", client.INITIAL_SCRIPTS);    pref.setCharPref (rootNode + "newTabThreshold", client.NEW_TAB_THRESHOLD);    pref.setCharPref (rootNode + "focusNewTab", client.FOCUS_NEW_TAB);    pref.setCharPref (rootNode + "style.default", client.DEFAULT_STYLE);    pref.setCharPref (rootNode + "stalkWords",                      client.stalkingVictims.join ("; "));    pref.setCharPref (rootNode + "stalkBeep", client.STALK_BEEP);    pref.setCharPref (rootNode + "msgBeep", client.MSG_BEEP);    pref.setCharPref (rootNode + "queryBeep", client.QUERY_BEEP);        pref.setBoolPref (rootNode + "munger", client.munger.enabled);    pref.setBoolPref (rootNode + "munger.colorCodes", client.enableColors);    pref.setBoolPref (rootNode + "munger.smileyText", client.smileyText);    for (var entry in client.munger.entries)    {        if (entry[0] != ".")        {            pref.setBoolPref (rootNode + "munger." + entry,                              client.munger.entries[entry].enabled);        }    }    pref.setBoolPref (rootNode + "notify.aggressive", client.FLASH_WINDOW);    pref.setBoolPref (rootNode + "views.collapseMsgs", client.COLLAPSE_MSGS);    pref.setBoolPref (rootNode + "views.copyMessages", client.COPY_MESSAGES);    pref.setIntPref (rootNode + "views.client.maxlines", client.MAX_MESSAGES);    pref.setIntPref (rootNode + "views.network.maxlines",                     CIRCChanUser.prototype.MAX_MESSAGES);    pref.setIntPref (rootNode + "views.channel.maxlines",                     CIRCChannel.prototype.MAX_MESSAGES);    pref.setIntPref (rootNode + "views.chanuser.maxlines",                     CIRCChanUser.prototype.MAX_MESSAGES);        var h = client.eventPump.getHook ("event-tracer");    pref.setBoolPref (rootNode + "debug.tracer", h.enabled);    }
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/cec2c08e47b26462051b77c877240842832fa2c4/readprefs.js/clean/extensions/irc/xul/content/readprefs.js