Created
March 14, 2013 17:18
-
-
Save tnorthcutt/5163251 to your computer and use it in GitHub Desktop.
Quick pinboard bookmarking in Chrome
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
/* | |
*In Chrome, add a new search engine (Settings -> Search -> Manage Search Engines), with 'p' as the keyword, | |
* and the following snippet in the url field. To use, press cmd/ctrl+l, type 'p', then enter. You should see a | |
* new window where you can save the bookmark in pinboard. Enjoy! | |
*/ | |
javascript:q=location.href;if(document.getSelection)%7Bd=document.getSelection();%7Delse%7Bd='';%7D;p=document.title;void(open('https://pinboard.in/add?url='+encodeURIComponent(q)+'&description='+encodeURIComponent(d)+'&title='+encodeURIComponent(p),'Pinboard','toolbar=no,width=700,height=350')); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment