Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Mozilla サポートの検索

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

このスレッドはアーカイブに保管されました。 必要であれば新たに質問してください。

passwords got delete

  • 3 件の返信
  • 1 人がこの問題に困っています
  • 24 回表示
  • 最後の返信者: cor-el

more options

Hi

My saved passwords got deleted accidentally.

How can i restore.

I have previous import file its a .csv

Thanks Heshan

Hi My saved passwords got deleted accidentally. How can i restore. I have previous import file its a .csv Thanks Heshan

すべての返信 (3)

more options

Hi Heshan, I am not aware of a method for importing logins from a file into Firefox 57 or later.

I looked into writing a Browser Console script for it the other day, but I couldn't get it working. https://support.mozilla.org/questions/1252564

Can you recover the two critical files from a Time Machine backup? Those would be:

  • logins.json
  • key4.db

in your Profile folder. See: Profiles - Where Firefox stores your bookmarks, passwords and other user data.

more options

Current Firefox releases do not have a way to import the passwords from a CSV file.

Did you check that Firefox didn't switch profiles because Firefox 67 DE might be using its own profile?

You need a backup copy of logins.json and key4.db to restore lost passwords. The logins.json and key4.db need to match because the key file stores the encryption key necessary to be able to decrypt the usernames and passwords stored in logins.json.

If you use the Time Machine or other backup then try to restore file(s) from this backup.

more options

Note that it is actually quite easy to import passwords in the Password Manager using an array of JSON data (LoginHelper.maybeImportLogins(); in older Firefox versions LoginHelper.maybeImportLogin()).

Updating an existing password requires a lot more work (Services.logins.modifyLogin())

この投稿は cor-el により に変更されました