Skip to content

Instantly share code, notes, and snippets.

Last active August 29, 2015 14:00
What would you like to do?
Bookmarklet: Search for Medium Article Mentions on Twitter
javascript:var h=location.href;if((h.indexOf('') !== -1) && (h.split('/').length-1 >= 4)){location.href=''+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