Home » Questions » Computers [ Ask a new question ]

How do I force Firefox to remember a password?

How do I force Firefox to remember a password?

There are a couple of sites that I use (off the top of my head, the Xbox Live portal and del.icio.us) for which Firefox will not offer to remember my password. Any ideas on how to force Firefox to recognize the username/password fields for these pages?

Asked by: Guest | Views: 98
Total answers/comments: 2
Guest [Entry]

"Make a bookmark with the following code. You click on the bookmark before you login to a site. Firefox will now allow you to save the password. Any Microsoft property won't allow you to save the password.

javascript:(function(){var%20ca,cea,cs,df,dfe,i,j,x,y;function%20n(i,what){return%20i+""%20""+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%20autocomplete=off%20from%20""+n(ca,""form"")+""%20and%20from%20""+n(cea,""form%20element"")+"",%20and%20removed%20onsubmit%20from%20""+n(cs,""form"")+"".%20After%20you%20type%20your%20password%20and%20submit%20the%20form,%20the%20browser%20will%20offer%20to%20remember%20your%20password."")})();"
Guest [Entry]

"setatakahashi's solution works perfectly.

What you could also do is install this addon: http://chrispederick.com/work/web-developer/

It will add a toolbar which allows you many things. The ""Forms"" tab has an option called ""Enable Auto Completetion"".
Click that, and login. Firefox will offer to remember your password."