3

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.

1
  • Windows...os x...linux?
    – Troggy
    Sep 8, 2009 at 21:09

4 Answers 4

6

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.")})();
7
  • 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!??
    – hasen
    Sep 8, 2009 at 22:08
  • This does the trick. Thanks, my password for delicious was pretty damn long.
    – KdgDev
    Sep 8, 2009 at 22:12
  • 1
    @hasen j: that's why i give credits where due :) squarefree.com/bookmarklets/forms.html#remember_password
    – Molly7244
    Sep 8, 2009 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. Sep 8, 2009 at 23:10
  • 1
    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, 2009 at 23:39
2

There is a firefox extension save-my-password which enables to manually insert the password into the password manager for the current site. Then firefox will be prompting the password for this site

1

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.

1

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.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .