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

tophf d586da4288 chore: remove `dataKey` leftover преди 3 години
.github 89395468cc chore: fix types for allIds преди 3 години
.husky 2493bfc6c0 WIP: migrate to Vue 3 преди 3 години
scripts 900e65f39c refactor: simpler/faster global wrapper преди 3 години
src d586da4288 chore: remove `dataKey` leftover преди 3 години
test 628c7587c0 refactor: simplify delayed content mode injection преди 3 години
.browserslistrc 1e75a50fa3 chore: compile to Firefox >= 53 преди 6 години
.editorconfig 966004e8fa chore: avoid git noise in package.json's last newline преди 4 години
.eslintignore b4be70a3d0 chore: simplify generation of test build's name преди 4 години
.eslintrc.js 628c7587c0 refactor: simplify delayed content mode injection преди 3 години
.gitignore 6a46b014b6 Merge remote-tracking branch 'LOCAL-main/master' into vue3 преди 3 години
.postcssrc.js 2493bfc6c0 WIP: migrate to Vue 3 преди 3 години
LICENSE be7d421dcf chore: add MIT LICENSE преди 8 години
README.md ff79823dee doc: add doc for release flow преди 3 години
RELEASE.md ff79823dee doc: add doc for release flow преди 3 години
babel.config.js d1a821c283 chore: compile vueleton with babel преди 3 години
gulpfile.js cc60d99d90 chore: fix manifest.json преди 3 години
jsconfig.json f81801c067 Merge remote-tracking branch 'LOCAL-main/master' into vue3 преди 3 години
package.json 40818d2539 v2.13.3.1 преди 3 години
yarn.lock fbca4870c2 refactor: deduplicate/optimize more преди 3 години

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

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