The code can be downloaded here. Tested with Opera version 11.01 for Mac, Linux and Windows.
First you have to extract the archive. I suggest somewhere within your Opera folder, e.g.: YourOperaFolder\userjs\PwdHash\
Restart Opera to make sure that all the changes have been applied. Now the first time you visit an HTTPS page a message box will popup and ask you whether you want to allow User Scripts on encrypted pages. You should click Yes to enable PwdHash for all encrypted pages. Opera will remember your choice for this session but if you restart the browser it will ask you again. It is kind of annoying but it is the only way to enable HTTPS PwdHash for now.
This implementation works mostly as described at http://crypto.stanford.edu/PwdHash/. To activate the hashing you either have to prepend your password with ‘@@’ (two ats) or press F6 (instead of F2) while the password field is focused. When hashing is activated the background of the password field will turn to a very bright yellow. Once you leave the password field or press enter to submit the form the password will be hashed. This is indicated by a bright green background.
You can deactivate the hashing by pressing F6 again which will also restore the password field’s original background color. Hashing can even be activated for regular text fields.comments powered by Disqus