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

Gerald 9402cbaf27 fix: remove Object.seal to options 5 years ago
.github 7fb67b221b chore: build and upload self-hosted version 5 years ago
scripts 7fb67b221b chore: build and upload self-hosted version 5 years ago
src 9402cbaf27 fix: remove Object.seal to options 5 years ago
test e8177755f1 fix: case sensitivity edge cases + hyphens in TLD 5 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 8 years ago
.eslintignore 397d4a0022 test: add tests for background utils 8 years ago
.eslintrc.js 33c468a03a update resources on script update/save and display errors (#879) 5 years ago
.gitignore 52aea7190f chore: transform yarn lockfile before commit 8 years ago
LICENSE be7d421dcf chore: add MIT LICENSE 8 years ago
README.md dab0c8b876 chore: create releases via GitHub Actions 5 years ago
gulpfile.js 7fb67b221b chore: build and upload self-hosted version 5 years ago
package.json 44d1ffbb60 v2.12.7.18 5 years ago
yarn.lock dab0c8b876 chore: create releases via GitHub Actions 5 years ago

README.md

Violentmonkey

Chrome Web Store Firefox Add-ons Microsoft Edge Add-on Gitter TravisCI

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

Announcing updates

Create a new updates.json so that self-hosted versions can be updated to the new version.

$ yarn update:selfHosted