I got bored and decided to write myself a userscript to enable direct-downloads of any content. The script adds a "Download" button next to the "Add To" button, clicking it will download a zip file containing all the pages of the content.
You can get the userscript
here (tip: click the 'Raw' button). You'll need Tampermonkey (Chrome, Opera, and Safari), Greasemonkey (Firefox), or any similar projects in order to use it.
NOTE (
as of 28 May, 2015): The API seems to be returning no data for content, causing this script to be unable to download stuff. There's nothing that can be done about this on my end, but I'll continue to monitor the situation. Until then, please be aware that the downloading function of this script
will not work.
IMPORTANT! Because of the new changes happening to Fakku and the direction Jacob has decided to take the site in (read more about it
here and
here), I will no longer be maintaining this script or providing support for it. As of 12 June, 2015 this script is still broken due to the API not returning any results, and I will not be rewriting it to download content using an alternate method. Those who wish to download their favourite content while they still can should use
FakkuDL since that still works flawlessly. Anyone is free to use the code or any portion of it in any way they please. It is considered public domain.
Officially Supported Browsers/UserScript Extensions
- Google Chrome (with Tampermonkey)
Known Issues
- This script does not work properly on the latest Firefox (version 37.0 at time of writing) with Greasemonkey (version 3.1). The reason for this has been identified, but a suitable workaround has yet to be found.
Changelog
- 1.8 (08 May, 2015) - Added a try/catch block to the JSON parse call to prevent the script failing silently when the API is down or returns an invalid JSON string (thanks to Night Echo for pointing this out)
- 1.7 (02 May, 2015) - Fixed script ignoring the last page of everything it downloads.
- 1.6 (26 March, 2015) - Changed the script to use different FontAwesome icons when waiting to be clicked, while downloading, and when an error occurs.
- 1.5 (26 March, 2015) - Changed the generated name to be in "[Artist][Series]Title.zip" format rather than the old "Title.zip" format.
- 1.4 (18 March, 2015) - Add a trap to prevent a second download being started while one is already in progress.
- 1.3 (13 March, 2015) - Improve error handling and prevent downloads of books that haven't been purchased.
- 1.2 (13 March, 2015) - Fix a visual bug and allows the script to insert the button when the user isn't logged in.
- 1.1 (13 March, 2015) - The download process is now more responsive and reports progress and should also report any errors.
- 1.0 (11 March, 2015) - Initial release
If you want Greasemonkey/Tampermonkey to automatically check for updates, set the update URL to
https://gist.github.com/SirTony/f584311ba3e860c3f9f0/raw/Fakku.user.js.
NOTES:
- This userscript is only tested on the latest stable Google Chrome (40.0 at time of writing) and Tampermonkey (3.10.60 at time of writing). It's not guaranteed to work with any other browser or userscript loader, although it's highly likely it'll run smoothly on Safari and Firefox as well.
- Be cautious about downloading content with a lot of pages (such as the books or Are You Satisfied Now?), as the zip file will be stored and generated in-memory before downloading, which can cause the tab's memory usage to spike to 300MB - 500MB or more for content with a lot of pages. Generating a zip file this large in-memory will also be a CPU-intensive task, and you will have a large spike in CPU usage percent during the download.
- If you have not purchased a Fakku Books release, you will not see the download button on the page for it, this is because trying to download a book you haven't bought will just result in wasting time, resources, and bandwidth, and you'll end up with a .zip file with 200+ empty JPEGs. I don't own any of the books myself, so I don't know if this works properly for those who have purchased the digial edition of the books. If anyone would like to test this and let me know, I'll see what I can do if it's broken.
Anyone is welcome to fork the script and improve it. I just ask that you leave a comment here if you do to let others know.