ScTranslator

ScTranslator

Translate selected text with multiple sources, Webpage translating that have 3 display modes... An all-in-one translation extension.

Merlin
Additional files are visible only to premium users

manifest.json


{
  "short_name": "ScTranslator",
  "name": "__MSG_extName__",
  "default_locale": "en",
  "version": "5.4.1",
  "description": "__MSG_extDescription__",
  "icons": {
    "16": "image/icon-16.png",
    "48": "image/icon-48.png",
    "128": "image/icon-128.png"
  },
  "manifest_version": 3,
  "minimum_chrome_version": "88",
  "homepage_url": "https://github.com/chunibyocola/sc-translator-crx",
  "background": {
    "service_worker": "background.js"
  },
  "action": {
    "default_popup": "popup.html"
  },
  "options_ui": {
    "open_in_tab": true,
    "page": "options.html"
  },
  "commands": {
    "sc-translate": {
      "suggested_key": {
        "default": "Alt+Z"
      },
      "description": "__MSG_extTranslateCommandDescription__"
    },
    "sc-audio": {
      "suggested_key": {
        "default": "Alt+X"
      },
      "description": "__MSG_extListenCommandDescription__"
    },
    "sc-call-out": {
      "suggested_key": {
        "default": "Alt+C"
      },
      "description": "__MSG_extCallOutCommandDescription__"
    },
    "sc-open-separate-window": {
      "description": "__MSG_extOpenSeparateWindowDescription__"
    },
    "sc-close": {
      "description": "__MSG_extCloseCommandDescription__"
    },
    "sc-toggle-auto-insert-result": {
      "description": "__MSG_extToggleAutoInsertResultDescription__"
    },
    "sc-translate-current-page": {
      "description": "__MSG_extTranslateCurrentPageDescription__"
    },
    "sc-switch-wt-display-mode": {
      "description": "__MSG_extSwitchWTDisplayModeDescription__"
    },
    "sc-toggle-page-translation-state": {
      "description": "__MSG_extTogglePageTranslationStateDescription__"
    }
  },
  "optional_permissions": [
    "webNavigation"
  ],
  "permissions": [
    "storage",
    "contextMenus",
    "webRequest"
  ],
  "host_permissions": [
    "<all_urls>"
  ],
  "content_scripts": [
    {
      "matches": [
        "http://*/*",
        "https://*/*"
      ],
      "js": [
        "/static/js/content.js"
      ]
    }
  ],
  "web_accessible_resources": [
    {
      "resources": [
        "/pdf-vierer/web/viewer.html",
        "/static/css/content.css"
      ],
      "matches": [
        "http://*/*",
        "https://*/*"
      ]
    }
  ],
  "content_security_policy": {
    "extension_pages": "script-src 'self'; object-src 'self'"
  },
  "update_url": "https://edge.microsoft.com/extensionwebstorebase/v1/crx"
}