Free tool
Userscript header generator
Fill in a form and copy a ready ==UserScript== block. Every @match line is checked as you type.
// ==UserScript== // @name My userscript // @version 1.0.0 // @match https://example.com/* // @grant none // ==/UserScript==
How it works
From form to header in three steps.
- 01
Describe the script
Name, namespace, version and a one-line description.
- 02
Choose where it runs
Your
@matchlines, anything to exclude, the@grantfunctions and@run-at. - 03
Copy the header
Paste the block at the top of your script in Tampermonkey or Violentmonkey.
FAQ
Userscript headers, 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