為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

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?