Skip to content

Documentation: Create Tampermonkey Script Example for Client Integration #6

@matthewgoluba

Description

@matthewgoluba

We need a reference implementation for how to use the API from a client-side script (Tampermonkey). This will serve as the bridge between any external web tool and our Redaction API.

Note: The script implements a standalone client-side redaction engine (no API dependency) for immediate use. Can be extended to call the API if needed.

Tasks:

  • Create examples/tampermonkey-redactor.js
  • Script should:
    • Add a floating indicator/button to supported sites
    • Auto-redact on paste (configurable)
    • Manual redact via keyboard shortcut (Ctrl+Shift+R)
    • Display redaction mapping in settings panel
    • Allow copying the mapping to clipboard
  • Include configuration for API URL (localhost vs production) - Currently standalone, API integration optional
  • Document installation steps in script header

Supported Sites:

  • ChatGPT, Claude, Gemini, Copilot, Poe

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentationintegrationExternal integration examples

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions