Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

Firefox deletes saved passwords when forgetting a website

  • 1 réponse
  • 1 a ce problème
  • 12 vues
  • Dernière réponse par 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...

Solution choisie

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.

Lire cette réponse dans son contexte 👍 1

Toutes les réponses (1)

more options

Solution choisie

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.