Script Summary: modifies Hentai-Foundry.com gallery pages to produce direct links to images, permitting batch downloading.
Based on my earlier Fotobilder Downloader, this userscript alters the links in Hentai Foundry galleries so that they point directly to the images. This allows you to use a downloader such as DownThemAll to grab all the images in the gallery at once.
This script assumes that images are JPGs; other image formats don't work. So far as I can tell, a solution would require requesting the HTML file for each image and extracting the image format data. No fun.
Fixed filename harvester bug. It should now work on names with fewer than four digits.