暴力猴 https://violentmonkey.github.io/
|
|
преди 3 години | |
|---|---|---|
| .github | преди 3 години | |
| .husky | преди 3 години | |
| scripts | преди 3 години | |
| src | преди 3 години | |
| test | преди 3 години | |
| .browserslistrc | преди 6 години | |
| .editorconfig | преди 4 години | |
| .eslintignore | преди 4 години | |
| .eslintrc.js | преди 3 години | |
| .gitignore | преди 3 години | |
| .postcssrc.js | преди 3 години | |
| LICENSE | преди 8 години | |
| README.md | преди 3 години | |
| RELEASE.md | преди 3 години | |
| babel.config.js | преди 3 години | |
| gulpfile.js | преди 3 години | |
| jsconfig.json | преди 3 години | |
| package.json | преди 3 години | |
| yarn.lock | преди 3 години |
Violentmonkey provides userscripts support for browsers. It works on browsers with WebExtensions support.
More details can be found here.
A test build is generated automatically for changes between beta releases. It can be installed as an unpacked extension in Chrome and Chromium-based browsers or as a temporary extension in Firefox. It's likely to have bugs so do an export in Violentmonkey settings first. This zip is available only if you're logged-in on GitHub site. Open an entry in the CI workflows table and click the Violentmonkey-... link at the bottom to download it.
The following environment variables will be injected at compilation time for some features to work:
SYNC_GOOGLE_CLIENT_ID / SYNC_GOOGLE_CLIENT_SECRET - Google sync serviceSYNC_ONEDRIVE_CLIENT_ID / SYNC_ONEDRIVE_CLIENT_SECRET - OneDrive sync serviceMake 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/'.
To release a new version, we must build the assets and upload them to web stores.
# Build for normal releases
$ yarn build
# Build for self-hosted release that has an update_url
$ yarn build:selfHosted
See RELEASE for the release flow.