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

Gerald dab0c8b876 chore: create releases via GitHub Actions 5 năm trước cách đây
.github dab0c8b876 chore: create releases via GitHub Actions 5 năm trước cách đây
scripts dab0c8b876 chore: create releases via GitHub Actions 5 năm trước cách đây
src c9aa4606dd chore: add icon for beta version 5 năm trước cách đây
test e8177755f1 fix: case sensitivity edge cases + hyphens in TLD 5 năm trước cách đây
.babelrc.js bf87eb6632 chore: enable babel loose mode 6 năm trước cách đây
.browserslistrc 1e75a50fa3 chore: compile to Firefox >= 53 6 năm trước cách đây
.editorconfig 11ce901e9c fix: load sync.current 9 năm trước cách đây
.eslintignore 397d4a0022 test: add tests for background utils 9 năm trước cách đây
.eslintrc.js 33c468a03a update resources on script update/save and display errors (#879) 6 năm trước cách đây
.gitignore 52aea7190f chore: transform yarn lockfile before commit 8 năm trước cách đây
LICENSE be7d421dcf chore: add MIT LICENSE 9 năm trước cách đây
README.md dab0c8b876 chore: create releases via GitHub Actions 5 năm trước cách đây
gulpfile.js dab0c8b876 chore: create releases via GitHub Actions 5 năm trước cách đây
package.json dab0c8b876 chore: create releases via GitHub Actions 5 năm trước cách đây
yarn.lock dab0c8b876 chore: create releases via GitHub Actions 5 năm trước cách đây

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