Sunday, June 11, 2017
Make Firefox wise to remember Salesforce Credentials
Make Firefox wise to remember Salesforce Credentials
Hi All,
I am back after a long break :). Today i want to share a good trick which help me to save my time in many ways. Thanks to my friend (Abdul Vahid) who given me hint for that.
Problem:
Most of you (developers) are aware that these days salesforce has disabled the remember password functionality. It does not save or prompt to save any password when you login to the org. It is very hectic to maintain some external doc or sheet for passowrd , for a developer who work and develop in many orgs. For example i work in 20 orgs (sandbox, production) some times. I maintain a separate doc to look and find password whenever i need to work in a org. That takes time and sometimes not easy.
Solution:
So here is the solution trick :)
- Find out where you installed your firefox and go to Components folder. My location is like this "D:Mozilla Firefoxcomponents".
- Find the "nsLoginManager.js" file and open this in any editor. Before doing this you need to close all instances of firefox.
- Find out following line of code and comment it. I found it near line #805.
Before comment
_isAutocompleteDisabled : function (element) {
if (element && element.hasAttribute("autocomplete") &&
element.getAttribute("autocomplete").toLowerCase() == "off")
return true;
return false;
},
After comment
_isAutocompleteDisabled : function (element) {
//if (element && element.hasAttribute("autocomplete") &&
// element.getAttribute("autocomplete").toLowerCase() == "off")
//return true;
return false;
},
Save the file and start your firefox again.
(Note: The above steps given for Firefox 3.6 version. In other version it may differ)
Now see, whenever you try to login with username/pwd. Firefox will ask (prompt) you about "remember" password feature. Once you click on "Remember". It will save your username/password for your org. Next time when ever you try to login using your username, it will auto fill password like old days :)
Now, i do not need to maintain any external password doc. Isnt it cool :)
Thanks
Aslam Bari
Available link for download
Labels:
credentials,
firefox,
make,
remember,
salesforce,
to,
wise