add:  if((m_tb_prefs.getIntPref("extensions.torbutton.shutdown_method") == 1 && m_tb_prefs.getBoolPref("extensions.torbutton.tor_enabled")) || m_tb_prefs.getIntPref("extensions.torbutton.shutdown_method") == 2) { torbutton_clear_cookies(); } 
context: observe : function(subject, topic, data) {  if (topic == "em-action-requested") {    subject.QueryInterface(Components.interfaces.nsIUpdateItem);    torbutton_log(2, "Uninstall: "+data+" "+subject.id.toUpperCase());    if (subject.id.toUpperCase() == TORBUTTON_EXTENSION_UUID) {      torbutton_log(2, "Uninstall: "+data);      if (data == "item-uninstalled" || data == "item-disabled") {        this._uninstall = true;      } else if (data == "item-cancel-action") {        this._uninstall = false;      }    }  } else if (topic == "quit-application-granted") {    if (this._uninstall) {        torbutton_disable_tor();        // Still called by pref observer:        // torbutton_update_status(false, false);    }    this.unregister();  }},
meta: 3444	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/3444/3442a84231f1732ecd418d9d86483de76b814245/torbutton.js/buggy/src/chrome/content/torbutton.js