rem: pref.SetChartPref("intl.charset.detector", "japsm"); 
add: dump("get pref 2\n"); pref.SetCharPref("intl.charset.detector", "japsm"); 
context: function SelectDetectors( event )  {   dump ( event.target );   pref = Components.classes['component://netscape/preferences'];   // if all else fails, use trusty "about:blank" as the start page   if (pref) {        pref = pref.getService();        pref = pref.QueryInterface(Components.interfaces.nsIPref);   }   if (pref) {       pref.SetChartPref("intl.charset.detector", "japsm");   }  }
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/ae7070934b22d083c300c7e3c811409bd90fa7f7/charsetDetectorsOverlay.js/clean/xpfe/global/resources/content/charsetDetectorsOverlay.js