Bookmarklet: Open in 1Password (iOS)

From MacStories – how you can create a bookmarklet to have a URL opened in the 1Password app from Safari.

From the article:

The URL scheme for opening website is far more useful for me. You can prepend “op” to a normal Safari URL to open it directly into 1Password. For instance, typing ophttp://google.com in Safari will launch Google in 1Password’s browser. Therefore, I made a bookmarklet that you can click in Safari to open the current website in 1Password even faster; simply create a bookmarklet with this code:

  • javascript:window.location=’op’+(window.location.href);

…And 1Password will launch the website you’re currently viewing. I tested the bookmarklet in Safari and Chrome for iOS; it has become a huge timesaver to quickly log into websites that I access on a frequent basis.