Created
January 3, 2012 00:27
-
-
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
This file contains 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: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