Skip to content

Instantly share code, notes, and snippets.

@ScottDugas
Created January 3, 2012 00:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ScottDugas/1552813 to your computer and use it in GitHub Desktop.
Save ScottDugas/1552813 to your computer and use it in GitHub Desktop.
javascript for adding url to pinboard - paste into the url of a bookmark on iphone
javascript:if(document.getSelection){s=document.getSelection();}else{s='';};document.location='https://pinboard.in/add?next=same&url='+encodeURIComponent(location.href)+'&description='+encodeURIComponent(s)+'&title='+encodeURIComponent(document.title)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment