Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@philgruneich
Created November 17, 2014 03:21
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save philgruneich/31f920c0969e026be596 to your computer and use it in GitHub Desktop.
Save philgruneich/31f920c0969e026be596 to your computer and use it in GitHub Desktop.
Returns to 1Writer and replaces the selection with a Markdown link from the Safari page.
javascript:window.location='onewriter://x-callback-url/replace-selection?text='+encodeURIComponent('%5B%5D('+location.href+'%20%5C''+document.title+'%5C')')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment