rem: dump("Charset Detector menu item pressed: " + event.node.getAttribute('id') + "\n"); 
add: dump("Charset Detector menu item pressed: " + event.target.getAttribute('id') + "\n"); 
context: function SelectDetector(event){	dump("Charset Detector menu item pressed: " + event.node.getAttribute('id') + "\n");    uri =  event.target.getAttribute("id");    prefvalue = uri.substring('charsetDetector.'.length, uri.length);    if("off" == prefvalue) { // "off" is special value to turn off the detectors        prefvalue = "";    }    pref = Components.classes['component://netscape/preferences'];    if (pref) {        pref = pref.getService();        pref = pref.QueryInterface(Components.interfaces.nsIPref);    }     if (pref) {        pref.SetCharPref("intl.charset.detector", prefvalue);        window.content.location.reload();    }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/8f5405ecc5f83180a0a7812e64c50304a3193eea/charsetOverlay.js/buggy/xpfe/global/resources/content/charsetOverlay.js