In "saved Logins" I can copy user name & password. How do I copy the "site"?
I want to maintain an Excel file of my passwords and would like to copy & paste the site, user name & password. I can do it in Safari, but I have not found a way to copy the site address.
所有回覆 (7)
See:
- /questions/1077630 How can I "print" the saved passwords list?
- http://kb.mozillazine.org/Password_Manager#Backing_up_and_restoring_passwords
Password Exporter {web link} This extension allows you to export your saved passwords and disabled login hosts using XML or CSV files that can be imported later.
In the event that the passwords information is lost, you should record all information in a separate text file somewhere else on your hard drive, or written down. You can easily copy and paste if you need to do so. If you are concerned about someone else looking at that file, you can compress it using a password.
The problem is with the site address. How do I copy & paste the site address from "saved Logins?"
Saved Password Editor {web link} Adds the ability to create and edit entries in the password manager.
You can run this code in the Browser Console to ad a CopyHostname item to the right-click context menu. You need to have the Password Manager window open in the current tab.
- Options/Preferences -> Security: Logins: "Saved Logins"
You need to rerun the JavaScript code if you close the Password Manager window.
You can open the Browser Console ("3-bar" menu button or Tools -> Web Developer). Set devtools.chrome.enabled to true on the about:config page to enable the command line.
Paste the JavaScript code in the command line. Press the Enter key to run the JavaScript code.
(function(){ var gB = Services.wm.getMostRecentWindow("navigator:browser").gBrowser; cD = gB.selectedBrowser.contentDocument; doc = cD.getElementById("dialogFrame").contentWindow.document; if(doc.location == "chrome://passwordmgr/content/passwordManager.xul"){ if(doc.getElementById("context-copyhostname") == null){ console.log("<create menuitem>"); mi = doc.createElement("menuitem"); mi.setAttribute("id","context-copyhostname"); mi.setAttribute("accesskey","H"); mi.setAttribute("label","Copy Hostname"); mi.setAttribute("oncommand","let clipboard = Cc[\"@mozilla.org/widget/clipboardhelper;1\"].getService(Ci.nsIClipboardHelper); let row = signonsTree.currentIndex; let hostname = signonsTreeView.getCellText(row,{id:\"siteCol\"}); clipboard.copyString(hostname);"); var menupopup = doc.getElementById("signonsTreeContextMenu"); var menuitem = doc.getElementById("context-copyusername"); menuitem.parentNode.insertBefore(mi,menuitem) }console.log(doc.getElementById("context-copyhostname") == null?"<error>":"<done>"); }})()
由 cor-el 於
I was hoping to find a simple copy & paste routine as is available in Safari, but gave up on Firefox.
Rather than using additional software, I simply typed in the site addresses into my Excel file and used cut & paste for the user names & passwords.
Thanks to all who offered the ways that work for you.
I've modified the above posted code to work in the Web Console ("3-bar" menu button or Tools -> Web Developer). If you paste the JavaScript code in the command line in the Web Console then you can right-click a row in the Password Manager and find a "Copy Hostname" item in the context menu.