Booru-mass-uploader

Booru mass uploader

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:

screenshot: booru 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.

screenshot: index.html

Other improvements

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.

Help wanted

In order to add Shimmie support I need docs on its API or at least its compatility mode with Danbooru.

See also

Be sure to check out these Booru-related userscripts: