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

tophf 5637ffb338 v2.29.0 11 months ago
.github 3c28c45766 chore: update release-edge action 1 year ago
.husky 2493bfc6c0 WIP: migrate to Vue 3 3 years ago
scripts 66f3137ba9 chore: new webpack can omit redundant runtime 1 year ago
src 2fb1905934 chore: update locale files from Transifex (#2247) 11 months ago
test 33918fbfe5 fix: support extended language tags (#2224) 11 months ago
.browserslistrc 586ba5871d fix: bump minimum Chrome version to 61 2 years ago
.editorconfig 5a4d733780 chore: add final LF in package.json 2 years ago
.eslintignore 4c07327447 chore: enable eslint for entire scripts/* 1 year ago
.eslintrc.js ea79e2b012 fix: immediately open installer for a known distro 1 year ago
.gitignore f60960ae80 chore: load .env automatically 2 years ago
.postcssrc.js df584eff1f chore: drop plaid 2 years ago
LICENSE be7d421dcf chore: add MIT LICENSE 8 years ago
README.md b4bb593971 chore: use node version from package.json in readme 2 years ago
RELEASE.md 5a8cbb64b5 chore: shortened version is --minor 2 years ago
babel.config.js df584eff1f chore: drop plaid 2 years ago
gulpfile.js afe97f67e3 fix: add 64px icon to `gulpfile.js` and `manifest.yml` (#2242) 11 months ago
jsconfig.json f81801c067 Merge remote-tracking branch 'LOCAL-main/master' into vue3 3 years ago
package.json a82602dc2c v2.29.0 11 months ago
yarn.lock dd60bccff3 chore: update vm-types 1 year ago

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