Generate secure random passwords (lowercase, uppercase, digits, and special characters ,.-) directly from the right-click context menu on password and text fields with Pass-Me-Pass.
- Right-click on password/text inputs or text areas to generate passwords
- Configurable length (8-80 characters, default: 21)
- Ensures at least one character from each character class
- Smart event detection for compatibility with modern web frameworks (React, Vue, Angular)
- Works with onkeyup, oninput, and onchange handlers
- Open
edge://extensionsin Microsoft Edge - Enable Developer mode (toggle at bottom-left)
- Click Load unpacked
- Select the root folder
C:\workspace\PassMePass
Once your extension is published in the Microsoft Edge Add-ons store:
- Visit your extension's page in the Edge Add-ons store
- Click Get to install the extension directly in your browser
- Configure the password length in the extension options
- Open the extension's details in
edge://extensions - Click Extension options (or Details → Extension options)
- Use the slider or number input to set desired length (8-80 characters)
- Click Save
PassMePass/
├── manifest.json # Extension manifest (MV3)
├── README.md # This file
├── src/ # Source code
│ ├── background.js # Service worker (menu & password generation)
│ ├── contentScript.js # Content script (field detection & filling)
│ ├── config.js # Centralized configuration constants
│ └── passwordGenerator.js # Password generation algorithm
├── ui/ # User interface
│ ├── options.html # Options page UI
│ ├── options.css # Options page styles
│ └── options.js # Options page logic
└── assets/ # Static assets
└── icons/ # Extension icons (16x16, 48x48, 128x128)
- Microsoft Edge browser (or Chromium-based browser)
- Basic knowledge of Chrome Extension APIs
- Clone or download this repository
- Make changes to source files in
src/orui/ - Reload the extension in
edge://extensionsafter changes - Test on various websites with different input field types
- src/config.js - Modify MIN_LENGTH, MAX_LENGTH, DEFAULT_LENGTH
- src/passwordGenerator.js - Change character sets or generation algorithm
- src/contentScript.js - Customize event detection and field targeting
- ui/options.html - Modify options page UI
- 100% Local: All password generation happens in-browser; no data leaves your device
- No Tracking: No analytics, no data collection
- Minimal Permissions: Only requests necessary permissions for functionality
- Open Source: Code is auditable (if you choose to publish as open source)
- Manifest Version: 3 (latest Chrome/Edge extension standard)
- Framework Support: Compatible with React, Vue, Angular via native value setters
- Event Detection: Smart detection of onkeyup, oninput, onchange handlers
- Double-Injection Guard: Prevents duplicate script loading
- Fallback Support: Dynamic injection for late-loading pages
Menu doesn't appear:
- Ensure you're right-clicking on a text/password input or textarea
- Check that the extension is enabled in
edge://extensions - Reload the page and try again
Password not filling:
- Some sites use custom input components that may not be detected
- Try reloading the extension after code changes
- Check browser console for errors
Framework-specific issues:
- The extension triggers multiple events (input, change, keyup) to ensure compatibility
- If a specific site doesn't work, report it as an issue
- 1.0.0 - Initial release with 8-80 character passwords, framework compatibility
- Toggle special character inclusion in options
- Copy to clipboard option
- Customizable character sets
- Per-site remembered preferences
- Keyboard shortcut support
- Multiple password strength presets
This project is licensed under the Unlicense. See the LICENSE file for details.
To create a ZIP file for Edge Add-ons store submission:
-
Open PowerShell in the extension root directory (
PassMePass) -
Run the packaging script:
.\scripts\package.ps1 # Or specify a version: .\scripts\package.ps1 -Version "1.0.1"
-
The packaged ZIP will be created in the
distfolder (e.g.,dist\PassMePass-v1.0.1.zip) -
Upload this ZIP to the Microsoft Edge Add-ons Partner Center
For quick development tasks, use:
.\scripts\dev.ps1This menu-driven script lets you package, validate, and inspect the extension easily.
This repository uses Deno for running the password generator tests.
Run tests (PowerShell):
# Install Deno if needed
irm https://deno.land/install.ps1 -useb | iex
# From repo root
cd C:\workspace\PassMePass
deno test --allow-readOr use the Deno task (if your editor supports it):
deno task test:passwordNotes:
- The Deno test harness evaluates
src/config.jsandsrc/passwordGenerator.jsin a sandbox and checks that generated passwords include lowercase, uppercase, digits, and special characters.