Skip to content

Instantly share code, notes, and snippets.

@julien51
Created October 3, 2013 07:26
Show Gist options
  • Save julien51/6806328 to your computer and use it in GitHub Desktop.
Save julien51/6806328 to your computer and use it in GitHub Desktop.
Setting up SubToMe on http://matthewbogart.net/
// If your goal is to replace the 'SUBSCRIBE TO UPDATES' links, with the button, just find instances of:
<a href="http://matthewbogart.net/subscribe">SUBSCRIBE TO UPDATES</a>
// and replace with
<input type="button" onclick="(function(){var z=document.createElement('script');z.src='https://www.subtome.com/load.js';document.body.appendChild(z);})()" value="Follow for Updates">
// Feel fre to let me know about issues in the comments.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment