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):

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.