User name and password not remembered: Difference between revisions

From MozillaZine Knowledge Base
Jump to navigationJump to search
(Saved Password Editor addon)
(undid last addition belongs with Password Manager)
Line 70: Line 70:
*[http://support.mozilla.com/kb/Username+and+password+not+remembered Username and password not remembered (Firefox Support)]  
*[http://support.mozilla.com/kb/Username+and+password+not+remembered Username and password not remembered (Firefox Support)]  
* [http://cybernetnews.com/2009/02/13/firefox-remember-passwords/ Make Firefox Remember Passwords without a Bookmarklet]  
* [http://cybernetnews.com/2009/02/13/firefox-remember-passwords/ Make Firefox Remember Passwords without a Bookmarklet]  
*[https://addons.mozilla.org/firefox/addon/60265/ Saved Password Editor], adds the ability to create and edit password entries in the password manager
   
   



Revision as of 19:09, 30 July 2011

This article deals with Firefox or Mozilla Suite/SeaMonkey not remembering user names and passwords you enter. If Thunderbird does not remember passwords, see Password not remembered - Thunderbird.

  • If Firefox 3 does not automatically enter previously saved passwords when logging into websites and new passwords can't be saved, this can be caused by a bug in Firefox 3.0.2 that affects users with password data (login, password, or domain) containing non-ASCII characters. [1] [2] If updating to Firefox 3.0.3 (or later) does not resolve the issue, see this forum topic for a solution.
  • Firefox 3.5 and later won't offer to store a new password if you are in a Private Browsing mode session. One way to enter Private Browsing mode is if you select: Tools > Options > Privacy > History: Firefox will: "Never Remember History". You also see a, possibly grayed, "Tools > Stop Private Browsing" menu entry if you are currently in Private Browsing mode. To leave permanent Private Browsing mode go to "Tools > Options > Privacy" and choose the setting Firefox will: Use custom settings for history and uncheck "Automatically start Firefox in a private browsing session".


Password Manager settings

You must have the "Remember passwords" feature enabled for the browser to remember them. In Firefox 2.0 and above, make sure Tools -> Options -> Security / Passwords -> "Remember passwords for sites" is checked.

Additionally, you may have once told the browser to never save the passwords for the site. In Firefox 2.0 and above, check the list under Tools -> Options -> Security / Passwords -> Exceptions.

Passwords cleared with Clear Recent History

Firefox's Clear Recent History (previously named: Clear Private Data) feature may be set to clear your passwords when you close Firefox. Make sure that Tools -> Options -> Privacy -> "Clear history when Firefox closes" (previously named: "Always clear my private data when I close Firefox") is unchecked, or that under Settings, "Saved Passwords" is not checked.

Sites prohibit password saving

Some websites, for example Hotmail / MSN / live, GMail, Yahoo! Mail / flickr, and some banks, specify that your user name and password should not be saved. You can override this behavior.

Using a bookmarklet

  1. Bookmark the "remember passwords" link on this page.
  2. Go to the log in page of the site you want to save your details.
  3. Enter your login and password, but do not submit.
  4. Open the bookmark you just made. (Nothing will appear to happen).
  5. Submit.

On subsequent visits, your user name and password should be filled in. If that doesn't happen then see Password only filled after entering user name.

Firefox doesn't fill the user name and password if you have multiple names and passwords stored for a website (domain). If the user name field is not empty then you may need to use the Delete key to clear the user name field and then the Down key should open the drop down list.

Note:
The "remember passwords" bookmarklet linked above may not work on all sites. Here are some alternate versions that you can try.
Create a new bookmark and paste the code given below in the location field of that bookmark. [3]

  • This is a variation of the original bookmarklet from www.squarefree.com with formatted output:

javascript:(function(){var ca,cea,cs,df,dfe,i,j,x,y;function n(i,what){return i+" "+what+((i==1)?"":"s")}ca=cea=cs=0;df=document.forms;for(i=0;i<df.length;++i){x=df[i];dfe=x.elements;if(x.onsubmit){x.onsubmit="";++cs;}if(x.attributes["autocomplete"]){x.attributes["autocomplete"].value="on";++ca;}for(j=0;j<dfe.length;++j){y=dfe[j];if(y.attributes["autocomplete"]){y.attributes["autocomplete"].value="on";++cea;}}}alert("Removed autocomplete=off from:\n"+n(ca,"form")+"\n"+n(cea,"form element")+"\n\nRemoved onsubmit from:\n"+n(cs,"form")+"\n\nAfter you type your password and submit the form, the browser will offer to remember your password.")})();

  • This version works with frames, but doesn't give feedback, so you do not have to close the pop-up alert:

javascript:(function(){function R(w){try{var a,df,dfe,i,j,x,y,r=1;df=w.document.forms;for(i=0;x=df[i];++i){dfe=x.elements;if(a=x.onsubmit){a=""}if(a=x.attributes["autocomplete"]){a.value="on"}for(j=0;y=dfe[j];++j){if(a=y.attributes["autocomplete"]){a.value="on"}}}}catch(E){r=0}return r}R(self);var i,x;for(i=0;x=frames[i];++i)R(x)})();

  • This version gives feedback if you run it a second time:

javascript:(function(){var c=0;function R(w){try{var a,df,dfe,i,j,x,y,r=1;df=w.document.forms;for(i=0;x=df[i];++i){dfe=x.elements;if(a=x.onsubmit){a=""}if(a=x.attributes["autocomplete"]){if(a.value=="on"){c++}a.value="on"}for(j=0;y=dfe[j];++j){if(a=y.attributes["autocomplete"]){if(a.value=="on"){c++}a.value="on"}}}}catch(E){r=0}return r}R(self);var i,x;for(i=0;x=frames[i];++i)R(x);if(c){alert("Found: "+c)}})();

Using an extension

Problem sites

Even after use of "remember_password" bookmarklet, and even deleting cookies for a site or other means above, you may still experience some difficulties with some sites.

  • GMail/Google where after double-clicking on the userid and selecting your userid, it does not fill in the password. Choose to try another id, this time when you choose your id, it should fill in the password as well. You can only be logged into one Google account at a time. Google cookies are unique to each userid and to not signed in (no userid) within your profile. Cookies for GMail (mail.google.com), search on "@gmail".
  • Yahoo remembers your password for two weeks so you think everything is fine then it fails. You may have to delete the cookies for Yahoo, use the remember bookmarklet and wait two weeks to see if you were really successful or not.
  • Bank sites, financial sites, and other sites that have your social security number and financial transactions, and can transfer money do attempt to protect your password from being saved, you should not try to bypass such features that are designed to protect you and other customers. There are passwords you should just remember and not store them anywhere in, on or near your computer.

Problem Software

Likewise, the following software settings may impact your experience.

  • Registry Mechanic (v. 10.0.0.143) might be configured to clear all browser data. To change preferences open RM, click Clean your Disks then click Browsers to access the settings for Firefox (and all browsers).

See also

External links