if (!wallet_GetUsingDialogsPref()) { return JS_TRUE; }
PRBool FE_Confirm(char * szMessage) {  fprintf(stdout, "%c%s  (y/n)?  ", '\007', szMessage); /* \007 is BELL */  char c;  for (;;) {    c = getchar();    if (tolower(c) == 'y') {      return JS_TRUE;    }    if (tolower(c) == 'n') {      return JS_FALSE;    }  }}