Overlay Translate

Overlay Translate

Inline select to translate tool: Translate text without leaving the page

Additional files are visible only to premium users

manifest.json


{
  "update_url": "https://clients2.google.com/service/update2/crx",
  "author": "__MSG_extName__",
  "background": {
    "service_worker": "js/background.js"
  },
  "action": {
    "default_popup": "html/popup.html",
    "default_title": "__MSG_extName__",
    "default_icon": {
      "16": "icons/icon-16.png",
      "48": "icons/icon-48.png",
      "128": "icons/icon-128.png",
      "300": "icons/icon-300.png"
    }
  },
  "content_scripts": [
    {
      "matches": [
        "<all_urls>"
      ],
      "css": [
        "css/content.css"
      ],
      "js": [
        "js/content.js"
      ]
    }
  ],
  "icons": {
    "16": "icons/icon-16.png",
    "48": "icons/icon-48.png",
    "128": "icons/icon-128.png",
    "300": "icons/icon-300.png"
  },
  "declarative_net_request": {
    "rule_resources": [
      {
        "id": "translator",
        "enabled": true,
        "path": "rules/translator.json"
      }
    ]
  },
  "web_accessible_resources": [
    {
      "resources": [
        "icons/*"
      ],
      "matches": [
        "<all_urls>"
      ]
    }
  ],
  "default_locale": "en",
  "manifest_version": 3,
  "minimum_chrome_version": "88.0",
  "name": "__MSG_extName__",
  "description": "__MSG_extShortDesc__",
  "permissions": [
    "alarms",
    "declarativeNetRequest",
    "storage",
    "scripting"
  ],
  "host_permissions": [
    "<all_urls>"
  ],
  "version": "0.2.1"
}