Bash Script Skeleton Generator - Online Template
Get a safe, ready‑to‑use Bash script template with argument parsing, error handling, and help function. Start scripting faster.
UD5 Toolkit
Generate a complete userscript skeleton with metadata, grants, and ready-to-use code templates.
Define which pages the script should run on.
Select the GM_* APIs your script needs.
@name, @match, @grant) that tell Tampermonkey when and how to execute the script.@match uses a strict pattern-matching syntax defined by Chrome's Match Patterns specification — it's more predictable and secure. @include is the older Greasemonkey-style glob pattern that's more flexible but less strict. Tampermonkey recommends using @match whenever possible. Our generator defaults to @match patterns for better compatibility and security.@grant declares which special GM_* APIs your script needs access to (like GM_setValue for storage or GM_xmlhttpRequest for cross-origin requests). This is a security feature — scripts can only use the APIs they explicitly request. If no @grant is specified, the script runs in the page's context without access to GM APIs. You can also use @grant none explicitly.document-start executes before any page scripts or DOM is loaded — ideal for blocking content or polyfills. document-end fires right after the DOM is ready but before images/iframes finish loading. document-idle (the default) waits until the page is fully loaded and idle — best for most DOM manipulation tasks. Choose based on when your script needs to interact with the page.console.log() for debugging output. For advanced debugging, you can add debugger; statements in your code to set breakpoints. The GM_log() function also writes to Tampermonkey's internal log if granted.@require directive to include external libraries. For example, add // @require https://code.jquery.com/jquery-3.7.1.min.js to your metadata block. The library will be loaded before your script runs. You can add multiple @require lines for different libraries. Our generator's "Advanced Options" section lets you add any number of @require URLs.@connect whitelists domains that your script can make requests to via GM_xmlhttpRequest. Without it, cross-origin requests to domains not listed in @connect will fail. You can specify exact domains like api.example.com or use wildcards like *.example.com. This is a security measure to prevent malicious scripts from exfiltrating data to unknown servers.@match pattern to all sites.'use strict'; at the top of your code to catch common JavaScript errors early.(function(){ ... })(); to avoid polluting the global namespace.GM_xmlhttpRequest, always handle both onload and onerror callbacks for robust error handling.@version updated so Tampermonkey can notify users of updates when using @updateURL.Get a safe, ready‑to‑use Bash script template with argument parsing, error handling, and help function. Start scripting faster.
Enter a router's MAC address or serial and generate the common default WPA passphrase for major ISP brands. Educational purpose only.
Pick colors for the shadcn/ui design system and generate the complete CSS variable theme file. Copy into your project.
Paste your CSS and see warnings for properties that have limited browser support. Links to CanIUse. Modernize safely.
Format a list of Q&A pairs and export as a CSV ready for Anki import. Simple line‑based template. Local.
Style underlines, overlines, and strike-throughs with colors, wavy styles, and thickness. Modern CSS text‑decoration.
Generate a random medieval occupation with a short description. For NPCs or historical curiosity. Local list.
Generate a hardboiled film noir plot with a detective, a dame, and a McGuffin. Great for creative writing prompts.
Generate a grand, aristocratic title like 'Duke of Waffleshire'. Perfect for silly fun or RPG characters. Local.
Design a button or card that glows on hover. Adjust shadow color, spread, and transition. Copy the CSS. Rich UI.
Create a realistic letterpress (debossed) text effect using CSS text‑shadow and background. Adjust depth and light direction. Copy code.
Generate a realistic‑sounding dinosaur name and see a fun description. Perfect for kids and writers.
See how many tabs you have open and estimate memory usage based on navigator object. Fun productivity check.
Generate random but realistic‑looking data arrays (users, products, orders) with typos and missing fields. For test robustness.
Create a customizable checkerboard or grid background using pure CSS gradients. Adjust cell size and colors. Copy the code.
Create a custom HTML/CSS progress bar with percentage, colors, and animation. Copy the code. Modern UI element.
Fill in a few details and get a polished resignation letter. No data stored. Instant copy or print.
Paste plain text and turn it into a nested outline using indent levels or Markdown headings. Great for planning.
Upload a small pixel art image and get a CSS grid layout that recreates it using divs. Novelty developer tool.
Convert short text into a black‑and‑white Braille bump image ready for embossing. Educational and inclusive.
Generate a random, somewhat meaningful song lyric line. Write your own hit with AI‑free randomness. All local.
Generate a realistic‑sounding exoplanet designation (e.g., Kepler‑442b) and a sci‑fi planet description. For worldbuilding.
Paste a raw cookie string and see a formatted key‑value table. Debug session cookies and understand flags. Runs in browser.
Create a realistic‑looking fake tweet with any name, handle, text, likes, and retweets. Just for laughs. All local canvas.
Generate magic squares of odd order (3x3, 5x5, …). See the sum constant and verify rows, columns, diagonals. Educational math toy.
Record your screen, application window, or browser tab directly using the Screen Capture API. Download as WebM. All local.
One click to get a hilarious excuse for being late, missing homework, or not doing chores. Pure comedy.
Design a realistic-looking fake receipt with custom store name, items, and total. For jokes and gags. No real transaction.
Click to generate a random haiku from natural language templates. Pure algorithmic poetry fun. Copy and share.
Generate a QR code with a custom text label below or above. Perfect for printed signs. All generated locally as a single image.