rem: var pref = Components.classes["@mozilla.org/preferences;1"].createInstance(Components.interfaces.nsIPref);  pref.SetBoolPref ("extensions.irc.settings.autoSave", 
add: var pref = Components.classes["@mozilla.org/preferences-service;1"] .getService(Components.interfaces.nsIPrefBranch); pref.setBoolPref ("extensions.irc.settings.autoSave", 
context: function onToggleSaveOnExit(){    client.SAVE_SETTINGS = !client.SAVE_SETTINGS;    var m = document.getElementById ("menu-settings-autosave");    m.setAttribute ("checked", String(client.SAVE_SETTINGS));    var pref =        Components.classes["@mozilla.org/preferences;1"].createInstance(Components.interfaces.nsIPref);    pref.SetBoolPref ("extensions.irc.settings.autoSave",                      client.SAVE_SETTINGS);}
meta: 1622	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1622/1ec9bdf555ac7c861ec681990a820637ec12e157/handlers.js/clean/xul/content/handlers.js