Skip to content

Instantly share code, notes, and snippets.

@beh
Created August 31, 2012 07:40
Show Gist options
  • Star 32 You must be signed in to star a gist
  • Fork 7 You must be signed in to fork a gist
  • Save beh/3549933 to your computer and use it in GitHub Desktop.
Save beh/3549933 to your computer and use it in GitHub Desktop.
Add bookmark to pinbord.in with predefined tag, without user intervention
javascript:q=location.href;if(document.getSelection){d=document.getSelection();}else{d='';};p=document.title;void(open('https://pinboard.in/add?later=yes&noui=yes&jump=close&tags=TAGS GO HERE&url='+encodeURIComponent(q)+'&description='+encodeURIComponent(d)+'&title='+encodeURIComponent(p),'Pinboard','toolbar=no,width=100,height=100'));
// Copy and paste the above into a new bookmark. Replace "TAGS GO HERE" with your tags. Presto!
Copy link

ghost commented Sep 6, 2015

So sweet, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment