Violentmonkey provides userscripts support for browsers. It works on browsers with WebExtensions support.
More details can be found here.
Make sure Node.js greater than v10.0 and Yarn v1.x is installed.
# Install dependencies
$ yarn
# Watch and compile
$ yarn dev
Then load the extension from 'dist/'.
After a new (pre)release is created, we should build the project and upload to web stores.
# Build for normal releases
$ yarn build
# Build for self-hosted release that has an update_url
$ yarn build:selfHosted
$ yarn bump
$ yarn version --patch
Create a new updates.json
so that self-hosted versions can be updated to the new version.
$ yarn update:selfHosted