Popup Translate

Popup Translate

A lightweight translation tool giving you a hotkey to translate words or phrases without leaving the page.

Additional files are visible only to premium users

manifest.json


{
  "update_url": "https://clients2.google.com/service/update2/crx",
  "manifest_version": 2,
  "name": "__MSG_extName__",
  "short_name": "__MSG_extShortName__",
  "version": "0.0.8",
  "description": "__MSG_extDescription__",
  "options_page": "options.html",
  "default_locale": "en",
  "icons": {
    "16": "Little Bull-16x16.png",
    "48": "Little Bull-48x48.png",
    "128": "Little Bull-128x128.png"
  },
  "content_scripts": [
    {
      "all_frames": true,
      "js": [
        "get_selection.js"
      ],
      "matches": [
        "http://*/*",
        "https://*/*"
      ],
      "run_at": "document_start"
    }
  ],
  "background": {
    "scripts": [
      "background.js"
    ]
  },
  "browser_action": {
    "default_icon": "Little Bull-16x16.png",
    "default_popup": "options.html"
  },
  "permissions": [
    "contextMenus",
    "background",
    "tabs",
    "storage",
    "http://*/*",
    "https://*/*"
  ],
  "commands": {
    "translate-selection": {
      "suggested_key": {
        "windows": "Alt+T",
        "mac": "Alt+T"
      },
      "description": "__MSG_cmdTranslateSelection__"
    }
  }
}