Skip to content

Instantly share code, notes, and snippets.

@matthewhochler
Forked from JoelBesada/README.md
Last active January 1, 2016 08:09
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 matthewhochler/8116560 to your computer and use it in GitHub Desktop.
Save matthewhochler/8116560 to your computer and use it in GitHub Desktop.
Bookmark current URL in Pinboard, with pop-up window. Custom bookmarklet for Backtick (http://backtick.io/).
javascript:q=location.href;if(document.getSelection){d=document.getSelection();}else{d='';};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'));
{
"name": "Bookmark in Pinboard",
"description": "Bookmark current URL in Pinboard, with pop-up window."
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment