为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

editing passwords

  • 6 个回答
  • 1 人有此问题
  • 1 次查看
  • 最后回复者为 user700204

more options

So I have this one website that I have a login name and password for. But Firefox NEVER asks to remember that login. I log in manually repeatedly, and I'm not offered to save it, and It isn't found in "Saved Logins". I'd sure like to have Firefox remember that login. How can I do that? It is my understanding that a website can be set up to NOT let the browser login saving work. Maybe that's what's going on here? But is there some way to force that login to be saved? Or some way to edit that information into the "Saved Logins" file?

So I have this one website that I have a login name and password for. But Firefox NEVER asks to remember that login. I log in manually repeatedly, and I'm not offered to save it, and It isn't found in "Saved Logins". I'd sure like to have Firefox remember that login. How can I do that? It is my understanding that a website can be set up to NOT let the browser login saving work. Maybe that's what's going on here? But is there some way to force that login to be saved? Or some way to edit that information into the "Saved Logins" file?

所有回复 (6)

more options

Does it already have a password listed?

Type about:preferences#security<enter> in the address bar. Look under Logins,

Note: For Firefox 56+ its; about:preferences#privacy Look under Forms & Passwords +++++++++++++++++++++++++++++++ Turn on Remember Logins. To check the passwords you have listed, press Saved Logins.

Press the Exceptions button and see what's inside.

more options

Thanks. But I don't have any exceptions listed, and as I said I know how to review my saved logins. The issue is that I don't know how to edit those saved logins, or add to them.

more options

Some websites do not use a form, but only use two input fields and a submit button to submit these fields via AJAX or otherwise use a setup that Firefox doesn't recognize as a login form.

In theory you could try to save a name and password on another website and then edit this record in logins.json and modify hostname and usernameField and passwordField. You can double-click name and password field in the Password Manager or use the right-click context menu to edit these fields. I've never done this myself, but at least this way you have the username and password saved in the Password Manager if Firefox offer to fill. This file is in JSON format, so you need a basic understanding of how this format works and make sure not to break this file. You can set this pref to true to get a log in the Browser Console.

  • signon.debug = true

由cor-el于修改

more options

That's an interesting strategy, and thanks for telling me that logins.json is where those logins are stored. But how do I edit that file? In vi, it comes up as ONE very long line. Certainly a lot of potential for breaking it.

Where in Preferences do I find signon.debug? When I go to about:preferences, I don't see it.

more options

You can inspect and modify prefs on the about:config page. You can open the about:config page via the location/address bar. You can accept the warning and click "I accept the risk!" to continue.


Yes, the logins.json is one long line without any line breaks although linefeed like used in HTML should work. I've edited the file as a test and added a line break (%0a) after "}," to make each entry {"id":xx start on a new line and that works.

You can test the modified file by opening the file in a Firefox tab and have the builtin JSON viewer handle the file.

more options

Thanks. But "about:config" isn't Preferences. At least not the Preferences you select in the menu button. Good ideas about editing the JSON file. Too bad the JSON viewer isn't a JSON editor!