AI Translate Firefox

Examine source code of AI Translate

Inspect and view changes in AI Translate source codes across current and past versions
Please login to examine the extension's source code.
manifest.json
{
  "manifest_version": 3,
  "name": "AI Translate",
  "version": "1.3.1",
  "description": "Translate text using Gemini, Claude, Azure OpenAI, or any OpenAI-compatible API",
  "content_security_policy": {
    "extension_pages": "script-src 'self'; object-src 'self'"
  },
  "permissions": [
    "contextMenus",
    "storage",
    "activeTab",
    "identity"
  ],
  "host_permissions": [
    "https://generativelanguage.googleapis.com/*",
    "https://api.anthropic.com/*",
    "https://*.openai.azure.com/*",
    "https://api.notion.com/*",
    "http://*/*",
    "https://*/*"
  ],
  "background": {
    "type": "module",
    "scripts": [
      "background/service-worker.js"
    ]
  },
  "browser_specific_settings": {
    "gecko": {
      "id": "ai-translate@extension",
      "strict_min_version": "142.0",
      "data_collection_permissions": {
        "required": [
          "none"
        ],
        "optional": []
      }
    }
  },
  "action": {
    "default_popup": "popup/popup.html",
    "default_icon": {
      "16": "icons/icon16.png",
      "48": "icons/icon48.png",
      "128": "icons/icon128.png"
    }
  },
  "commands": {
    "translate-selection": {
      "suggested_key": {
        "default": "Alt+T",
        "mac": "Alt+T"
      },
      "description": "Translate selected text"
    },
    "_execute_action": {
      "suggested_key": {
        "default": "Alt+Shift+T",
        "mac": "Alt+Shift+T"
      },
      "description": "Open AI Translate popup"
    }
  },
  "content_scripts": [
    {
      "matches": [
        "<all_urls>"
      ],
      "js": [
        "lib/languages.js",
        "content/content.js"
      ],
      "css": [
        "content/content.css"
      ]
    }
  ],
  "icons": {
    "16": "icons/icon16.png",
    "48": "icons/icon48.png",
    "128": "icons/icon128.png"
  },
  "web_accessible_resources": [
    {
      "resources": [
        "icons/icon16.png"
      ],
      "matches": [
        "<all_urls>"
      ]
    }
  ]
}

Best AI Translate Alternatives

Here are some Firefox add-ons that are similar to AI Translate: