rem: client.prefBranch.setCharPref(prefName, prefValue); 
add: { clearPref(prefName); } 
context: function writePref(prefName){    //if (prefName.indexOf("extensions.irc." == 0))    //    prefName = prefName.substr(15);    var ary;    if (prefName in client.prefSpecs)    {        var varName = client.prefSpecs[prefName][0];        var defaultValue = client.prefSpecs[prefName][1];        var prefValue = eval(varName);                if (typeof defaultValue == "boolean")            client.prefBranch.setBoolPref(prefName, prefValue);        else if (typeof defaultValue == "number")            client.prefBranch.setIntPref(prefName, prefValue);        else if (defaultValue instanceof Array)            client.prefBranch.setCharPref(prefName, prefValue.join("; "));        else            client.prefBranch.setCharPref(prefName, prefValue);    }    else if ((ary = prefName.match(/munger\.(.*)/)) &&              ary[1] in client.munger.entries)    {        client.prefBranch.setBoolPref (prefName,                                       client.munger.entries[ary[1]].enabled);    }    else    {        dd ("writePref: UNKNOWN PREF ``" + prefName + "''");    }    if (!("prefLock" in client))        client.prefService.savePrefFile(null);}
meta: 3298	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3298/b3d1175771f9a15f392f6d2a76d3d08df9c86d77/readprefs.js/clean/xul/content/readprefs.js