We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Firefox keeps removing my passwords

  • 3 replies
  • 3 have this problem
  • 14 views
  • Last reply by Digitalmind

more options

I open passwords (Via Tools-Options.) I ask to be reminded of all passwords THEN Firefox kindly tells me that ALL passwords ARE being removed!!! I have managed to close this down that last four or five times. This time I didn't get to it!! Firefox has now removed around 200+ passwords!!! WHY and how can I get them back!!

This happened

A few times a week

== I asked to see hidden passwords!

I open passwords (Via Tools-Options.) I ask to be reminded of all passwords THEN Firefox kindly tells me that ALL passwords ARE being removed!!! I have managed to close this down that last four or five times. This time I didn't get to it!! Firefox has now removed around 200+ passwords!!! WHY and how can I get them back!! == This happened == A few times a week == I asked to see hidden passwords!

All Replies (3)

more options

What do you mean with I ask to be reminded of all passwords ?

Are you clicking a button or are you putting a check mark in a box (which) ? Do you have the Security pane in Options open when that happens or the Password Manager (Show Passwords)?

If you click the Remove All button in the Password Manager then you will delete all passwords. You can't recover deleted passwords unless you have a backup of signons.sqlite in the Firefox Profile Folder

See also http://kb.mozillazine.org/Password_Manager#Backing_up_and_restoring_passwords

more options

This is now getting totally ridiculous!!! I posted a reply to this question and it went to another page I had viewed before this one and then the reply did NOT appear!? I checked the page not once but three times and although the original reply was visible it went just as soon?? I then came to this page and cut and pasted that reply again (VERY LONG POST!) And now that too has gone???? So start again???


Right and I QUOTE form the original reply. "What do you mean with I ask to be reminded of all passwords ? " I actually meant to say "Are you sure you wish to see your passwords" So not too far removed??

What happened was this, I opened the tools - options - security - saved passwords - show passwords - are you sure you wish to show all passwords (yes - no) I chose yes and then Firefox as it SOMETIMES does informed by means of a pop up box that it was deleting all of the passwords stored!!! NORMALLY I can simply close down the dialogue box and it is OK. This time it simply would not respond! And so ALL my 200+ passwords were deleted, removed, got rid of, chucked out, supprime, perdu, se débarrasser de you get the picture?? So asking a question such as above was a little (understandably) red rag to a bull time!!

YES I phrased it wrong! But the muck still hit the fan and due to the limits of such as GOOGLE I now am totally unable to retrieve my passwords for the email accounts I run as well!

The internet was down as well so I cannot get my online back up either. The backup for whatever reason did not run either so basically I am I suppose as they say on the other side of the Atlantic "SCREWED"!!! NO passowrds and NO chance of getting them back either!!! Charming! Thank you a bunch Firefox builders!! Thanks a lot!

Regards

Chris Goddard

PS No point in stating an email as I will NOT be able to collect my emails!

more options

Hi nothing to worry

It is dead easy just go to Tools > Error console than copy and paste the below code into the Code bar and click Evaluate

(function(){ var Cc = Components.classes; var Ci = Components.interfaces;

netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect"); var tokendb = Cc["@mozilla.org/security/pk11tokendb;1"]

               .createInstance(Ci.nsIPK11TokenDB);

var token = tokendb.getInternalKeyToken();

try { token.login(true);} catch (e) { }

if (token.isLoggedIn()) {

var passwordmanager = Cc["@mozilla.org/login-manager;1"]
                        .getService(Ci.nsILoginManager);
var signons = passwordmanager.getAllLogins({});
for (i=0;i<signons.length;i++) {
 try {
  var host = signons[i].hostname;
  var realm = signons[i].httpRealm;
  var user = signons[i].username;
  var userf = signons[i].usernameField;
  var password = signons[i].password;
  var passwordf = signons[i].passwordField;
  var submiturl = signons[i].formSubmitURL;
  } catch(e) {}
}
</pre>
var json =Cc["@mozilla.org/dom/json;1"]
 .createInstance(Ci.nsIJSON)
 .encode(signons);
var fp=Cc["@mozilla.org/filepicker;1"]
         .createInstance(Components.interfaces.nsIFilePicker);
fp.init(window,"",Ci.nsIFilePicker.modeSave);
fp.defaultString="signons.json";
if (fp.show() == fp.returnCancel) return;
var filoutputStream=Cc["@mozilla.org/network/file-output-stream;1"]
                      .createInstance(Ci.nsIFileOutputStream);
filoutputStream.init(fp.file,0x04|0x08,0644,0);
filoutputStream.write(json,json.length);
filoutputStream.close();

} })()

Henry

Modified by Digitalmind