Firefox 29: save and fill out autocomplete=”off” passwords

firefox autocomplete signon-overrideautocomplete

The autocomplete attribute specifies to web browsers whether stored data may be used to fill out the field automatically.

The attribute is commonly used on password fields to prevent autocomplete from working here. That's however not the only input type that is supported by it. It can also be added to text, search or email fields among others.

The attribute itself is Boolean, which means that it is either on or off. If it is not specified, it is considered on by default, which means that you will usually encounter autocomplete being set to off when you browse the Internet as some sites, banks for example, believe that it improves security.

All modern browsers support the attribute. Firefox users up until now had to rely on third party tools,  a userscript that sets all off values of autocomplete to on for example, or third party password managers that ignore the attribute, to save and automatically fill out passwords on websites that use autocomplete off on password fields.

Firefox 29 is currently available as a Nightly build only. Mozilla has implemented a new feature in the web browser that Firefox users can make use of to ignore autocomplete on websites that use the feature. This basically means that passwords will be saved when entered the first time -- which sometimes did not work properly -- and that saved passwords will be used to automatically fill out the sign on form on those sites.

Previously, you may have noticed that passwords could not be saved or automatically filled out on some websites, which was usually caused by autocomplete being set to off on those sites.

The new preference signon.overrideAutocomplete is not enabled by default. If you want to enable it so that Firefox can save passwords if autocomplete is set to off, do the following:

  1. Type about:config in the Firefox address bar and tap on the enter-key afterwards.
  2. Confirm you will be careful if it is your first time doing so.
  3. Search for signon.overrideAutocomplete and wait until it is displayed.
  4. Double-click the preference to change its value from false to true.
  5. Setting it to true enables the feature, so that passwords on sites that use autocomplete="off" can be saved now by the web browser directly.

To undo the change, repeat the steps 1-4 again. This will set the value to false again.

It is interesting to note that the bug was filed in 2008 for the first time. According to the discussion on the page, it took Mozilla that long because no one did put work into it until recently. (via Sören)

facebooktwittergoogle_plusredditlinkedinmail


Filed under:

Responses to Firefox 29: save and fill out autocomplete=”off” passwords

  1. Mystique December 25, 2013 at 6:22 am #

    Wonderful news, I can't wait for the team behind Cyberfox to integrate this bit of code in their respective release.

    Thanks for the heads up Martin.

Leave a Reply

Subscribe without commenting