Quickly grabbing epub downloads from AO3 #
Go to your usual browser and create a bookmark (right-click on the browser toolbar or choose manage bookmarks in the menu). I named mine epub and saved it to my browser toolbar for easy access. Copy+paste this code as the link:
javascript:(function()
{
const a = [...document.querySelectorAll('a')] .find(el =>
el.textContent.trim().toLowerCase() === 'epub');
if(!a)
{ alert("Couldn't find the EPUB link (by label) on this page.");
return;
}
a.click(); })();
That’s literally it. All it does is look inside the AO3 page to find the first epub link and open it for you to save to downloads.
You can also set up an automatic watch of your download folder to grab any epub-type files and transfer them to your dropbox folder for your kobo. There are a bunch of ways to do that from batch jobs to open source apps to paid apps.