Trying to login to Paypal, your bank or credit card account, airline website, Yahoo, MSN, or any number of other online sites and for some reason Firefox doesn't ask you if you want to save your password? So, you have to type it in every time you want to log in. We show you how to force it to remember your passwords.
As far as security is concerned, it's actually a good thing that Firefox doesn't allow you to save your password for these sites, given the prevalence of Firefox on public computers, such as those in libraries, schools, and airports. You wouldn't want someone to sit down behind you, after all, and be able to login to your credit card account with the click of a button.
Newer versions of Firefox are disabling the auto-forcing of password saving for a good reason: security. Instead of meddling with Firefox settings, we recommend you try out the LastPass application. LastPass lets you save your passwords and login credentials securely (in the LastPass vault). You will be able to retrieve them (use them to auto-login) on any supported browser or device.
For security purposes, the nsLoginManager.js file has been repacked in Firefox versions 4 and up, into a compressed file called omni.jar (a JAR file is a Java archived file). You can extract the nsLoginManager.js file by renaming the archive to omni.zip, or using 7-Zip or WinRAR (which have .jar extraction support). Next, make the edits below to nsLoginManager.js, and finally, repack it (recompress it) into omni.jar and restore the archived file to its original location. Restart Firefox. Please remember that modifications to core files like are done at your own risk - there's a reason the Mozilla development team has structured and compressed these files as they have, and re-enabling the auto-saving of passwords on certain sites could pose a security threat.
Any website that has the autocomplete attribute set to off will disable Firefox's ability to save your password. To have Firefox change/ ignore this setting, you can do the following:
It's important that you only use this on a computer you trust, such as your home computer. Here's how it works:
Firefox (and other browsers) are setup so that websites can request the "autocomplete" (password saving functionality) feature to be turned off. That means, when you visit their website, you won't (by default) be able to save a password because of a setting change. Don't forget that this is a reliable security precaution - as mentioned, you don't want to override this setting on a computer you're not familiar with or that is in a public location.
That bookmarklet that forces Firefox to turn the "autocomplete" setting back on for specific web pages is executed via Javascript, so your browser must support Javascript for this to work. For the technically minded, or those that are simply curious, here's the code used to make the Javascript bookmarklet:
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(ca,"form")+" and from "+n(cea,"form element")+", and removed onsubmit from "+n(cs,"form")+". After you type your password and submit the form, the browser will offer to remember your password.")
}
)();
Bookmarklets are essentially snippets of Javascript code. Just like when you create a bookmark to a page, a URL is stored, and upon recall executed (so your browser is taken to that URL), with a bookmarklet, the URL is a snippet of Javascript. If you bookmark the bookmarklet (hence the name), upon recall the Javascript snippet is executed in your browser. So all you really need to do is copy and paste the above code into the URL field of a link, and you have your bookmarklet. Note that we've inserted tabs and spacing for readability - you may need to remove these (ie. consolidate space) to get the Javascript to work correctly.
We spend entirely too much of our time and energy searching for ways to repair our Firefox Password Manager. Shouldn't we be asking "What gives 'them' the right to interfere in our security settings on our computers?" The password manager exists to protect our security. It does not exist for 'their' convenience.
The instructions below do not work in Firefox 10 & 11 beta ... nsLoginManager.js is in omni.ja, not omni.jar, and resetting the true to false in the nsLoginManager.js as instructed below has no effect. FF 10 & 11 beta still will not save passwords on sites that this nsLoginManager.js file would work with the true/false change in FF version 3.6.
For security purposes, the nsLoginManager.js file has been repacked in Firefox versions 4 and up, into a compressed file called omni.jar (a JAR file is a Java archived file). You can extract the nsLoginManager.js file by renaming the archive to omni.zip, or using 7-Zip or WinRAR (which have .jar extraction support). Next, make the edits below to nsLoginManager.js, and finally, repack it (recompress it) into omni.jar and restore the archived file to its original location. Restart Firefox.
I would have to confirm that it is annoying that we need to alleviate our security concerns via third party software such as Last Pass or miscellaneous plugins to handle our passwords - that's absurd!
The ACTA days and widespread invigilation on the web stinks like hell!
This might be useful.
I found this on another forum....so all of the credit goes to that person and the creator of this plug-in.
Saved password editor plugin for Firefox.
I'm using FF v10.02 at home & FF v10.02 ESR at my work. Works good on most websites, but not all.
Best wishes...
omni.jar doesn't exist in Firefox 10, but the file omni.ja does.
This method to force Firefox to save your password doesn't appear to work any longer in Firefox 10.
Anyone having trouble getting this to work in newer versions of Firefox, we suggest you checkout the LastPass utility. It allows you to keep an encrypted database of logins across not only browsers but platforms (PC, smartphone, etc.) as well.
Does not work on FF 9.0.1. Is there a revised version that will force passwords to be saved in FF 9.0.1?
Ray
prius2010 at hotmail dot co dot uk
I can't get this to work in FF 3.6.6. Is there something obvious I might be doing wrong?
Nice script. Exactly what I need now. This code I need as well =)
All Content © 2012 Contract Web Development, Inc. All Rights Reserved. Privacy Policy | Terms of Use | Disclosure | Powered by Drupal