-
Notifications
You must be signed in to change notification settings - Fork 0
README
github-actions[bot] edited this page Nov 8, 2025
·
1 revision
This directory contains screenshots for the ModHead documentation.
| File | Description | Used In |
|---|---|---|
01-options-page-empty.png |
Empty options page (initial state) | Getting-Started.md |
02-rule-editor-empty.png |
Empty rule editor modal | Getting-Started.md |
03-rule-single-header.png |
Rule card with single header | Getting-Started.md |
04-rule-card.png |
Rule card with multiple headers | - |
05-multiple-rules.png |
Options page with multiple rules | Home.md |
06-url-pattern-matching.png |
Rule with different URL match types | Getting-Started.md |
08-variable-editor-empty.png |
Empty variable editor modal | Variables.md |
| File | Description | Used In |
|---|---|---|
07-variables-section.png |
Variables section with multiple variables | Variables.md |
09-variable-in-header.png |
Variable usage in header values | Variables.md |
10-sensitive-variable-masked.png |
Sensitive variable with masked value | Variables.md |
| File | Description | Used In |
|---|---|---|
11-auto-refresh-config.png |
Auto-refresh configuration interface | Auto-Refresh-Tokens.md |
12-jwt-refresh-example.png |
JWT token with auto-refresh setup | Examples.md |
13-oauth-example.png |
OAuth 2.0 configuration example | Examples.md |
| File | Description | Used In |
|---|---|---|
14-multiple-headers.png |
Rule with multiple custom headers | Getting-Started.md |
15-cors-headers.png |
CORS headers configuration | Examples.md |
Screenshots are automatically generated using:
npm run screenshotsThis command:
- Builds the extension (
npm run build) - Runs the screenshot generation script (
scripts/generate-screenshots.ts) - Saves all screenshots to this directory
The generation script uses Puppeteer to:
- Launch Chrome with the extension loaded
- Create various configurations (rules, variables, auto-refresh)
- Capture screenshots of different UI states
- Save them as PNG files
- Resolution: 1280x800
- Format: PNG
- Theme: Light mode only
- Browser: Chrome/Chromium (via Puppeteer)
If the UI changes and screenshots need to be updated:
- Make your changes to the extension
- Run
npm run screenshotsto regenerate all screenshots - Review the updated screenshots
- Commit the changes
- Screenshots are version controlled and should be updated when significant UI changes occur
- The GitHub Action workflow (
.github/workflows/sync-wiki.yml) automatically syncs this directory to the GitHub Wiki - All screenshots use English language interface
- Screenshots are captured in headless mode for consistency