Skip to content
Create a gist now

Instantly share code, notes, and snippets.

Embed URL


Subversion checkout URL

You can clone with
Download ZIP
Kindle It widget
l = ''+encodeURIComponent(window.location.href);
e = l+'&context=download&format=epub';
m = l+'&context=download&format=mobi';
function pop(){
h = 527;
w = 873;
wd =, 'KindleIt','scrollbars=no,menubar=no,height='+h+',width='+w+',resizable=yes,toolbar=no,location=no,status=no,top='+((screen.height/2)-(h/2))+',left='+((screen.width/2)-(w/2)));
document.write('<p style="text-align:center;font-weight:bold;"><a href="javascript:void(0);" onclick="pop()">Kindle It</a> | <a href="'+e+'" target"_blank">ePub</a> | <a href="'+m+'" target"_blank">mobi</a></p>');
document.write('<p style="text-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
Something went wrong with that request. Please try again.