Using a Sharepoint site is for Firefox users can very annoying as the Website, for what reason whatsoever, does not allow the Web browser to store the password. Some other sites also disallow for security reasons to store the password in the browser.
Sometimes, the trouble even doubles as the user can not change his/her Sharepoint password and always has to lookup the cryptic generated password.
However, there is a solution for allowing Firefox storing the password available:
- Go to the Login page of the Sharepoint Website
- Enter you username and password
- Copy the JavaScript code below into the Firefox Location bar
- Hit Enter and click on sign in
- Voilà, Firefox asks you if you like to save the password.
Copy this one into the location bar as it is written without any newlines:
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.")})();
A more readable form of the JavaScript:
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.") })();
The script simply removes the HTML attribute “autocomplete=off” and has to be executed only once. You can check now if your password has been stored in the Firefox settings.
One minor issue remains: As the next time you visit the login page, the autocomplete
attributes are active again, you must enter your complete login name, but this is quite easy to remember and the password will be automatically inserted by Firefox.
Reference: Force Firefox to Offer to Save …
HTH,
Andreas