Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Firefox keeps removing my passwords

  • 3 个回答
  • 3 人有此问题
  • 14 次查看
  • 最后回复者为 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!

所有回复 (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

由Digitalmind于修改