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

Gerald a7a1d1b8a2 v2.12.11.2 5 лет назад
.github 8ac67742b1 chore: fix beta version on official release 5 лет назад
scripts caa4e144a1 chore: allow new language from Transifex 5 лет назад
src bb5ba2e1b2 fix: abort GM_xmlhttpRequest on page redirect 5 лет назад
test c016877ff0 chore: add tests for getResourceText, GM_getResourceURL (#1224) 5 лет назад
.babelrc.js bf87eb6632 chore: enable babel loose mode 6 лет назад
.browserslistrc 1e75a50fa3 chore: compile to Firefox >= 53 6 лет назад
.editorconfig 11ce901e9c fix: load sync.current 9 лет назад
.eslintignore 397d4a0022 test: add tests for background utils 9 лет назад
.eslintrc.js 33c468a03a update resources on script update/save and display errors (#879) 6 лет назад
.gitignore 9cc7a0e0bb chore: auto deploy AMO unlisted version 5 лет назад
LICENSE be7d421dcf chore: add MIT LICENSE 9 лет назад
README.md 77e5d58e2b doc: add Reddit badge 5 лет назад
gulpfile.js 714636dabf fix: restore semi-transparency of icon16w.png 5 лет назад
package.json a7a1d1b8a2 v2.12.11.2 5 лет назад
yarn.lock 43721f6bb0 chore: update CodeMirror 5.60.0 5 лет назад

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