Examine source code of 谷歌翻译-划词翻译

Inspect and view changes in 谷歌翻译-划词翻译 source codes across current and past versions
Premium users can view and search full source code, and see the source code differences between two versions.
Upgrade to premium
manifest.json
{
  "name": "谷歌翻译-划词翻译",
  "description": "一站式划词 / 截图 / 网页全文 / 音视频翻译扩展,支持谷歌、DeepL、百度、腾讯等 8 个国内外主流翻译服务,且均可用于网页翻译。能在 PDF 里使用。",
  "manifest_version": 2,
  "version": "1.0.1",
  "content_security_policy": "script-src 'self' 'wasm-eval' 'unsafe-eval'; object-src 'self'",
  "icons": {
    "16": "logo.png",
    "48": "logo.png",
    "128": "logo.png"
  },
  "permissions": [
    "<all_urls>",
    "contextMenus",
    "storage",
    "clipboardWrite",
    "clipboardRead",
    "webRequest",
    "webRequestBlocking",
    "alarms"
  ],
  "optional_permissions": [
    "notifications",
    "background"
  ],
  "background": {
    "scripts": [
      "473.js",
      "150.js",
      "611.js",
      "967.js",
      "222.js",
      "447.js",
      "b.js"
    ]
  },
  "content_scripts": [
    {
      "matches": [
        "<all_urls>"
      ],
      "js": [
        "473.js",
        "150.js",
        "875.js",
        "675.js",
        "611.js",
        "229.js",
        "447.js",
        "438.js",
        "141.js",
        "99.js",
        "692.js",
        "471.js",
        "c.js"
      ],
      "run_at": "document_end"
    },
    {
      "matches": [
        "<all_urls>"
      ],
      "js": [
        "473.js",
        "150.js",
        "611.js",
        "447.js",
        "438.js",
        "692.js",
        "ca.js"
      ],
      "all_frames": true,
      "match_about_blank": true,
      "run_at": "document_end"
    }
  ],
  "options_ui": {
    "page": "settings.html",
    "open_in_tab": true
  },
  "browser_action": {
    "default_icon": "logo.png",
    "default_popup": "popup.html"
  },
  "omnibox": {
    "keyword": "hcfy"
  },
  "commands": {
    "_execute_browser_action": {
      "suggested_key": {
        "default": "Ctrl+Q",
        "mac": "MacCtrl+Q"
      }
    },
    "translate": {
      "suggested_key": {
        "default": "Alt+A"
      },
      "description": "翻译选中的文本"
    },
    "hoverTranslate": {
      "description": "鼠标悬浮取词"
    },
    "translateWithPopup": {
      "suggested_key": {
        "default": "Alt+S"
      },
      "description": "使用独立窗口翻译选中的文本"
    },
    "panel": {
      "suggested_key": {
        "default": "Ctrl+Shift+1"
      },
      "description": "打开独立翻译窗口",
      "global": true
    },
    "screenshot": {
      "description": "截图翻译"
    },
    "page": {
      "description": "网页翻译"
    },
    "pageSwitchMode": {
      "description": "切换双语 / 原文 / 译文"
    },
    "switchWeb": {
      "description": "切换网页划词开关"
    }
  },
  "web_accessible_resources": [
    "normalize.css",
    "cropper.css",
    "blueprint.css",
    "blueprint-select.css",
    "youdao.ico",
    "hs.png",
    "baidu.ico",
    "google.ico",
    "deepl.png",
    "alilogo.png",
    "bing.ico",
    "qq.ico",
    "sogou.ico",
    "xiaoyilogo.png",
    "logo.png",
    "logowhite36.png",
    "pdf-viewer/*",
    "panel.html",
    "473.js",
    "150.js",
    "875.js",
    "675.js",
    "447.js",
    "438.js",
    "141.js",
    "99.js",
    "125.js",
    "915.js",
    "pn.css",
    "pn.js"
  ],
  "browser_specific_settings": {
    "gecko": {
      "id": "{b8efeb38-b8df-4bb6-bc31-cf7787fe96e9}"
    }
  }
}