Make your own plugin for UnderScript without writing code. Fill in the fields, copy the result into Tampermonkey, and you have a plugin with a setting and a message to build on.
Loading the template...
Your plugin
Install it
- Install Tampermonkey and UnderScript. In Chrome, Edge and Opera, also allow Tampermonkey to run userscripts.
- Open the Tampermonkey dashboard and add a new script with the + tab.
- Replace everything in it with your plugin and save.
- Reload undercards. You should see a "Hello from my plugin!" message, and your plugin's settings under Plugins in the UnderScript settings.
What next
The comments in the file explain each part. When you want to do more, the Plugin API lists everything a plugin can do. The plugin template explains how to share your plugin and get it into the Community Plugins menu.
If you want to split your plugin across several files, or add editor autocomplete, code checking and automatic releases, the command-line generator sets up a full project and leaves out whatever you decline: npx github:UCProjects/Plugin-Generator