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

tophf 2c8795f3dc chore: fix Blob test in latest nodejs vor 3 Jahren
.github 9966f31435 fix: actually use github secrets vor 3 Jahren
scripts 2845669495 Implement PKCE for authentication (#1553) vor 3 Jahren
src 6b8161266e chore: update locale files from Transifex (#1564) vor 3 Jahren
test 2c8795f3dc chore: fix Blob test in latest nodejs vor 3 Jahren
.babelrc.js 9c94de280d fix: define safe globals via header injection (#1359) vor 4 Jahren
.browserslistrc 1e75a50fa3 chore: compile to Firefox >= 53 vor 6 Jahren
.editorconfig 966004e8fa chore: avoid git noise in package.json's last newline vor 4 Jahren
.eslintignore b4be70a3d0 chore: simplify generation of test build's name vor 4 Jahren
.eslintrc.js 29d93ba953 feat: enable modern JS syntax in vue templates (#1540) vor 3 Jahren
.gitignore 9cc7a0e0bb chore: auto deploy AMO unlisted version vor 5 Jahren
.postcssrc.js cc60d99d90 chore: fix manifest.json vor 3 Jahren
LICENSE be7d421dcf chore: add MIT LICENSE vor 8 Jahren
README.md e5c0fcd6d7 doc: add discord badge and deprecate gitter vor 3 Jahren
gulpfile.js cc60d99d90 chore: fix manifest.json vor 3 Jahren
jsconfig.json fe84b44471 chore: exclude `dist` from vscode intellisense vor 3 Jahren
package.json 4793e7ceb3 chore: update sharp (alpha bug is fixed) vor 3 Jahren
yarn.lock 848ea1bfe5 chore(deps): bump lodash from 4.17.19 to 4.17.21 (#1565) vor 3 Jahren

README.md

Violentmonkey

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

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

More details can be found here.

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

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

Building

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

Release

Just create a tag and push it.

When a tag is pushed to GitHub, a (pre)release will be created with assets built by GitHub Actions.

# Create a prerelease
$ yarn bump

# Create a patch release
$ yarn version --patch

Related Projects