Firefox Browser Add-ons
  • Extensions
  • Themes
    • for Firefox
    • Dictionaries & Language Packs
    • Other Browser Sites
    • Add-ons for Android
Log in
Preview of Email Address Generator

Email Address Generator by TriLinder

Generates unique email addresses based on the website hostname and the current time.

Available on Firefox for Android™Available on Firefox for Android™
0 (0 reviews)0 (0 reviews)
49 Users49 Users
You’ll need Firefox to use this extension
Download Firefox and get the extension
Download file

Extension Metadata

Screenshots
The add-on in use on a registration page
About this extension
An add-on for generating unique email aliases for a domain with a catch-all email address set-up.

READ THIS README ON GITHUB

The email addresses are generated in the following format:

<site-identifier>.<encoded-timestamp><format-version>@<email-domain>


Components:
  1. Site identifier:
    • Derived from the hostname of the current site
    • Dots are replaced with hyphens
    • The www. prefix is removed
    • Example: https://www.mail.google.com → mail-google-com

  2. Encoded timestamp:
    • Represents the time the email address was generated in seconds since May 1st, 2024 00:00 UTC
    • The value is encoded into a string using this alphabet abcdefghijklmnopqrstuvwxyz0123456789_

    • const ALPHABET = "abcdefghijklmnopqrstuvwxyz0123456789_";

      function encodeTimestamp(num) {
      let encoded = "";

      while (num > 0) {
      encoded = ALPHABET[num % ALPHABET.length] + encoded;
      num = Math.floor(num / ALPHABET.length);
      }

      return encoded;
      }

      function decodeTimestamp(encoded) {
      let decoded = 0;

      for (let i = 0; i < encoded.length; i++) {
      let charIndex = ALPHABET.indexOf(encoded[i]);
      decoded = decoded * ALPHABET.length + charIndex;
      }

      return decoded;
      }


  3. Format version identifier:
    • Current value: a
    • Subject to change in the future (allows future extensions to the format)

  4. Email domain:
    • Your email domain
    • Set in the extension's options page

Example of an email address: mail-google-com.d2l8da@example.com

The code for generating addresses can be found here (in the generate-address.js file).
Rated 0 by 0 reviewers
Sign in to rate this extension
There are no ratings yet

Star rating saved

5
0
4
0
3
0
2
0
1
0
No reviews yet
Permissions and dataLearn more

Required permissions:

  • Input data to the clipboard
  • Access browser tabs
  • Access your data for all websites
More information
Add-on Links
  • Homepage
  • Support site
Version
1.1
Size
12.98 KB
Last updated
a year ago (Jul 21, 2024)
Related Categories
  • Privacy & Security
  • Social & Communication
License
MIT License
Version History
  • See all versions
Tags
  • privacy
  • security
Add to collection
Report this add-on
More extensions by TriLinder
  • There are no ratings yet

  • There are no ratings yet

  • There are no ratings yet

  • There are no ratings yet

  • There are no ratings yet

  • There are no ratings yet

Go to Mozilla’s homepage

Add-ons

  • About
  • Firefox Add-ons Blog
  • Extension Workshop
  • Developer Hub
  • Developer Policies
  • Community Blog
  • Forum
  • Report a bug
  • Review Guide

Browsers

  • Desktop
  • Mobile
  • Enterprise

Products

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • Privacy
  • Cookies
  • Legal

Except where otherwise noted, content on this site is licensed under the Creative Commons Attribution Share-Alike License v3.0 or any later version. Android is a trademark of Google LLC.