MozillaZine


77.0.1 passwords

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

Post Posted July 8th, 2020, 2:55 am

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: 4290
Joined: February 3rd, 2009, 6:29 pm

Post Posted July 10th, 2020, 9:26 pm

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/Browser_Console#Browser_Console_command_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/search?path=passwordManager.xul
http://searchfox.org/mozilla-release/search?path=passwordManager.xul

dickvl

User avatar
 
Posts: 53289
Joined: July 18th, 2005, 3:25 am

Post Posted July 11th, 2020, 2:26 pm

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: 4290
Joined: February 3rd, 2009, 6:29 pm

Post Posted July 12th, 2020, 7:07 am

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

Return to Firefox Support


Who is online

Users browsing this forum: Bing [Bot] and 4 guests