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

tophf 07233c9b61 feat: option for ui theme auto/dark/light 4 ani în urmă
.github 4dddc9f60b chore: put the beta warning on its own line 4 ani în urmă
scripts 07233c9b61 feat: option for ui theme auto/dark/light 4 ani în urmă
src 07233c9b61 feat: option for ui theme auto/dark/light 4 ani în urmă
test 9c94de280d fix: define safe globals via header injection (#1359) 4 ani în urmă
.babelrc.js 9c94de280d fix: define safe globals via header injection (#1359) 4 ani în urmă
.browserslistrc 1e75a50fa3 chore: compile to Firefox >= 53 6 ani în urmă
.editorconfig 11ce901e9c fix: load sync.current 8 ani în urmă
.eslintignore 397d4a0022 test: add tests for background utils 8 ani în urmă
.eslintrc.js 9c94de280d fix: define safe globals via header injection (#1359) 4 ani în urmă
.gitignore 9cc7a0e0bb chore: auto deploy AMO unlisted version 4 ani în urmă
.postcssrc.js 07233c9b61 feat: option for ui theme auto/dark/light 4 ani în urmă
LICENSE be7d421dcf chore: add MIT LICENSE 8 ani în urmă
README.md 18e8edcea0 doc: add docs for env vars 4 ani în urmă
gulpfile.js e69b3c6c31 fix: use z-worker.js instead of inline worker (#1254) 4 ani în urmă
jsconfig.json 8634c36917 chore: add jsconfig.json to help IntelliSense 4 ani în urmă
package.json 07233c9b61 feat: option for ui theme auto/dark/light 4 ani în urmă
yarn.lock 07233c9b61 feat: option for ui theme auto/dark/light 4 ani în urmă

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