Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 1.3 KB

README.md

File metadata and controls

25 lines (16 loc) · 1.3 KB

StashDB Userscripts

Installation requires a browser extension such as Violentmonkey / Tampermonkey / Greasemonkey.

You may remove any unwanted userscripts from the bundle by removing the line that starts with // @require that corresponds to the userscript you wish to remove.

Allow cors - Tamper Monkey

Known issues: If username/password access is enabled in stash, Firefox + Tampermonkey does not work, but Firefox + Violentmonkey works. Both work in Chrome

Developing

Each userscript source is split into two files:

  • src/header - Folder with userscript metadata blocks
  • src/body - Folder with main script code

Execute py build.py to combine source files and generate:

  • a userscript bundle to dist\local for local development
  • individual userscripts and a bundle to dist\public for release

Build output directories:

  • dist\local - A userscript bundle with @require headers that load the script code from local files (src/body)
  • dist\public - Userscripts with @require headers that load the script code from this github repo