Hilfe durchsuchen

Vorsicht vor Support-Betrug: Wir fordern Sie niemals auf, eine Telefonnummer anzurufen, eine SMS an eine Telefonnummer zu senden oder persönliche Daten preiszugeben. Bitte melden Sie verdächtige Aktivitäten über die Funktion „Missbrauch melden“.

Learn More

Batch remove obsolete logins

  • 2 Antworten
  • 1 hat dieses Problem
  • 5 Aufrufe
  • Letzte Antwort von cor-el

more options

Hi, I'd like to batch delete ~100 old logins from Firefox.

Previous forum posts suggested using these URLs to access password management: chrome://passwordmgr/content/passwordManager.xul and chrome://passwordmgr/content/passwordManager.xhtml but neither work on FF88.0b2 64bit on macOS 10.14.6

Thanks

Hi, I'd like to batch delete ~100 old logins from Firefox. Previous forum posts suggested using these URLs to access password management: chrome://passwordmgr/content/passwordManager.xul and chrome://passwordmgr/content/passwordManager.xhtml but neither work on FF88.0b2 64bit on macOS 10.14.6 Thanks

Alle Antworten (2)

more options

This is currently not possible (you can only remove all logins). There is a bug report to add this feature, but isn't actively worked.

  • Bug 1208194 - Implement multi-select deletion of logins

Please do not comment in bug reports
https://bugzilla.mozilla.org/page.cgi?id=etiquette.html

You can vote for a bug to show your interest
https://bugzilla.mozilla.org/page.cgi?id=voting.html

If you are familiar with editing a JSON file then you can remove them from logins.json

You can use this code in the Browser Console to get all logins. Remove the logins and then import the modified logins using a fresh logins.json. Make sure to keep a backup. You can possibly open the modified logins file in a Firefox tab to verify that the file is valid JSON.


/* export logins in JSON format */
var lg = prompt("Logins",JSON.stringify(Services.logins.getAllLogins()));
/* import logins in JSON format */
if (lg = prompt("Logins JSON: [{},{}]","?")){
lg = JSON.parse(lg);
try {/*[60+]*/
 for(i=0;LG=lg[i];i++){if(!LG.origin){LG.origin = LG.hostname}}
 ChromeUtils.import("resource://gre/modules/LoginHelper.jsm");
 LoginHelper.maybeImportLogins(lg);
} catch(e){console.log(e);}
}

more options

Another possibility is to export the logins to a CSV file and edit this file. You can rename the current logins.json file in the profile folder to loginsOLD.old and import the edited CSV file.

See the note at the bottom of this article about how to enable CSV import via the about:config page.


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