rem: gPrefBranch.setIntPref(entry.prefCol, eval(result.value)); 
add:   var val = result.value | 0; if (val != result.value - 0) { var err_title = gConfigBundle.getString("nan_title"); var err_text = gConfigBundle.getString("nan_text"); gPromptService.alert(window, err_title, err_text); return false; } gPrefBranch.setIntPref(entry.prefCol, val); 
context: function ModifyPref(entry){  if (entry.lockCol == PREF_IS_LOCKED)    return false;  var title = gConfigBundle.getFormattedString("modify_title", [gTypeStrs[entry.typeCol]]);  if (entry.typeCol == nsIPrefBranch.PREF_BOOL) {    var check = { value: entry.valueCol == "false" };    if (!entry.valueCol && !gPromptService.select(window, title, entry.prefCol, 2, [false, true], check))      return false;    gPrefBranch.setBoolPref(entry.prefCol, check.value);  } else {    var result = { value: entry.valueCol };    var dummy = { value: 0 };    if (!gPromptService.prompt(window, title, entry.prefCol, result, null, dummy))      return false;    if (entry.typeCol == nsIPrefBranch.PREF_INT) {      gPrefBranch.setIntPref(entry.prefCol, eval(result.value));    } else {      var supportsString = Components.classes[nsSupportsString_CONTRACTID].createInstance(nsISupportsString);      supportsString.data = result.value;      gPrefBranch.setComplexValue(entry.prefCol, nsISupportsString, supportsString);    }  }  return true;}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/886d11bb3922361dec2958999c706a3ef54e4fd7/config.js/clean/xpfe/global/resources/content/config.js