This userscript allows you to mass-upload images to imageboard sites running Gelbooru and Danbooru v1 & 2.
With the public Mass Uploader gone, a need arose for replacement. While many tried to mindlessly replicate the PHP-requiring setup of the old one, I took another approach and simply integrated the uploader into the Booru page itself, eliminating the need to bypass CORS.
After installation, the userscript adds a link to the mass uploader page in the booru’s menu:
The link leads to a (supposedly) non-existant location on the booru — /index.php?page=post&s=mass_upload
— and injects the uploader code there, effectively incorporating its abilities into the booru.
This removes the need to bother with manual cookie retrieval, upload URL management, and, of course, CORS limitation. Additionally it allows to use custom tags from your settings. I also fixed the irrelevant “Firefox version 3.6 to 38” requirement; all I had to do was add the polyfill for that one missing method.
Set tags based on image file names alone
option. Just leave the additional tags field empty.Set Title of each image to its original filename
option puts said filename component into the title field when uploading.image already exists
, linking to the existing duplicate on the booruimage was deleted
, when a duplicate of the image was uploaded before, but later removed (Gelbooru only)image is too big, too small, or corrupted
, when the booru refuses to accept the image for other reasons (Gelbooru only)If you see a booru that is not yet included in the header, you can put it there yourself following the pattern of the existing @include
lines.
In order to add Shimmie support I need docs on its API or at least its compatility mode with Danbooru.
Be sure to check out these Booru-related userscripts: