
Email Address Generator par TriLinder
Generates unique email addresses based on the website hostname and the current time.
Vous avez besoin de Firefox pour utiliser cette extension
Métadonnées de l’extension
Captures d’écran

À propos de cette 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:
Components:
Example of an email address:
The code for generating addresses can be found here (in the
READ THIS README ON GITHUB
The email addresses are generated in the following format:
<site-identifier>.<encoded-timestamp><format-version>@<email-domain>
Components:
- 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
- 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;
}
- Format version identifier:
- Current value:
a
- Subject to change in the future (allows future extensions to the format)
- Current value:
- 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).Évaluez votre expérience
PermissionsEn savoir plus
Ce module a besoin de :
- Ajouter des données dans le presse-papiers
- Accéder aux onglets du navigateur
- Accéder à vos données pour tous les sites web
Plus d’informations
- Liens du module
- Version
- 1.1
- Taille
- 12,98 Ko
- Dernière mise à jour
- il y a 9 mois (21 juil. 2024)
- Catégories associées
- Licence
- Licence MIT
- Historique des versions
- Étiquettes
Ajouter à la collection
Plus de modules créés par TriLinder
- Il n’y a aucune note pour l’instant
- Il n’y a aucune note pour l’instant
- Il n’y a aucune note pour l’instant
- Il n’y a aucune note pour l’instant
- Il n’y a aucune note pour l’instant
- Il n’y a aucune note pour l’instant