Moved to a new repo
This script won't be updated here anymore
(Another) userscript for uploading to Danbooru.
- Install Tampermonkey extension, it's available for Firefox, Safari and Chromium-based browsers.
- Download the script.
- An installation prompt will appear. Accept the installation.
The userscript is confirmed to work only on latest Firefox + latest Tampermonkey. Other browsers and userscript managers are not tested.
The userscript is intended to be used along with - not insted of - the browser extension.
Unlike the extension, which aims to be lightweight and universal, this one does the opposite by supporting only very few sites and including specific hacks for them.
-
Pixiv
- Adds the upload button on post thumbnails
- Extension's context menu action uploads only the first image in the set
- Works with the extension's address bar action, but each post has to be opened in new tab
-
Twitter
- Adds the upload button near bookmark button on each tweet
- Works with the extension's address bar action, but each tweet has to be opened in new tab
-
Nijie
- Adds the upload button on post thumbnails
- Extension's context menu action uploads only the first image in the set
- Works with the extension's address bar action, but each post has to be opened in new tab
-
Fantia
-
post_content_photo
type- Adds the upload button to full-size image page and post thumbnails
- Sends the direct image url with post url as referer
- Somewhat works with the extension (danbooru doesn't recognize the referer, full size image have to be opened manually)
-
album_image
type- Adds the upload button on the image in the article
- Sends the direct image url with post url as referer
- Doen't work (and never will) with the extension
-
download
type- Adds the upload button near the download button (e.g. mp4 video)
- Sends the direct media url with post url as referer
- Same as the previous, doen't work with the extension
-
-
Ci-En
- Adds the upload button to post thumbnails
- Not supported by Danbooru yet (i.e. copy artist commentary manually)
-
Misskey
- Adds the upload button to reactions row on each tweet
- Works with the extension's address bar action, but each tweet has to be opened in new tab