77.0.1 passwords

User Help for Mozilla Firefox
Post Reply
bob c
Posts: 246
Joined: September 7th, 2003, 10:09 am

77.0.1 passwords

Post by bob c »

went to 77.0.1 my changes to get rid of the passwords on the side of the screen, is now back. almost impossible to manage them this way. anybody have a way yet to get back the password management in the middle of the screen where you can see more of them in single line style., and enlarge the box.
morat
Posts: 6427
Joined: February 3rd, 2009, 6:29 pm

Re: 77.0.1 passwords

Post by morat »

You can use a script in the browser console to generate a list in csv format.

Code: Select all

(function () {
  try {
    var signons = Services.logins.getAllLogins();
    var csv = '"Site","Username","Password"';
    for (var i = 0; i < signons.length; i++) {
      csv += '\n';
      csv += signons[i].httpRealm ?
       ('"' + signons[i].hostname + ' (' + signons[i].httpRealm + ')","') :
        '"' + signons[i].hostname + '","';
      csv += signons[i].username + '","' + signons[i].password + '"';
    }
    console.log(csv);
  } catch (err) {
    console.log('Problem reading or outputting logins: ' + err);
  }
})();
Browser Console command line
http://developer.mozilla.org/docs/Tools ... mmand_line

More info
http://support.mozilla.org/questions/1253828

P.S.

The old "Saved Logins" dialog doesn't exist in the source anymore.

Reference
http://searchfox.org/mozilla-esr68/sear ... anager.xul
http://searchfox.org/mozilla-release/se ... anager.xul
User avatar
dickvl
Posts: 54161
Joined: July 18th, 2005, 3:25 am

Re: 77.0.1 passwords

Post by dickvl »

Note that Firefox 78 has code to export the logins to CSV via the Lockwise page (about:logins), but this menu item is hidden in 78 and has been enabled in Firefox 79 (Beta/DE).

bug 249801 - Ability to export/backup saved passwords [78]

AboutLoginsExportPasswordsDialog:
https://searchfox.org/mozilla-release/s ... ins.js#126
morat
Posts: 6427
Joined: February 3rd, 2009, 6:29 pm

Re: 77.0.1 passwords

Post by morat »

Here is how to show the Export Logins menuitem in the dots menu in Firefox 78.

Code: Select all

/* Firefox userContent.css */

@-moz-document url-prefix("about:logins") {
  button.menuitem-export {
    display: block !important;
  }
}
http://kb.mozillazine.org/UserContent.css
Post Reply