Upstream Violentmonkey has no built-in way to add a domain to a script's @match without manually editing its header. This fork fixes that.
| Feature | Where |
|---|---|
| "+" button — add current tab's domain to any script | Popup |
| Domain input panel — type or paste a domain, hit Add | Dashboard |
| "Current tab" button — pre-fills last popup tab's domain | Dashboard |
| Shorthand expansion — commas & bare domains auto-expanded on save | Editor |
Wildcard TLD — generates example.* alongside example.com |
Both |
You no longer need to write out full @match boilerplate. Type shorthand — it's expanded automatically when you save.
// Before saving → After saving
// @match example.com // @match *://example.com/*
// @match example.com,xyz.* // @match *://example.com/*
// @match *://xyz.*/*Already-valid patterns (containing
://and a path) are left exactly as-is.
- Go to Releases → pick the latest
V2.x.x— stable buildV2.x.x-beta— beta build (based on upstream beta)
- Download the
.zipartifact - In Firefox: open
about:debugging→ Load Temporary Add-on → pick any file inside the zip
git clone https://github.com/BlazeFTL/ViolentMonkey_AddDomain
cd ViolentMonkey_AddDomain
pnpm i
python3 apply_patches_addmatch.py # apply fork patches
pnpm build # output → dist/Every push to master automatically:
Checkout → Apply Patches → Install → Test → Build → Upload Artifact → Create Release
- Patch step runs
apply_patches_addmatch.pybefore anything else - Artifact & release name is derived from
package.jsonversion + beta flag - Releases are created/updated automatically — no manual tagging needed
Built on top of violentmonkey/violentmonkey.
All original license terms apply — see LICENSE.



