Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

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

搜索 | 用户支持

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

详细了解

autocomplete no longer working, what happened to nsLoginManager.js?

more options

I used to have a modification to nsLoginManager.js in the function _isAutocompleteDisabled() which forced a "return false". This was wonderful at remembering passwords for *all* sites, even those that set autocomplete=off.

Now, I'm running Firefox 3.6.13 (Firefox for Ubuntu) and I can't seem to find this fine any longer.

Where is the function _isAutoCompleteDisabled() now?

Or, is there another way (Not a bookmarklet) to force autocomplete to ON irrespective of the sites preferences?

I used to have a modification to nsLoginManager.js in the function _isAutocompleteDisabled() which forced a "return false". This was wonderful at remembering passwords for *all* sites, even those that set autocomplete=off. Now, I'm running Firefox 3.6.13 (Firefox for Ubuntu) and I can't seem to find this fine any longer. Where is the function _isAutoCompleteDisabled() now? Or, is there another way (Not a bookmarklet) to force autocomplete to ON irrespective of the sites preferences?

所有回复 (5)

more options

If you do not want to use the bookmarklet then you have to use a Greasemonkey script that works similar as the bookmarklet and removes the autocomplete=off directive.

more options

Well, that wasn't the question.

Is nsLoginManager.js still around and is there a function like _isAutoCompleteDisabled() or a way to accomplish this other than a bookmarklet.

-amrith

由amrith于修改

more options

I also dearly miss this solution- forcing that function to return false made life easier by autocompleting all fields, and probably sped up Firefox to boot (if only marginally). By contrast, using a GreaseMonkey script is only going to slow things down. It doesn't seem like the right solution to me.

more options

Just to to inform you all.

The nsLoginManager.js file is stored in the file omni.jar

This file is just a zip file that you can open and edit. On Linux a program like MidNite commander (mc) makes it possible to edit this file on the fly. Once you open it you'll see a directory called "components" it's in there. Just edit it and you'll be able to use firefox like before.

more options

Is that solution still valid in FF8?