/upload-to-shimmie2

WebExtension adding a context menu option for images to upload to shimmie2.

Primary LanguageJavaScriptBSD 2-Clause "Simplified" LicenseBSD-2-Clause

This is just a dirty little hack to get this extension working with shimmie2

If you want to use this, you will have to build it yourself. Also, you most likely will not be able to install the resulting extension in FireFox since it is not signed. to install you will have to set xpinstall.signatures.required to false in about:config

BUT THIS IS AT YOUR OWN RISK!

Upload to Danbooru Web Extension

Add a page action and a context menu option (for images) to upload to cardboard box Danbooru. Replacement for bookmarklets.

Install

Usage

Page Action

Page action demo

Just visit any Danbooru-supported page, then click cardboard box icon in the address bar.

Context Menu

Context menu demo

Right click on any image, select "Upload to Danbooru".

Build

npm i
npm run build       # Firefox
npm run buildChrome # Chrome

Extension package will be located in web-ext-artifacts/ folder.

Run Tests

npm test

Install In Developer Mode

Firefox

  • Open about:debugging#/runtime/this-firefox
  • Click Load Temporary Add-on
  • Select src/manifest.json file

Chrome

Make sure you have built extension.

  • Open Chrome Settings
  • Select Extensions
  • Enable developer mode
  • Click Load Unpacked
  • Select dist/ folder

web-ext

Firefox (sandbox):

npx web-ext run

Android:

npx web-ext run --firefox-apk org.mozilla.fenix --target=firefox-android --android-device=DEVICE_ID

Replace DEVICE_ID with id of the device from adb devices.