Skip to content

Instantly share code, notes, and snippets.

View rowatt's full-sized avatar

Mark Rowatt Anderson rowatt

View GitHub Profile
@tjluoma
tjluoma / search-in-1password
Last active August 23, 2017 01:00
Bookmarklet to open a JavaScript prompt, pre-filled with the current domain, and then send it to 1Password for iOS 4.1
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;}