暴力猴 https://violentmonkey.github.io/
|
|
há 7 meses atrás | |
|---|---|---|
| .github | há 9 meses atrás | |
| .husky | há 3 anos atrás | |
| scripts | há 1 ano atrás | |
| src | há 7 meses atrás | |
| test | há 11 meses atrás | |
| .browserslistrc | há 2 anos atrás | |
| .editorconfig | há 2 anos atrás | |
| .eslintignore | há 1 ano atrás | |
| .eslintrc.js | há 11 meses atrás | |
| .gitignore | há 2 anos atrás | |
| .postcssrc.js | há 2 anos atrás | |
| LICENSE | há 8 anos atrás | |
| README.md | há 2 anos atrás | |
| RELEASE.md | há 2 anos atrás | |
| babel.config.js | há 2 anos atrás | |
| gulpfile.js | há 11 meses atrás | |
| jsconfig.json | há 3 anos atrás | |
| package.json | há 9 meses atrás | |
| yarn.lock | há 1 ano atrás |
Violentmonkey provides userscripts support for browsers. It works on browsers with WebExtensions support.
More details can be found here.
Join our Discord server:
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 serviceInstall Node.js and Yarn v1.x.
The version of Node.js should match "node" key in package.json.
# 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.