Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Snippet to pass current page url to Kindle It service (used in blog sidebar)
<p>You can also download this post as:</p>
<p align="center"><strong>
<script type="text/javascript">var l = encodeURIComponent(document.URL);
document.write('<a href="'+l+'&submit=Preview">Kindle It</a> | <a href="'+l+'">ePub</a> | <a href="'+l+'">mobi</a>');</script></strong></p>
<p align="center">Powered by <a href=""></a> (<a href="">donate</a>)</p>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment