substack/http-browserify — pull request #16 by ForbesLindesay (2013-03-06 19:38:11+00:00)
Title: Default to using the scheme of the current page

Otherwise pages that work when accessed from `http` don't work when accessed from `https` because they suddenly start attempting cross domain access.