Free tool
Userscript @match pattern tester
Paste your @match lines and the URLs you care about. See exactly which pages each pattern runs on, using the same rules Chrome and Tampermonkey use.
| Pattern | https://example.com/ | https://shop.example.com/cart?id=4 | https://news.ycombinator.com/item?id=1 | http://example.com/ |
|---|---|---|---|---|
| https://*.example.com/* | Matches | Matches | No match | No match |
| https://news.ycombinator.com/item* | No match | No match | Matches | No match |
How it works
From patterns to answers in three steps.
- 01
Paste patterns
One per line. The
// @matchprefix is optional. - 02
Add URLs
Real pages you want the script on, and a few you don't.
- 03
Read the grid
Fix any pattern that matches too much or too little.
FAQ
@match patterns, explained.
Rather not write it by hand?
ScriptPanda writes the userscript from a description. Open it on the page, say what you want, and it builds the tool into the page, then fixes it when the site changes.
Try ScriptPanda