1Password 4 Bookmarklet for iOS

I use 1Password to generate and store website logins and the like. The new version for iOS, 1Password4 has a pretty good built in web browser to autologin to websites.

Still, most of my iOS browsing happens in Safari. A recent update added a new URL scheme to the app, so I wrote a quick little Javascript bookmarklet and added it to my Safari bookmarks bar. All it does is opening the page you are looking at in 1Password - since Safari iOS doesn't allow extensions, this is the next best thing:

javascript:window.location.href='op'+window.location.href

Works like a champ.