rem: var config = new Config(getScriptFile("config.xml")); config.load(); var scriptNum=aEvent.target.value; if (!config.scripts[scriptNum]) return; config.scripts[scriptNum].enabled=!config.scripts[scriptNum].enabled; config.save(); 
add: if (aEvent.button == 0 || aEvent.button == 2) { var config = new Config(getScriptFile("config.xml")); config.load(); var scriptNum=aEvent.target.value; if (!config.scripts[scriptNum]) return;  if (aEvent.button == 0) {  config.scripts[scriptNum].enabled=!config.scripts[scriptNum].enabled; config.save(); } else {  openInEditor(getScriptFile(config.scripts[scriptNum].filename), document.getElementById("gm-browser-bundle") .getString("editor.prompt")) }  closeMenus(aEvent.target); } 
context: function GM_popupClicked(aEvent) {  var config = new Config(getScriptFile("config.xml"));  config.load();  var scriptNum=aEvent.target.value;  if (!config.scripts[scriptNum]) return;  config.scripts[scriptNum].enabled=!config.scripts[scriptNum].enabled;  config.save();}
meta: 4236	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/4236/51d1b6228193fe6ce510b790d2afcbeb5b340f88/browser.js/clean/src/chrome/chromeFiles/content/browser.js