Skip to content

Instantly share code, notes, and snippets.

@ordnungswidrig
Forked from JoelBesada/README.md
Last active December 29, 2015 13:09
Show Gist options
  • Save ordnungswidrig/7675439 to your computer and use it in GitHub Desktop.
Save ordnungswidrig/7675439 to your computer and use it in GitHub Desktop.
Post current page to pinboard.in

This is an command for Backtick. It posts to current page's URL to pinboard.

javascript:q=location.href;if(document.getSelection){d=document.getSelection();}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'));
{
"name": "Pinboard",
"description": "Post URL of current page to pinboard.",
"icon": "https://pinboard.in/bluepin.gif",
"link": "http://pinboard.in/"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment