Add a page action and a context menu option (for images) to upload to Danbooru. Replacement for bookmarklets.
Just visit any Danbooru-supported page, then click icon in the address bar.
Right click on any image, select "Upload to Danbooru".
npm i
npm run build # Firefox
npm run buildChrome # Chrome
Extension package will be located in web-ext-artifacts/
folder.
npm test
- Open
about:debugging#/runtime/this-firefox
- Click
Load Temporary Add-on
- Select
src/manifest.json
file
Make sure you have built extension.
- Open Chrome Settings
- Select Extensions
- Enable developer mode
- Click Load Unpacked
- Select
dist/
folder
Firefox (sandbox):
npx web-ext run
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
.