rem: window.content.location.reload(); 
add: window._content.location.reload(); 
context: function SelectDetectors( event )  {   uri =  event.target.getAttribute("id");   debug(uri + "\n");   pref = Components.classes['component://netscape/preferences'];   prefvalue = uri.substring(                     'urn:mozilla-registry:key:/software/netscape/intl/charsetdetector/'.length                     ,uri.length);   if("off" == prefvalue) { // "off" is special value to turn off the detectors      prefvalue = "";   }   debug(prefvalue + "\n");   // if all else fails, use trusty "about:blank" as the start page   if (pref) {        debug("get pref\n");        pref = pref.getService();        pref = pref.QueryInterface(Components.interfaces.nsIPref);   }   if (pref) {       debug("get pref 2\n");       pref.SetCharPref("intl.charset.detector", prefvalue);       window.content.location.reload();   }  }
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/03ea82871ae0d2b0e52e9f402c89829c8a4feb6a/charsetDetectorsOverlay.js/buggy/xpfe/global/resources/content/charsetDetectorsOverlay.js