via Raymond.cc
In Firefox 4, the developers have packed all of the naked files into one jar file called omni.jar.
[...]
All you need to do is extract the omni.jar file with WinRAR or rename it to omni.zip and use the Windows 7 to extract it. Then make any modification or changes to the files, ZIP it back again and copy to Firefox folder.
You can go ahead and edit the nsLoginManagerPrompter.js to auto save password without prompting the user or edit the nsLoginManager.js to allow saving of password into the built-in password manager on login forms with autocomplete=”off”.