How to turn off the autocomplete=off feature in Firefox

Sometimes you just really want to use the autocomplete feature and omit the HTML form autocomplete=off. To do so, you need to modify following file (the firefox version might, and probably will be, different than the one posted below): /usr/lib/firefox-3.6.10/components/nsLoginManager.js (Ubuntu) C:\Program Files\Mozilla Firefox\components\nsLoginManager.js (Windows) Change this: _isAutocompleteDisabled : function (element) { if (element.getAttribute("autocomplete").toLowerCase() == "off") return true; return false; } to this: _isAutocompleteDisabled : function (element) { return false; } or just add comments to the conditional section of the method, to assure it will always return false....

September 25, 2010 · 1 min