rem: var Registry = Components.classes['component: 
add: var Registry = Components.classes['@mozilla.org/registry-viewer;1'].createInstance(); 
context: function LoadDetectorsMenu()  {    debug("run LoadDetectorsMenu()\n");    var Registry = Components.classes['component://netscape/registry-viewer'].createInstance();    Registry = Registry.QueryInterface(Components.interfaces.nsIRegistryDataSource);    Registry.openWellKnownRegistry(Registry.ApplicationComponentRegistry);    Registry = Registry.QueryInterface(Components.interfaces.nsIRDFDataSource);    var menu = document.getElementById('CharsetDetectorsMenu');    if (menu) {      menu.database.AddDataSource(Registry);      menu.setAttribute('ref', 'urn:mozilla-registry:key:/software/netscape/intl/charsetdetector');    }  }
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/0257791053c2b38e1dfaf2ee11afae973e82e394/charsetDetectorsOverlay.js/clean/xpfe/global/resources/content/charsetDetectorsOverlay.js