Skip to content

Instantly share code, notes, and snippets.

@thinkjson
Last active December 22, 2015 19:09
Show Gist options
  • Select an option

  • Save thinkjson/6518008 to your computer and use it in GitHub Desktop.

Select an option

Save thinkjson/6518008 to your computer and use it in GitHub Desktop.
Create a new bookmark with the content below as the url to attempt to autolink Bible references in Tweets
javascript:$('.tweet-text').each(function(i, item) { $(this).html($(this).html().replace(/(\w+) \d+\:\d+/g, '<a href="https://www.bible.com/search?q=$&">$&</a>')); });
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment