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

tophf 8fbf6ec29a feat: show Violentmonkey version in popup 4 yıl önce
.github e1ae02074c fix: downgrade to checkout@v1 as v2 can't fetch tags 4 yıl önce
scripts d5e086f5b1 fix: checkout@v2 bug with annotated tags 4 yıl önce
src 8fbf6ec29a feat: show Violentmonkey version in popup 4 yıl önce
test 9c94de280d fix: define safe globals via header injection (#1359) 4 yıl önce
.babelrc.js 9c94de280d fix: define safe globals via header injection (#1359) 4 yıl önce
.browserslistrc 1e75a50fa3 chore: compile to Firefox >= 53 6 yıl önce
.editorconfig 966004e8fa chore: avoid git noise in package.json's last newline 4 yıl önce
.eslintignore 7ed25dfcab chore: enable eslint for build scripts 4 yıl önce
.eslintrc.js efd6a4d01a fixup: add the missing "?.", remove spread polyfill 4 yıl önce
.gitignore 9cc7a0e0bb chore: auto deploy AMO unlisted version 5 yıl önce
.postcssrc.js 07233c9b61 feat: option for ui theme auto/dark/light 4 yıl önce
LICENSE be7d421dcf chore: add MIT LICENSE 8 yıl önce
README.md 18e8edcea0 doc: add docs for env vars 4 yıl önce
gulpfile.js 7ed25dfcab chore: enable eslint for build scripts 4 yıl önce
jsconfig.json 8634c36917 chore: add jsconfig.json to help IntelliSense 4 yıl önce
package.json cde32dcfdb v2.13.0.10 4 yıl önce
yarn.lock 07233c9b61 feat: option for ui theme auto/dark/light 4 yıl önce

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.

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

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

Related Projects