Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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?

EDIT: My primary laptop is Windows, but I believe I've seen the same behavior for these sites on my MacBook as well. Also, these sites are not in my Exceptions list.

share|improve this question
    
Windows...os x...linux? –  Troggy Sep 8 '09 at 21:09
add comment

4 Answers 4

up vote 6 down vote accepted

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.")})();
share|improve this answer
1  
why should I trust a cryptic javascript code from someone I don't know??? Specially when he tells me to add it as a bookmarklet!?? –  hasenj Sep 8 '09 at 22:08
    
This does the trick. Thanks, my password for delicious was pretty damn long. –  KdgDev Sep 8 '09 at 22:12
1  
@hasen j: that's why i give credits where due :) squarefree.com/bookmarklets/forms.html#remember_password –  Molly7244 Sep 8 '09 at 22:24
1  
Why should I trust an extension that's being offered as a binary file and I don't know the developer? Why there isn't an extension that points to addons.mozilla.org/en-US/firefox? Any solution to this question can be considered unsafe. –  setatakahashi Sep 8 '09 at 23:10
    
People who adopt a fundamental attitude like "why should I trust that?" are in their right to do so, but ultimately, should consider this classic paper on the issue of trust in the computer software world cm.bell-labs.com/who/ken/trust.html –  Svend Sep 8 '09 at 23:39
show 2 more comments

Try Activate Autocomplete.

share|improve this answer
    
Hooray, worked for me. –  Ryan Thompson Sep 8 '09 at 22:42
add comment

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.

share|improve this answer
add comment

You could also use Lastpass for your passwords which don't get stored in Firefox at all, but are encrypted using the browser just like the passwords that are stored within FF. They have a bokmarklet available as well as extensions for Firefox and an Add-On for IE.

You can find them at either http://www.lastpass.com or through the Mozilla add-ons directory.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.