Last active
August 23, 2017 01:00
-
-
Save tjluoma/4527061 to your computer and use it in GitHub Desktop.
Bookmarklet to open a JavaScript prompt, pre-filled with the current domain, and then send it to 1Password for iOS 4.1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:str=window.location.hostname;n=str.split(".");l=n.length;op=window.prompt('Search in 1Password',n[(l-2)]+"."+n[(l-1)]);if(op!=null){window.location='onepassword://search/'+op;} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Revising this based on @urnotl33t's comment on http://www.tuaw.com/2013/01/14/safari-to-1password-search-bookmarklet-for-ios/