Skip to content

Instantly share code, notes, and snippets.

View Maddosaurus's full-sized avatar

Matthias Maddosaurus

View GitHub Profile
@Maddosaurus
Maddosaurus / hb_all_books_dl.js
Last active November 26, 2017 13:48 — forked from kfatehi/hb_all_books_dl.js
Humble bundle book bundles - download all books at once
/*
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
this fork downloads all formats and does so without using jquery (since that didnt work for me)
note that if you are in chrome, chrome will not download the pdfs for you by default, to fix this
type “about:plugins” in the address bar and disable chrome's pdf viewer
*/
var pattern = /(MOBI|EPUB|PDF)$/i;