Created
August 15, 2013 19:37
-
-
Save thadk/6244053 to your computer and use it in GitHub Desktop.
Pinboard with Referrer Bookmarklet
-This bookmarklet for pinboard.in adds the referring site (or twit-url) to the description when you bookmark
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)%7Bd=document.getSelection()+" refrr:"+document.referrer;%7Delse%7Bd='';%7D;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
To install, make a new bookmark on your Bookmark bar by dragging the favicon from the URL bar into the bar then edit it and paste in the code. Make sure javascript is included.