In FireFox under Tools, Options, Privacy, Passwords, and View Saved Passwords all of your web passwords are stored. This is a management console for you to delete username and passwords from storage. But, there is also a Remove-All button next to the Remove button. If you ever accidentally clicked Remove-All you would lose all of your stored usernames and passwords. There is no "Are you sure?" warning.
This hack by Chris to the userChrome.css file will remove the Remove-All button from the console.
userChrome.css is not created by default. You will need to locate the userChrome-example.css file in your FireFox profile directory. Rename the file to userChrome.css and add the following line to the end of the file:
CSS:
-
#removeAllSignons {display: none !important;}
I added the following to mine so I can keep track of why I made the change and where the source came from:
CSS:
-
/* Remove the Remove All button from the passwords box. Hack found at http://ilias.ca/blog/2006/04/removing-remove-all.html */
-
#removeAllSignons {display: none !important;}
-
Save the file (remember to save it as userChrome.css) and restart FireFox. The Remove-All button is now gone and safe from accidental use.