Skip to content

Instantly share code, notes, and snippets.

@aresnick
Forked from beh/gist:3549933
Created September 26, 2015 22:54
Show Gist options
  • Save aresnick/65cc9eaff4c1fe6af389 to your computer and use it in GitHub Desktop.
Save aresnick/65cc9eaff4c1fe6af389 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!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment