Lingocloud - Web Translation Extension

Lingocloud - Web Translation Extension

A bilingual translation extension that delivers a native reading experience at the Click of a button.

Additional files are visible only to premium users

manifest.json


{
  "version": "1.15.0",
  "default_locale": "en",
  "name": "__MSG_appName__",
  "short_name": "__MSG_appNameAbbr__",
  "manifest_version": 2,
  "description": "__MSG_appDesc__",
  "homepage_url": "https://fanyi.caiyunapp.com",
  "icons": {
    "16": "images/logo.png",
    "128": "images/logo.png"
  },
  "options_ui": {
    "page": "options.html",
    "open_in_tab": true,
    "chrome_style": false
  },
  "content_security_policy": "script-src 'self' 'unsafe-eval'; object-src 'self'",
  "background": {
    "page": "background.html",
    "persistent": true
  },
  "content_scripts": [
    {
      "matches": [
        "*://*.jsceet.cn/*"
      ],
      "css": [
        "/css/sites/jsceet.cn.css"
      ]
    }
  ],
  "browser_action": {
    "default_title": "LingoCloud",
    "default_popup": "popup.html",
    "default_icon": "images/logo.png"
  },
  "permissions": [
    "activeTab",
    "cookies",
    "storage",
    "tabs",
    "webNavigation",
    "<all_urls>",
    "*://*.caiyunapp.com/*",
    "*://*.caiyunai.com/*",
    "contextMenus",
    "tabCapture"
  ],
  "optional_permissions": [],
  "web_accessible_resources": [
    "assets/*",
    "trs.js",
    "images/*",
    "css/*",
    "bootPage.html",
    "bootPage.js",
    "options.html",
    "options.js",
    "lib/*"
  ],
  "commands": {
    "translate-page": {
      "suggested_key": {
        "default": "Alt+Shift+P",
        "mac": "Command+Shift+P"
      },
      "description": "__MSG_launchApp__"
    }
  },
  "update_url": "https://edge.microsoft.com/extensionwebstorebase/v1/crx"
}