Telegram Web Translator Firefox

Examine source code of Telegram Web Translator

Inspect and view changes in Telegram Web Translator source codes across current and past versions
Please login to examine the extension's source code.
manifest.json
{
  "manifest_version": 3,
  "name": "Telegram Web Translator",
  "version": "0.1.0",
  "description": "Translate Telegram Web messages and drafts.",
  "icons": {
    "16": "icons/icon-16.png",
    "32": "icons/icon-32.png",
    "48": "icons/icon-48.png",
    "128": "icons/icon-128.png"
  },
  "permissions": [
    "storage",
    "activeTab"
  ],
  "host_permissions": [
    "https://web.telegram.org/*",
    "https://api.openai.com/*",
    "https://api.deepl.com/*",
    "https://api-free.deepl.com/*",
    "https://api.cognitive.microsofttranslator.com/*",
    "https://*/*",
    "http://localhost/*",
    "http://127.0.0.1/*"
  ],
  "background": {
    "scripts": [
      "assets/firefox-background-loader.js"
    ]
  },
  "content_scripts": [
    {
      "matches": [
        "https://web.telegram.org/*"
      ],
      "js": [
        "assets/content.js"
      ],
      "css": [
        "assets/content.css"
      ],
      "run_at": "document_idle"
    }
  ],
  "action": {
    "default_title": "Telegram Translator",
    "default_popup": "src/ui/popup/popup.html",
    "default_icon": {
      "16": "icons/icon-16.png",
      "32": "icons/icon-32.png"
    }
  },
  "options_page": "src/ui/options/options.html",
  "commands": {
    "translate-selection": {
      "suggested_key": {
        "default": "Ctrl+Shift+T",
        "mac": "Command+Shift+T"
      },
      "description": "Translate selected text"
    },
    "generate-reply": {
      "suggested_key": {
        "default": "Ctrl+Shift+R",
        "mac": "Command+Shift+R"
      },
      "description": "Generate reply"
    }
  },
  "browser_specific_settings": {
    "gecko": {
      "id": "telegram-web-translator@example.com",
      "strict_min_version": "140.0",
      "data_collection_permissions": {
        "required": [
          "authenticationInfo",
          "personalCommunications",
          "websiteContent"
        ]
      }
    }
  }
}

Best Telegram Web Translator Alternatives

Here are some Firefox add-ons that are similar to Telegram Web Translator: