Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多
封存

Accidentally deleted my passwords from Firefox

Quothraven

I was using Clean My Mac and it recommended that I clean some files that Firefox was using. I did not realize that one of them was my password file. I rely heavily on Firefox to fill in passwords. Is there anyway to recover the file? I do have Time Machine backups on my MacBook.

I was using Clean My Mac and it recommended that I clean some files that Firefox was using. I did not realize that one of them was my password file. I rely heavily on Firefox to fill in passwords. Is there anyway to recover the file? I do have Time Machine backups on my MacBook.

所有回覆 (1)

Quothraven, sometimes missing passwords can be retrieved using the logins-backup.json file in the Profile folder on the hard drive. Although this would need to be done sooner rather than later.

If you do not know where your Profile folder is, see here: https://support.mozilla.org/en-US/kb/profiles-where-firefox-stores-user-data

To attempt password recovery:

  1. open your Profile folder on the hard drive
  2. close Firefox if it is running
  3. move logins.json to a backup folder
  4. copy logins-backup.json to a backup folder
  5. in the profile folder, rename logins-backup.json to logins.json
  6. restart Firefox

If this doesn't work then you can always exit Firefox and then restore the original two files.