Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Cuireadh an snáithe seo sa chartlann. Cuir ceist nua má tá cabhair uait.

How do I print off my Usernames and Passwords as I was able to do in the past. I do NOT like this new account.

  • 4 fhreagra
  • 1 leis an bhfadhb seo
  • 1 view
  • Freagra is déanaí ó cor-el

more options

All I want to do is make a hard copy of my UserNames and Passwords. It used to be easy but not anymore.

All I want to do is make a hard copy of my UserNames and Passwords. It used to be easy but not anymore.

Réiteach roghnaithe

Cor-el, This is way too much trouble. It used to be easy and now it's too complicated for me.

Thanks for your response. I will just let it go for now.

Pat

Read this answer in context 👍 0

All Replies (4)

more options

Hi vegaspatt, I don't think there was ever a built-in feature to print saved logins. How were you doing it before?

Currently you would need to use one of the "export" methods to archive your list. That's not built-in either, but you can find options in the following thread:

https://support.mozilla.org/questions/1258644

more options

See also this thread:

more options

Réiteach Roghnaithe

Cor-el, This is way too much trouble. It used to be easy and now it's too complicated for me.

Thanks for your response. I will just let it go for now.

Pat

more options

That is a bit older code.

All you need to do is to paste this code in the Browser Console and copy the login data to the clipboard. You need to enable the command line in the Browser Console to be able to paste this code. You probably need to type some text to allow pasting.

To enable the command line in the Console. Open the Web Console and press F1 to go to the settings page.

  • "3-bar" menu button or Tools -> Web Developer

Select "Enable browser chrome and add-on debugging toolboxes" in the developer tools settings


Paste this code in the Browser Console.

logins = await Services.logins.getAllLogins();
prompt("Logins",JSON.stringify(logins));

You can either save this JSON data to a text file or on beforehand create a new bookmark (bookmarklet) and paste the below posted code in its location field where you normally place a website link. If you have saved JSON login data to the clipboard then click this bookmark on an empty (about:blank) page and paste the clipboard content when prompted. The bookmarklet also works if you open a text file with JSON login data in a Firefox tab. Give the file a .txt file extension to prevent opening the JSON viewer.


javascript:(function(){
try{json = document.querySelector("pre").textContent;}
catch(e){json=prompt(e+"\n\nPaste JSON data","")}
var logins = JSON.parse(json), LG;
var names = "";
for (var i=0; LG=logins[i]; i++) {
try {
 var host = LG.hostname||"";
 var user = LG.username||"";
 var pass = LG.password||"";
 names += "<tr><td>"+ (i+1) + "<td>" + host + "<td>" + user + "<td>" + pass;
} catch(e){}
}
var body = '<table border="0" cellspacing="0">\n'+
'<tr class="head">\n'+
'<td>#\n'+
'<td><b>Host</b>\n'+
'<td><b>User name</b>\n'+
'<td><b>Password</b>\n'+
names+
'</table>\n';
document.body.innerHTML = body;
})()