Get it for Firefox · Get it for Chrome (also Brave, Vivaldi, and Edge with Allow extensions from other stores)
Browser extension for Firefox and Chrome/Chromium that fills sign-up forms with a fake identity and a disposable e-mail address for the site.
Demo video (32 s): docs/media/aliasfill-demo.mp4. The shop in the demo is fictional; screenshots for the stores are in docs/media.
extension/ holds the extension, for Firefox and Chrome/Chromium (Edge, Brave, Vivaldi…) from one codebase. It fills sign-up forms with a fake identity (name, address, phone, birth date, password, test card) and a disposable e-mail address for the site. It started inside Throwaway Mail, a self-hosted disposable address server, and now lives here on its own.
It works without a Throwaway Mail server: the address can come from your own catch-all domain, plus-addressing on your mailbox, or an alias service you already use. Only a Throwaway Mail server reads the mail it receives, so verification-code autofill is available with Throwaway Mail only; with any other provider you read the code in your mailbox.
Pick one in the extension settings (⚙ in the popup header) under Where do addresses come from?. Until one is set up, identities use @example.com addresses and nothing leaves the browser (badge LOCAL).
| Provider | Creates the address with | Settings | Self-hosted URL | Codes |
|---|---|---|---|---|
| No service (default) | nothing: built in the browser, netflix.k3x9q2@your-domain or you+netflix@gmail.com |
catch-all domain + pattern, or your own address | — | no |
| Throwaway Mail | POST /v1/addresses (Bearer API key) |
server, API key, domain (fixed, or random/rotating among a chosen list), expiry, max mails | yes | yes |
| SimpleLogin | POST /api/alias/random/new?hostname=<site> (Authentication: <key>) |
API key | yes | no |
| addy.io | POST /api/v1/aliases (Bearer token) |
API token, alias domain | yes | no |
| Firefox Relay | POST /api/v1/relayaddresses/ (Authorization: Token <key>) |
API key | no | no |
| Fastmail Masked Email | JMAP MaskedEmail/set on api.fastmail.com |
API token with the Masked Email scope | no | no |
| Forward Email | POST /v1/domains/<domain>/aliases (Basic auth, token as user name) |
API token, domain | yes | no |
| DuckDuckGo experimental | POST quack.duckduckgo.com/api/email/addresses (Bearer token) |
token | no | no |
- No service. Catch-all domain: a domain whose mail server accepts any local part (Cloudflare Email Routing catch-all, Fastmail/Proton/Migadu catch-all…). The pattern takes
{site}(the site's name,netflixforwww.netflix.com,bbcforshop.bbc.co.uk) and{random}(6 characters); default{site}.{random}. Plus-addressing:you+netflix@gmail.com, supported by Gmail, Outlook, Proton, Fastmail and most providers. Nothing is sent anywhere; Preview an address shows one. - DuckDuckGo has no public API. The extension calls the endpoint DuckDuckGo's own extension uses (also used by Bitwarden's generator); it can break without notice, and there is no read-only endpoint, so Test connection only checks that a token is present. The token is the one DuckDuckGo's extension keeps after you sign in to Email Protection.
- Every provider gets the site's host name (as
hostname,generated_for,forDomain, label or description depending on the API) so you can find the alias later; Throwaway Mail also gets the fake name as the label. - Test connection calls a read-only endpoint (
/api/user_info,/api/v1/account-details,/api/v1/profiles/, the JMAP session,/v1/account,/v1/auth/me). Save stores the settings in the extension's local storage and makes the provider active.
The adapters live in extension/providers/*.js; each registers { id, name, codes, fields, configured, createAlias, testConnection, waitForCode? } with extension/providers/index.js, which also stores settings (aliasProvider, providerSettings; Throwaway Mail keeps its tm* keys) and builds the address object. Settings saved by the extension when it was still part of Throwaway Mail (a server and API key) select that provider.
- Fill form. A fresh identity and an address for the open site from the active provider, filled in one click. One address per site and identity; filling again on the same host reuses it. New identity for every new site by default.
- Automatic prompt. On a page that looks like a sign-up form (new-password field, two password fields, or an e-mail field with sign-up wording), a small card offers Generate and fill. Don’t offer on this site again remembers the host.
- Passwords that fit the site. The 20-character password is typed as is when the form accepts it. If a field's
maxlength,minlengthorpatternrefuses it, the filler types the closest accepted variant (cut to length keeping an upper case letter, a lower case letter, a digit and a symbol, or letters and digits only) and the identity keeps that password, instead of skipping the field. - Identities that fit the country. Australia, Austria, Belgium, Canada, France, Germany, Ireland, Italy, the Netherlands, Portugal, Spain, Switzerland, the United Kingdom or the United States (or random), with common names of that country. See Fake identities.
- History per site. The History tab lists the identity used on each site (name, address, password, date): search, Copy, Reuse (the next fill on that site keeps it) and Delete one entry or Clear history. Kept in
storage.localonly, for 90 days by default (Keep the history of identities per site in the settings: 7 days to 1 year, until deleted by hand, or no history at all). - In your language. English, French, German and Spanish, following the browser's language (
extension/_locales;node scripts/i18n.mjscollects the English texts from the code,tests/i18n.test.tschecks every language is complete). - Right-click menu. Insert a disposable address here on any editable field reuses this site's address (or creates one) and inserts it.
- Bitwarden mode. Leaves e-mail and password to Bitwarden (its generator, its vault) and fills the rest.
- Nothing is ever submitted.
- Verification code. The popup shows a Verification code panel: Wait for code long-polls
GET /v1/addresses/:id/code(up to 2 × 55 s, the popup must stay open), then Copy or Paste. Mails with only a confirmation link show the link. - Code pasted automatically. After a fill, the page waits for the mail (through the background script, 20 s long polls, up to 15 min) and pastes the code as soon as it arrives, even after the site moves to its "enter the code" page.
- One-time-code autofill. On a one-time-code field (
autocomplete="one-time-code", a name like code/otp/verification/2fa/pin, a 4–8 character numeric field, or 4–8 one-digit boxes), the extension looks up this site's address and its latest code from the last 15 min, then shows a Fill code 123456 chip (or fills it directly with Fill one-time-code fields directly). Detection is inextension/otp.js. - Toolbar badge. The active site's address unread count, or a red
!if a leak was detected. - Address format and defaults follow your account (Account → New addresses); the extension options New addresses expire after / stop after override them when set.
With any other provider these controls are hidden: the popup shows no code panel, the settings explain why, and the content script never polls.
Each identity has a title, a first and last name, a username derived from the name, a company, an address (street, second line, postcode, town, region or state, country), a phone number, a birth date (18 to 75 years old) and a 20-character password.
- Title and first name agree. Given names are listed by gender in each country sheet; the title (Mme, Herr, Mr…) is one of that gender's, and a locked first name or title keeps it. A title or gender
<select>or radio group (Mme ○ M. ○, Female ○ Male ○, even with the input hidden behind a styled label) is matched in the local language or in English (Mrs, Ms, Female…); Undo restores the previous choice. - Real towns, never anyone's address. Towns, postcodes and regions are real (so sites that check the postcode against the town accept them): full postcodes for the United Kingdom (postcodes.io, ONS data) and, for the Netherlands and Portugal, real postcode, street and house number together (PDOK BAG data, geoapi.pt CTT data), as sites there check them against each other. Irish addresses are real too, with their Eircode (OpenStreetMap data). Elsewhere the street is a common one for the country and the house number is random. The name is drawn on its own, so no address is tied to the people who live there.
- Phone numbers reserved for fiction where they exist. Where the country's regulator keeps a range out of service for films and fiction, the phone comes from it (source noted in the sheet). Elsewhere it is a random mobile number in the country's format: it is not reserved and may belong to a real subscriber (the popup says so on the phone).
| Country | Phone range | Source |
|---|---|---|
| France | 06 39 98 00 00 – 06 39 98 99 99 | ARCEP decision 2025-2215, §2.5.12 |
| United Kingdom | 07700 900000 – 07700 900999 | Ofcom, numbers for drama |
| United States | 555-0100 – 555-0199 (any area code) | NANPA, 555 line numbers |
| Canada | 555-0100 – 555-0199 (any area code) | NANPA, 555 line numbers |
| Germany | 0171 39200 00–99, 0176 040690 00–99 | Bundesnetzagentur, Drama Numbers |
| Ireland | 089 011 0000 – 089 011 0999 | ComReg, Numbering Conditions of Use (June 2023), numbering |
| Australia | (02/03/07/08) 5550 xxxx | ACMA, numbers for creative works |
| Austria, Belgium, Italy, Netherlands, Portugal, Spain, Switzerland | random mobile number in the local format (06xx…, 04xx…, 3xx…, 06…, 9xx…, 6xx…, 07x…), not reserved | no reserved range found at the RTR, BIPT, AGCOM, ACM, ANACOM, CNMC or OFCOM/BAKOM (checked 2026-11-07) |
The filler recognises the new fields by autocomplete (honorific-prefix, organization, address-line2, address-level1) or by their labels in English, French, German, Spanish, Italian and Dutch, and picks the matching option of country, region/state and title selects. Each field can be unticked or locked in Fields to fill.
Each country is one file, extension/data/<code>.js, that registers a sheet with AliasfillCountries.register({...}): names (female, male, last), titles, company suffixes, streets, second address lines, places (city, region, regionCode, postal…, and optionally addresses: { postal, street, numbers } that go together), postalPattern, postalCode(place, rand), address(number, street) and phone ({ source, generate(rand, place) }, or null). Add its path to files in extension/data/index.js and load it with the others in manifest.json (background.scripts), service-worker.js and popup.html; tests/countries.test.ts checks that every list agrees, and needs the country's expected formats. generate() does not change.
| Permission | Why |
|---|---|
storage |
identity, history of identities per site, settings and the provider's key, in the browser profile only |
activeTab, scripting |
fill the open tab when you click Fill form |
menus (contextMenus on Chrome) |
the right-click Insert a disposable address here |
alarms |
delete expired identities, refresh the badge |
content script on http://*/*, https://*/* |
detect sign-up forms and (Throwaway Mail) code fields |
host access http://*/*, https://*/* |
fill a tab from the sign-up card (without a popup click, activeTab does not apply) and reach the provider's API without CORS. Chrome grants it at install. Firefox treats it as optional: on Test connection / Save the extension asks only for the chosen provider's API origin (e.g. https://app.simplelogin.io/*; No service asks for none), and the Allow on all sites banner asks for the rest. |
The provider's key is only sent to that provider's API. Extensions with host access are not subject to CORS, so no server needs a change.
- Build both packages:
pnpm install, thenpnpm pack(orsh scripts/pack-extension.sh) →dist/aliasfill-<version>.xpi(Firefox),dist/aliasfill-<version>-chrome.zip(Chrome/Chromium).
- Install:
- Firefox: install it from addons.mozilla.org (signed, updated automatically). To try a local build:
about:debugging#/runtime/this-firefox→ Load Temporary Add-on → pickextension/manifest.json(removed at restart). - Chrome/Chromium: install it from the Chrome Web Store (updated automatically). To try a local build: unzip the
-chrome.zipinto a folder, openchrome://extensions, enable Developer mode, Load unpacked → that folder. Chrome 121 or later.
- Firefox: install it from addons.mozilla.org (signed, updated automatically). To try a local build:
- Settings (⚙ in the popup): pick the provider, fill its fields, Test connection, Save. For Throwaway Mail: API keys → Create in the app (name it after the browser), server
https://mail.example.com, paste the key, pick the preferred domain. The domain is a preference: when a site is known to reject it (see Sites that reject a domain in the Throwaway Mail user guide), the server picks another one.
pnpm install
pnpm test # adapters against fake HTTP, background script, generator, one-time-code detection, Chrome manifest
pnpm test:e2e # the Chrome build in a real Chromium (pnpm exec playwright install chromium once)
pnpm lint # types + formatting
pnpm lint:firefox # Mozilla's add-on linter (what addons.mozilla.org runs), warnings fail
pnpm format
pnpm pack # dist/aliasfill-<version>.xpi and dist/aliasfill-<version>-chrome.zipTests run the extension's own files in a Node vm with a fake browser and a fake fetch (tests/fake-throwaway.ts stands in for a Throwaway Mail server): no network, no browser. pnpm test:e2e loads the Chrome build unpacked in Chromium (Playwright) and fills local test pages: title radios, region and country selects, Undo, the history in the popup, and the verification code pasted from the fake Throwaway Mail server. Store listing drafts can be kept locally in extension/store/ (git-ignored, left out of the packages).
- Bump
versioninextension/manifest.jsonandpackage.json, commit. - Tag and push:
git tag -a v1.2.0 -m "Aliasfill 1.2.0" && git push origin v1.2.0.
The Release workflow then runs the tests and Mozilla's linter, checks the tag matches the manifest, builds both packages, creates the GitHub release with them, and submits the version to addons.mozilla.org (listed channel), the Chrome Web Store and Edge Add-ons when their secrets are set. Mozilla reviews it, then publishes it and Firefox updates installed copies on its own.
The AMO step needs two repository secrets, AMO_JWT_ISSUER and AMO_JWT_SECRET, from addons.mozilla.org → Manage API Keys. Without them it is skipped and the GitHub release is still made.
It then submits the Chrome package to the Chrome Web Store (scripts/publish-chrome.mjs, API v2): the package is uploaded to the existing item and published; Google reviews it. This needs a service account linked to the publisher and two repository secrets: CWS_SERVICE_ACCOUNT_KEY (the service account's JSON key) and CWS_PUBLISHER_ID (Developer Dashboard → Settings). To set them up: in a Google Cloud project, enable the Chrome Web Store API, create a service account (no role needed) and a JSON key for it; in the Developer Dashboard → Account, add the service account's e-mail. The item ID is in the workflow. Without the secrets the step is skipped. After setting or renewing them, Actions → Store credentials check → Run workflow signs in and reads the item's status without uploading anything.
It then submits the Chrome package to Microsoft Edge Add-ons (scripts/publish-edge.mjs, Update REST API v1.1): the package is uploaded as the draft and the draft is published; Microsoft reviews it. This needs the product to exist (submit the first version by hand in Partner Center, free) and three repository secrets from Partner Center → Microsoft Edge → Publish API: EDGE_CLIENT_ID, EDGE_API_KEY (it expires: renew it there) and EDGE_PRODUCT_ID (on the extension's overview page). Without them the step is skipped.
Opera add-ons has no publishing API (its sign-in has a CAPTCHA), so new versions go up by hand: upload the -chrome.zip from the GitHub release at addons.opera.com/developer.
See PRIVACY.md: no analytics, nothing sent unless you set up an alias provider, and then only to that provider.
MIT, see LICENSE.
extension/manifest.json is the Firefox manifest and the source of truth; scripts/chrome-manifest.mjs derives the Chrome one at pack time. The differences:
| Firefox | Chrome (MV3) | |
|---|---|---|
| Background | background.scripts (event page) |
background.service_worker = service-worker.js, which importScripts the same files |
| Context menu permission | menus |
contextMenus |
browser_specific_settings (gecko id, data collection) |
yes | removed |
| Icons | icons/aliasfill.svg |
icons/aliasfill-{16,32,48,128}.png (Chrome does not render SVG) |
The code only uses Firefox's promise-based browser.* API. extension/compat.js, loaded first everywhere (background, content script, popup, options), is a no-op on Firefox; on Chrome it exposes browser as a view of chrome with browser.menus → chrome.contextMenus and runtime.onMessage listeners that may answer by returning a Promise (bridged to sendResponse). When you edit the extension, keep using browser.* and test both builds. A new background script must be listed in both manifest.json (background.scripts) and service-worker.js, and a new provider file in popup.html and options.html too (a unit test checks it).

