Skip to content
 
 

Repository files navigation

Violentmonkey

ViolentMonkey — AddDomain Fork

Add any domain to a script's @match rules in one tap — directly from the popup or dashboard.

CI Upstream Platform


What This Fork Adds

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

Shorthand Expansion

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.


ScreenShots Screenshot_20260626-151626_Spark Launcher Screenshot_20260626-153758_Spark Launcher Screenshot_20260626-153833_Spark Launcher Screenshot_20260626-153840_Spark Launcher

Installation

Download a pre-built build

  1. Go to Releases → pick the latest
    • V2.x.x — stable build
    • V2.x.x-beta — beta build (based on upstream beta)
  2. Download the .zip artifact
  3. In Firefox: open about:debuggingLoad Temporary Add-on → pick any file inside the zip

Build from source

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/

How the CI Works

Every push to master automatically:

Checkout → Apply Patches → Install → Test → Build → Upload Artifact → Create Release
  • Patch step runs apply_patches_addmatch.py before anything else
  • Artifact & release name is derived from package.json version + beta flag
  • Releases are created/updated automatically — no manual tagging needed

Credits

Built on top of violentmonkey/violentmonkey.
All original license terms apply — see LICENSE.

About

Violentmonkey fork with Add domain to With "+" button, dashboard panel, shorthand expansion on save, and wildcard TLD support.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Contributors

Languages