X
Tap here to go to the mobile version of the site.
Your Firefox is out of date and may contain a security risk! Upgrade Firefox

Support Forum

How can I make firefox remember passwords on ALL sites?

Posted

Firefox has a feature to remember my passwords, which is very useful. However, some sites mess with this so they won't save my passwords. In some cases these sites turn "autocomplete" off for the password field in their html; in other cases they appear to use some kind of javascript magic to stop me from saving my passwords.

First of all, why should websites try to stop me from saving my password? Do they really think its more secure if people have to write their passwords on stickynotes on their monitor to remember them--or worse, use the same password on all sites? I what way is it conceivably more secure? In any case it's MY business how I manage my passwords--not theirs!

I have had some success in battling evil sites that try to stop my from saving my passwords by editing the nsLoginManager.js file. But this is not convenient as I must keep doing this every time firefox gets upgraded, and it doesn't work for some sites like American Express which I think use some sort of javascript to stop me from doing what I want.

So my question is, how can I effectively make firefox remember ALL the passwords I want, when _I_ want to--and NOT obey evil websites that just want to practice CYA while actually making me LESS secure?

Additional System Details

This happened

Every time Firefox opened

This started when...

Websites started trying to stop me from good security practices

Installed Plug-ins

  • Mime Type x-skype for Skype Buttons
  • The Totem 2.30.2 plugin handles video and audio streams.
  • DivX Web Player version 1.4.0.233
  • Shockwave Flash 10.1 r85
  • The IcedTea NPR Web Browser Plugin (using IcedTea6 1.8.2 (6b18-1.8.2-4ubuntu2)) executes Java applets.

Application

  • User Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.12) Gecko/20101027 Ubuntu/10.04 (lucid) Firefox/3.6.12

More Information

cor-el
  • Top 10 Contributor
  • Moderator
10762 solutions 96861 answers

Firefox 4 may be doing a better job once bug 518516 gets fixed.
You can also try form fill mangers like Autofill Forms: https://addons.mozilla.org/firefox/addon/4775


See Bug 518516 - Make login manager work with JS generated forms (after pageload)

(please do not comment in bug reports)

the-edmeister
  • Top 10 Contributor
  • Moderator
3197 solutions 24406 answers

Helpful Reply

You can use the Remember Password bookmarklet:
https://www.squarefree.com/bookmarklets/forms.html#remember_password
Has worked for me when I have needed it to save a password on a web site that used autocomplete=off. As far as the Bug that cor-el linked, I can't remember ever running across a website that did it like that.

Or, you can use the Saved Password Editor extension, which includes a means of manually adding Username/Passwords to Firefox.
https://addons.mozilla.org/en-US/firefox/addon/60265

Alon 0 solutions 9 answers

I’ve re-compiled the ‘omni.jar’ with a modified ‘nsLoginManager.js’ file and now it works for me. If you want I can send you the file, so you will be able to replace it with the original one.

CiaoBella1 1 solutions 22 answers

It seems every time I update versions, I lose more passwords. I went from 3.6.15 to 4, then back to 3.6.15, then I just updated to 3.6.16. V4 was freezing in the search bar so I reverted to the earlier version, which I previously reverted to an earlier version because of a bug with Ad Block Plus (that was later fixed), I do not like adding add-ons or playing with script and I certainly do not want a master password; I would prefer a more stable browser. Passwords are not being saved on sites where there is no strict security, like a newspaper or something.

I have been running FF for a very long time. Bookmarklets does not seem like a workable solution - and since more and more people complain every week, my other question would be, Firefox, are you reading these posts?

Alon, if you get very positive responses from your solution, may I get more detail? I am technical enough to follow instructions, but I do not understand yours. Thank you.

Alon 0 solutions 9 answers

You can find more information in the following post - http://support.mozilla.com/en-US/questions/799489

sergiomb 0 solutions 4 answers

on firefox5 no nsLoginManager.js in omni.jar , none of yours methods works !

Help !!!!

firefox.delorey 0 solutions 2 answers

Helpful Reply

There does no appear to be fix for this in Version 5.01 because there are no applicable java script files to edit. Thus, it appears to be a systemic bug that only the Mozilla team can address.

lightstream 0 solutions 2 answers

This isn't really a website problem, it's how Mozilla have implemented the 'autocomplete' attribute. As a website developer, this attribute promises a good way to prevent different users of the same computer from viewing what has previously been entered in a form by clicking in or starting typing a word in a field. This is autocomplete - it is not and should not be related to whether or not a password manager stores passwords.

Therefore the most sensible and user-friendly solution is for Firefox to only disable autocomplete on fields with autocomplete set - ie not show previously typed values - and it should always offer to save your password.

This way leaves the user in control, and really being in control must be one of the biggest reasons why people use an independent browser such as Firefox.

the-edmeister
  • Top 10 Contributor
  • Moderator
3197 solutions 24406 answers

@lightstream

Mozilla is following W3C standards where websites declare "autocomplate =off" by not saving the login data - username and password. The standard is to not save that data - period.

Over a year ago in this thread, I posted a way to allow the user to override autocomplete = off, but most users aren't familiar with bookmarklets and how they can put the user more in control of the web.

Multiple users of a PC shouldn't even have access to any other user's personal information like passwords. The first line of security is separate Logon User Accounts for each user - each user has their own preferences, settings, and saved data for all the programs that they use.

If you think Mozilla is wrong with the way password autocomplete is handled in Firefox, file a Bug report with a proposal about how you think it should work. But search Bugzilla to make sure a similar Bug hasn't already been filed and marked as "wontfix".
https://bugzilla.mozilla.org/

https://developer.mozilla.org/en/Bug_writing_guidelines
https://bugzilla.mozilla.org/page.cgi?id=etiquette.html
http://paulrouget.com/e/learnbugzilla/

cor-el
  • Top 10 Contributor
  • Moderator
10762 solutions 96861 answers

Mozilla will never ignore attributes like autocomplete=off or implement a build-in way to pass it or you get a big problem with deploying Firefox in large companies where thing like that are undesirable and will make it impossible to get Firefox accepted by their IT department.
Autocomplete can be useful not saving search data in specific search fields or other field where you do not want to keep data.

Login forms created by JavaScript however are a problem.
Among the sites that use that method are www.imageshack.us and login.live.com (Hotmail).

lightstream 0 solutions 2 answers

@the-edmeister I haven't read the W3C standards document, so can't comment authoritatively about the compliance or non-compliance aspects of this issue.

That said, it seems possible that the issue here is one of how the standards are interpreted. My interpretation would be that 'autocomplete' data is different to saved passwords managed by a password manager (such as the one built into Firefox).

I do in fact have the 'remember password' bookmarklet, and use it to remember logins for those sites that set autocomplete to off,

However, when I, or any other person using my computer for that matter, return to such a site, Firefox will actually autocomplete my login details. You only have to click in the username box and Firefox will show any saved username even though the box is marked 'autocomplete=off'. This doesn't seem to be a sensible interpretation of the autocomplete attribute to me.

If it's blind adherence to a literal interpretation of the standard, then OK, great, let's all saddle up and head on down into the valley of death like the noble Light Brigade.

Edit: I can't find a bug that seems to correspond to this particular issue on the FF bugzilla, which isn't entirely surprising as it's clear this is how Mozilla have done things on purpose. So I'm not sure whether or not to file a bug - I can't imagine they would listen!

Modified by lightstream

Jolimont-WA 0 solutions 2 answers

I also had the same problem of FF not remembering passwords.when I upgraded from FF 3.6.28 to FF 12 on both my XP machines , I lost some passwords on some web sites but not others.

I tried doing a complete new download/save and then install trying to overwrite any of the side effects of the upgrade from ver 3.6 -> ver 12 and it still didn't work.

I fixed the problem by downloading the extension Saved Password Editor 2.6.2 so that I could directly edit or create new usernames and passwords for any web site.

Installing this extension for some reason enabled the prompting to save new usernames and passwords on new web sites.

I think that what has possibly happened is that the FF password files  may have become corrupted during the upgrade and using the Saved Password Editor may have created a newer password file version of signons.sqlite.

Another thing is that I have read that if there are password files signons2.text , signons3.txt and signons.sqlite then they should be deleted and then re-enter your passwords again.

These password files are located in

XP C:\Documents and Settings\<username>\Application Data\Mozilla\Firefox\Profiles\default\ez8jzbjw.slt

( signons2.text , signons3.txt , signons.sqlite )

Win 7 C:\Users\<username>\AppData\Roaming\Mozilla\Firefox\Profiles\ip9ve4f9.default

( signons.sqlite )

mykmelez 0 solutions 1 answers

The new RememberPass addon does this and is easier to use than either the bookmarklet or the Saved Password Editor addon. Just install it, and it'll set autocomplete=on for password fields automatically. And it works on both Firefox Desktop and Firefox for Android!