Chrome extension that intercepts mailto: links and copies the email address to the clipboard instead of opening the system email app.
- Open
chrome://extensions. - Enable Developer mode.
- Click Load unpacked.
- Select this folder.
- Captures
mailto:link activation in the capture phase. - Prevents the browser's default email-client launch.
- Copies just the email address, not query params like
subject=orbody=. - Shows a small toast confirming the copy action.
- Run
npm run build. - Find the release zip in
dist/.
The build script will:
- Regenerate
icons/icon-16.png,icons/icon-32.png,icons/icon-48.png, andicons/icon-128.pngfromlogo.svg. - Assemble a clean extension package.
- Create a versioned zip named like
dist/mailto-copy-v1.0.0.zip.
- Update the version in
manifest.json. - Run
npm run build. - Open
chrome://extensionsand useLoad unpackedon this folder for a final smoke test. - Verify the icon appears in the extensions page and the extension still copies
mailto:addresses correctly. - Open the Chrome Web Store Developer Dashboard.
- Upload the zip from
dist/. - Fill in or confirm the store listing details:
- Extension name and description
- At least one screenshot
- Category and language
- Privacy disclosures and single-purpose justification, if requested by the dashboard
- Submit the new item or updated version for review.
- Chrome Web Store expects a
128x128icon in the package; this repo now generates it automatically fromlogo.svg. - The store listing may also ask for larger promotional assets, which are separate from the extension package icons.