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

tophf bc8ce02524 refactor: use Proxy for `browser`, embed it as module (#1345) 4 years ago
.github 8ac67742b1 chore: fix beta version on official release 5 years ago
scripts bc8ce02524 refactor: use Proxy for `browser`, embed it as module (#1345) 4 years ago
src bc8ce02524 refactor: use Proxy for `browser`, embed it as module (#1345) 4 years ago
test 121a926b81 speedup: GMxhr in FF + use FileReader for internal encoding (#1332) 4 years ago
.babelrc.js bf87eb6632 chore: enable babel loose mode 6 years ago
.browserslistrc 1e75a50fa3 chore: compile to Firefox >= 53 6 years ago
.editorconfig 11ce901e9c fix: load sync.current 9 years ago
.eslintignore 397d4a0022 test: add tests for background utils 9 years ago
.eslintrc.js 4c00c5c1bf fix: forbid {...objSpread} in injected/* (#1343) 4 years ago
.gitignore 9cc7a0e0bb chore: auto deploy AMO unlisted version 5 years ago
LICENSE be7d421dcf chore: add MIT LICENSE 9 years ago
README.md 77e5d58e2b doc: add Reddit badge 5 years ago
gulpfile.js e69b3c6c31 fix: use z-worker.js instead of inline worker (#1254) 4 years ago
jsconfig.json 8634c36917 chore: add jsconfig.json to help IntelliSense 5 years ago
package.json 5fe1a53ef2 v2.13.0.2 4 years ago
yarn.lock 6514f6e76f chore: update CodeMirror 5.62.1 4 years ago

README.md

Violentmonkey

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

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

More details can be found here.

Related projects

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