Skip to content

Instantly share code, notes, and snippets.

@pbausch
Last active August 29, 2015 14:00
Embed
What would you like to do?
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