Smart Translator Firefox

Examine source code of Smart Translator

By: Davidma
Inspect and view changes in Smart Translator source codes across current and past versions
Please login to examine the extension's source code.
manifest.json
{
  "manifest_version": 2,
  "name": "Smart Translator",
  "version": "1.0.0",
  "description": "Translate text instantly by hovering over words or selecting text. Supports multiple languages with smart detection.",
  "permissions": [
    "activeTab",
    "storage",
    "commands",
    "contextMenus",
    "https://api.mymemory.translated.net/*",
    "https://translate.googleapis.com/*"
  ],
  "background": {
    "scripts": [
      "background.js"
    ],
    "persistent": false
  },
  "content_scripts": [
    {
      "matches": [
        "<all_urls>"
      ],
      "js": [
        "content.js"
      ],
      "css": [
        "styles.css"
      ],
      "run_at": "document_end"
    }
  ],
  "browser_action": {
    "default_popup": "popup.html",
    "default_title": "Smart Translator Settings",
    "default_icon": {
      "48": "icon.png"
    }
  },
  "icons": {
    "48": "icon.png"
  },
  "options_ui": {
    "page": "options.html",
    "open_in_tab": true
  },
  "commands": {
    "toggle-extension": {
      "suggested_key": {
        "default": "Ctrl+Shift+T",
        "mac": "Command+Shift+T"
      },
      "description": "Toggle Smart Translator on/off"
    },
    "quick-translate": {
      "suggested_key": {
        "default": "Ctrl+Shift+Y",
        "mac": "Command+Shift+Y"
      },
      "description": "Open quick translate popup"
    }
  },
  "browser_specific_settings": {
    "gecko": {
      "id": "{217330c9-1a28-48a2-a539-cfa56b81020b}"
    }
  }
}

Best Smart Translator Alternatives

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