Firefox 瀏覽器附加元件
登入
Email Address Generator 預覽

Email Address Generator 作者: TriLinder

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

0 (0 reviews)0 (0 reviews)
47 Users47 Users
必須使用 Firefox 才能使用此擴充套件
下載 Firefox
下載檔案

擴充套件後設資料

畫面擷圖
The add-on in use on a registration page
關於此擴充套件
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).
由 1 位評論者給出 0 分
登入後即可幫此擴充套件評分
目前沒有評分

已儲存星等

5
0
4
0
3
0
2
0
1
0
還沒有評論
權限與資料了解更多

必要權限:

  • 輸入資料到剪貼簿
  • 存取瀏覽器分頁
  • 存取您所有網站中的資料
更多資訊
附加元件網址
  • 首頁
  • 技術支援網站
版本
1.1
大小
12.98 KB
最近更新
1 年前 (2024年7月21日)
相關分類
  • 隱私權與安全性
  • 社交通訊
授權條款
MIT License
版本紀錄
  • 瀏覽所有版本
標籤
  • privacy
  • security
新增至收藏集
檢舉此附加元件
TriLinder 製作的更多擴充套件
  • 目前沒有評分

  • 目前沒有評分

  • 目前沒有評分

  • 目前沒有評分

  • 目前沒有評分

  • 目前沒有評分

前往 Mozilla 官網

附加元件

  • 關於
  • Firefox 附加元件部落格
  • 擴充套件工作坊
  • 開發者交流中心
  • 開發者政策
  • 社群部落格
  • 討論區
  • 回報 Bug
  • 評論撰寫指南

瀏覽器

  • Desktop
  • Mobile
  • Enterprise

產品

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • 隱私權
  • Cookie
  • 法律資訊

除另有註明外,本站內容皆採用創用 CC 姓名標示—相同方式分享條款 3.0 或更新版本授權大眾使用。