Google Translator for Firefox

With this addon you can translate any text to your own language with one click or hot-key. You can either translate the selected text, this way the translated text will overwrite the original selected text, or you can translate the full page too.
Premium users can view and search full source code, and see the source code differences between two versions.
Upgrade to premium
manifest.json
{
  "name": "Google Translator for Firefox",
  "description": "__MSG_extensionDescription__",
  "version": "3.0.3.4resigned1",
  "default_locale": "en",
  "manifest_version": 2,
  "homepage_url": "http://translatorforfirefox.blogspot.com/",
  "icons": {
    "48": "icons/icon-48.png"
  },
  "applications": {
    "gecko": {
      "id": "[email protected]",
      "strict_min_version": "57.0"
    }
  },
  "background": {
    "scripts": [
      "translate.js",
      "lib/dompurify/purify.min.js"
    ]
  },
  "browser_action": {
    "browser_style": true,
    "default_icon": "icons/Ticon.png",
    "default_title": "__MSG_browserActionLabel__"
  },
  "commands": {
    "_execute_browser_action": {
      "suggested_key": {
        "default": "F2"
      },
      "description": "__MSG_browserActionHotKeyDescription__"
    }
  },
  "options_ui": {
    "page": "options/options.html",
    "browser_style": true
  },
  "permissions": [
    "tabs",
    "activeTab",
    "contextMenus",
    "storage",
    "notifications",
    "<all_urls>",
    "http://translate.google.com/",
    "https://translate.google.com/"
  ],
  "permissions_notes": {
    "tabs": "For page translation to work.",
    "activeTab": "For selection translation to work.",
    "<all_urls>": "Also needed for selection translation because of https://bugzilla.mozilla.org/show_bug.cgi?id=1287159 ."
  }
}