Add a page action and a context menu option (for images) to upload to Danbooru.
Upload to Danbooru Extension
Replacement for bookmarklets with better referrer handling.
Usage
=====
Upload single post via context menu:
* Find a picture on the web
* Right click on the image
* Click Upload to Danbooru
Upload post/batch via page action:
* Navigate to one of the supported sites
* Navigate to the image view page
* Click on the Danbooru (\"cardboard box\") icon on the extensions toolbar
Note: Although this extension allows you to upload images from any website, you should be careful to not to upload thumbnail/sample from sites not supported by Danbooru. List of the supported sites can be found here: https://danbooru.donmai.us/static/bookmarklet
Read more
Usage
=====
Upload single post via context menu:
* Find a picture on the web
* Right click on the image
* Click Upload to Danbooru
Upload post/batch via page action:
* Navigate to one of the supported sites
* Navigate to the image view page
* Click on the Danbooru (\"cardboard box\") icon on the extensions toolbar
Note: Although this extension allows you to upload images from any website, you should be careful to not to upload thumbnail/sample from sites not supported by Danbooru. List of the supported sites can be found here: https://danbooru.donmai.us/static/bookmarklet
Source Manifest.json
{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 3, "name": "Upload to Danbooru", "description": "Add a page action and a context menu option (for images) to upload to Danbooru.", "version": "3.4.0", "icons": { "16": "icons/icon16.png", "32": "icons/icon32.png", "48": "icons/icon48.png", "96": "icons/icon96.png", "128": "icons/icon128.png", "256": "icons/icon256.png" }, "options_ui": { "page": "options.html" }, "background": { "type": "module", "service_worker": "background.js" }, "permissions": [ "activeTab", "contextMenus", "storage" ], "commands": { "_execute_action": { "suggested_key": { "default": "Alt+Shift+D" } } }, "minimum_chrome_version": "97", "action": { "default_icon": { "16": "icons/icon16.png", "19": "icons/icon19.png", "32": "icons/icon32.png", "38": "icons/icon38.png" }, "default_title": "Upload to Danbooru", "show_matches": [ "https://x.com/*/status/*", "https://twitter.com/*/status/*", "https://twitpic.com/*", "https://www.pixiv.net/artworks/*", "https://www.pixiv.net/en/artworks/*", "https://sketch.pixiv.net/items/*", "https://*.fanbox.cc/posts/*", "https://www.fanbox.cc/@*/posts/*", "https://booth.pm/*/items/*", "https://*.booth.pm/items/*", "https://fantia.jp/posts/*", "https://www.patreon.com/posts/*", "https://skeb.jp/@*/works/*", "https://enty.jp/posts/*", "https://enty.jp/*/posts/*", "https://seiga.nicovideo.jp/seiga/im*", "https://seiga.nicovideo.jp/watch/mg*", "https://*.deviantart.com/art/*", "https://www.deviantart.com/*/art/*", "https://sta.sh/*", "https://nijie.info/view.php?*id=*", "https://nijie.info/view_popup.php?*id=*", "https://sp.nijie.info/view.php?*id=*", "https://sp.nijie.info/view_popup.php?*id=*", "https://www.tinami.com/view/*", "https://www.tinami.com/view/tweet/card/*", "https://picdig.net/ema/projects/*", "https://poipiku.com/*/*.html", "https://pawoo.net/@*/*", "https://pawoo.net/web/statuses/*", "https://baraag.net/@*/*", "https://baraag.net/web/statuses/*", "https://bsky.app/profile/*/post/*", "https://www.bilibili.com/opus/*", "https://www.bilibili.com/read/*", "https://t.bilibili.com/*", "https://m.weibo.cn/detail/*", "https://m.weibo.cn/status/*", "https://weibo.com/*/*", "https://www.weibo.com/*/*", "https://tw.weibo.com/*/*", "https://misskey.io/notes/*", "https://misskey.art/notes/*", "https://misskey.design/notes/*", "https://www.hentai-foundry.com/pictures/user/*", "https://www.newgrounds.com/art/view/*", "https://www.furaffinity.net/view/*", "https://inkbunny.net/s/*", "https://inkbunny.net/submissionview.php?*id=*", "https://www.artstation.com/artwork/*", "https://*.artstation.com/projects/*", "https://foundation.app/@*/*/*", "https://opensea.io/assets/*/*/*", "https://anifty.jp/creations/*", "https://anifty.jp/*/creations/*", "https://xfolio.jp/portfolio/*/works/*", "https://xfolio.jp/*/portfolio/*/works/*", "https://ci-en.net/creator/*/article/*", "https://ci-en.dlsite.com/creator/*/article/*", "https://arca.live/b/*/*", "https://*.lofter.com/post/*", "https://www.plurk.com/p/*", "https://*.fandom.com/wiki/Gallery?*file=*", "https://yande.re/post/show/*", "https://konachan.com/post/show/*", "https://boards.4channel.org/*/thread/*", "https://boards.4channel.org/*/res/*", "https://boards.4chan.org/*/thread/*", "https://boards.4chan.org/*/res/*", "https://gelbooru.com/index.php?*id=*", "https://safebooru.org/index.php?*id=*", "https://rule34.xxx/index.php?*id=*", "https://e621.net/posts/*", "https://www.instagram.com/p/*", "https://www.instagram.com/reel/*", "https://www.instagram.com/tv/*", "https://*.reddit.com/r/*/comments/*", "https://www.reddit.com/gallery/*", "https://www.reddit.com/media?url=*", "https://www.redditmedia.com/mediaembed/*", "https://vk.com/wall-*_*", "https://vk.com/photo-*_*", "https://vk.com/doc*_*", "https://m.vk.com/wall-*_*", "https://m.vk.com/photo-*_*", "https://medibang.com/picture/*/", "https://www.behance.net/gallery/*/*", "https://dotpict.net/works/*", "https://*.dotpict.net/works/*", "https://www.foriio.com/works/*", "https://galleria.emotionflow.com/*/*.html", "https://www.xiaohongshu.com/explore/*", "https://*.tumblr.com/post/*" ] }}
Read more