Skip to content

Instantly share code, notes, and snippets.

@pbausch
Last active August 29, 2015 14:00
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pbausch/11379206 to your computer and use it in GitHub Desktop.
Save pbausch/11379206 to your computer and use it in GitHub Desktop.
Bookmarklet: Search for Medium Article Mentions on Twitter
javascript:var h=location.href;if((h.indexOf('medium.com') !== -1) && (h.split('/').length-1 >= 4)){location.href='https://twitter.com/search?q='+encodeURIComponent(h.substr(h.lastIndexOf('/') + 1))}else{alert('Not at a Medium article.');}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment