Parameters and Bookmarklets
Published April 8th, 2009 in Web, simplepasswordI implemented a very small change to simplepassword.com last week, which has opened the way up for some nice usability enhancements. The change itself was very simple – you can now pass the name of a domain as part of the URL to simplepassword.com. So you can do something like this – Generate a password for bbc.co.uk. Doing so will populate the domain field for you and move focus on to the password field. Handy enough, but only if you’re developing your own site.
It becomes more generally useful when you hook it together with some Javascript. I knocked up a little bookmarklet which will take the location of the page you are currently on, parse out the domain name and then call simplepassword.com passing this domain name. So you can have a one-click “generate me a password for this site” button in your browser toolbar. Full details, with installation instructions, here.