Created
March 9, 2013 15:23
-
-
Save timd/5124491 to your computer and use it in GitHub Desktop.
A Javascript bookmarklet to post links to Pinboard. Adds the currently-selected text on the page in quotes as the bookmark's description.
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:q=location.href;if(document.getSelection){d%20=%20'"'%20+%20document.getSelection()%20+%20'"';}else{d='';};p=document.title;void(open('https://pinboard.in/add?showtags=yes&url='+encodeURIComponent(q)+'&description='+encodeURIComponent(d)+'&title='+encodeURIComponent(p),'Pinboard','toolbar=no,scrollbars=yes,width=750,height=700')); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment