-
-
Save bl4ckb1rd/069d298bab70fc5ddd5352dfbe74d061 to your computer and use it in GitHub Desktop.
Revisions
-
graymouser created this gist
Feb 28, 2016 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,11 @@ /* After purchasing a humble book bundle, go to your download page for that bundle. Open a console window for the page and paste in the below javascript */ $('a').each(function(i){ if ($.trim($(this).text()) == 'MOBI') { $('body').append('<iframe id="dl_iframe_'+i+'" style="display:none;">'); document.getElementById('dl_iframe_'+i).src = $(this).data('web'); } });