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.
All I want to do is make a hard copy of my UserNames and Passwords. It used to be easy but not anymore.
Chosen solution
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
Ler a resposta no contexto 👍 0All Replies (4)
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:
See also this thread:
- /questions/1077630#answer-834769 How can I "print" the saved passwords list?
Chosen Solution
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
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; })()