Skip to content

Latest commit

 

History

History
15 lines (9 loc) · 1.37 KB

File metadata and controls

15 lines (9 loc) · 1.37 KB

ficlet

Ficlet is a bookmarklet to download stories from fanfiction.net and fictionpress.com, and compile and save them into an .epub file. Both the mobile and desktop versions of the sites are supported.

To use ficlet, save this code as the URL of a bookmark:

javascript:(function(){var%20e="https://rawgithub.com/fb39ca4/ficlet/master/";var%20t=document.createElement("script");t.src=e+"zip.js";t.type="text/javascript";document.body.appendChild(t);var%20n=document.createElement("script");n.src=e+"deflate.js";n.type="text/javascript";document.body.appendChild(n);var%20r=document.createElement("script");r.src=e+"async.js";r.type="text/javascript";document.body.appendChild(r);var%20i=document.createElement("script");i.src=e+"filesaver.js";i.type="text/javascript";document.body.appendChild(i);var%20s=document.createElement("script");s.type="text/javascript";s.src=e+"ficlet.js";document.body.appendChild(s)})()

Then, open the bookmark while veiwing a fanfiction.net or fictionpress.com story. You can see the progress in the window/tab title, and the download will automatically start after everything is downloaded and compressed.

Tested on Firefox 25, Chrome 30, and Internet Explorer 10 (Desktop and Metro).

If the script appears to stop working when the title bar is displaying [Compressing], clear your browser cache and reload the webpage.

Todo: Cover images, more metadata.