暴力猴 https://violentmonkey.github.io/

tophf c18b2df4ce chore: use numeric version for AMO beta (#1786) 2 år sedan
.github 728cbda56c chore: remove FUNDING 2 år sedan
.husky 2493bfc6c0 WIP: migrate to Vue 3 3 år sedan
scripts c18b2df4ce chore: use numeric version for AMO beta (#1786) 2 år sedan
src b3d9408524 fix: show vacuuming errors properly 2 år sedan
test e5f85bdee6 fix: guard `browser` + reuse more globals 3 år sedan
.browserslistrc 3e1904deef fix: require Firefox 57+ (#1759) 2 år sedan
.editorconfig 966004e8fa chore: avoid git noise in package.json's last newline 4 år sedan
.eslintignore b4be70a3d0 chore: simplify generation of test build's name 4 år sedan
.eslintrc.js ef65805c6a fix: revert `global` from eb4a8d0a 2 år sedan
.gitignore f60960ae80 chore: load .env automatically 2 år sedan
.postcssrc.js 2493bfc6c0 WIP: migrate to Vue 3 3 år sedan
LICENSE be7d421dcf chore: add MIT LICENSE 8 år sedan
README.md b4bb593971 chore: use node version from package.json in readme 2 år sedan
RELEASE.md 5a8cbb64b5 chore: shortened version is --minor 2 år sedan
babel.config.js d1a821c283 chore: compile vueleton with babel 3 år sedan
gulpfile.js daa360c9ca fix: remove 19px icon 2 år sedan
jsconfig.json f81801c067 Merge remote-tracking branch 'LOCAL-main/master' into vue3 3 år sedan
package.json 8604d570b4 v2.14.1 2 år sedan
yarn.lock aa950642f8 chore: update caniuse 2 år sedan

README.md

Violentmonkey

Chrome Web Store Firefox Add-ons Microsoft Edge Add-on Subreddit subscribers

Violentmonkey provides userscripts support for browsers. It works on browsers with WebExtensions support.

More details can be found here.

Join our Discord server:

Discord

Automated Builds for Testers

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.

Environment Variables

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 service
  • SYNC_ONEDRIVE_CLIENT_ID / SYNC_ONEDRIVE_CLIENT_SECRET - OneDrive sync service

Workflows

Development

Install 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/'.

Build

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

Release

See RELEASE for the release flow.

Related Projects