Translation Assistant – Google Translation

Translation Assistant – Google Translation

Webpage translation; Selected word translation; Online translation; Screenshot translation; Free PDF Translation; Dictionary

Additional files are visible only to premium users

manifest.json


{
  "manifest_version": 3,
  "name": "__MSG_extName2__",
  "description": "__MSG_extDesc__",
  "default_locale": "en",
  "version": "1.0.19",
  "incognito": "spanning",
  "permissions": [
    "contextMenus",
    "tabs",
    "storage",
    "alarms",
    "activeTab"
  ],
  "host_permissions": [
    "<all_urls>"
  ],
  "commands": {
    "_execute_action": {
      "suggested_key": {
        "default": "Alt+H"
      }
    },
    "page-translate-or-revert": {
      "description": "__MSG_webpageTranslate__",
      "suggested_key": {
        "default": "Alt+T"
      }
    },
    "translate": {
      "description": "__MSG_quickTranslate__",
      "suggested_key": {
        "default": "Alt+R"
      }
    },
    "ocr-translate": {
      "description": "__MSG_webScreenshotTranslate__",
      "suggested_key": {
        "default": "Alt+G"
      }
    }
  },
  "icons": {
    "16": "icons/16.png",
    "32": "icons/32.png",
    "48": "icons/48.png",
    "64": "icons/64.png",
    "128": "icons/128.png"
  },
  "background": {
    "service_worker": "js/background.js"
  },
  "content_scripts": [
    {
      "matches": [
        "http://*/*",
        "https://*/*",
        "file://*/*"
      ],
      "all_frames": true,
      "css": [],
      "js": [
        "js/translateelement.js",
        "js/translate.js",
        "js/content-script.js"
      ]
    }
  ],
  "action": {
    "default_popup": "popup.html"
  },
  "web_accessible_resources": [
    {
      "resources": [
        "css/cropper.min.css",
        "css/cs.css",
        "images/logo.svg",
        "images/ico4.png",
        "images/ico5.png",
        "images/ico6.gif",
        "images/ico7.png"
      ],
      "matches": [
        "<all_urls>"
      ]
    }
  ],
  "update_url": "https://edge.microsoft.com/extensionwebstorebase/v1/crx"
}