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!

搜索 | 用户支持

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

详细了解

Firefox deletes saved passwords when forgetting a website

  • 1 个回答
  • 1 人有此问题
  • 4 次查看
  • 最后回复者为 cor-el

more options

Previously I used to use "Forget This Website" from the History panel to quickly clear the history of a specific website. But it was not deleting it's saved passwords. Now I realize, that when I Forget a Website, it actually does delete the saved passwords too. I am confused now. Was this behavior always like this? can it be that because I have Sync on several devices, the deleted password gets restored somehow? I would like to be able to forget a website without loosing it's login details...

Previously I used to use "Forget This Website" from the History panel to quickly clear the history of a specific website. But it was not deleting it's saved passwords. Now I realize, that when I Forget a Website, it actually does delete the saved passwords too. I am confused now. Was this behavior always like this? can it be that because I have Sync on several devices, the deleted password gets restored somehow? I would like to be able to forget a website without loosing it's login details...

被采纳的解决方案

Using "Forget About This Site" includes removing passwords stored for this origin.

If you did this recently then the passwords may still be in logins-backup.json.

Firefox 80+ has a logins-backup.json file in the profile folder that can be used in case of issues with logins.json or to undo an accidental delete of a login, so you can check if you can find this file in the profile folder or in a backup and replace the current logins.json. Make sure to keep a backup copy of all involved files (logins.json and key4.db and logins-backup.json)

You can use the button on the "Help -> More Troubleshooting Information" (about:support) page to go to the current Firefox profile folder or use the about:profiles page.

If you use a Primary Password then you can prevent losing passwords by canceling the PP prompt. You need to logout beforehand by canceling a PP prompt, e.g. by clicking the eye icon in Lockwise (about:logins).


Using "Forget About This Site" will remove all data stored in Firefox for this domain like history and cookies and passwords and exceptions and cache, so be cautious. If you have a password or other data for that domain that you do not want to lose then make sure to backup this data or make a note. You can't recover from this 'forget' unless you have a backup of involved files.

定位到答案原位置 👍 1

所有回复 (1)

more options

选择的解决方案

Using "Forget About This Site" includes removing passwords stored for this origin.

If you did this recently then the passwords may still be in logins-backup.json.

Firefox 80+ has a logins-backup.json file in the profile folder that can be used in case of issues with logins.json or to undo an accidental delete of a login, so you can check if you can find this file in the profile folder or in a backup and replace the current logins.json. Make sure to keep a backup copy of all involved files (logins.json and key4.db and logins-backup.json)

You can use the button on the "Help -> More Troubleshooting Information" (about:support) page to go to the current Firefox profile folder or use the about:profiles page.

If you use a Primary Password then you can prevent losing passwords by canceling the PP prompt. You need to logout beforehand by canceling a PP prompt, e.g. by clicking the eye icon in Lockwise (about:logins).


Using "Forget About This Site" will remove all data stored in Firefox for this domain like history and cookies and passwords and exceptions and cache, so be cautious. If you have a password or other data for that domain that you do not want to lose then make sure to backup this data or make a note. You can't recover from this 'forget' unless you have a backup of involved files.