Saladict - Pop-up Dictionary and Page Translator

Saladict - Pop-up Dictionary and Page Translator

Saladict is an all-in-one professional pop-up dictionary and page translator which supports multiple search modes, page…

Additional files are visible only to premium users

manifest.json


{
  "version": "7.20.0",
  "content_scripts": [
    {
      "css": [
        "assets/content.d3a99ffd.css",
        "assets/content.css"
      ],
      "matches": [
        "<all_urls>"
      ],
      "js": [
        "assets/browser-polyfill.min.js",
        "assets/runtime.fbeeaff4.js",
        "assets/view-vendor.47cf4d8a.js",
        "assets/18.819ea6d2.js",
        "assets/content.0352e950.js"
      ]
    },
    {
      "match_about_blank": true,
      "all_frames": true,
      "matches": [
        "<all_urls>"
      ],
      "js": [
        "assets/browser-polyfill.min.js",
        "assets/runtime.fbeeaff4.js",
        "assets/view-vendor.47cf4d8a.js",
        "assets/21.c953939f.js",
        "assets/selection.420695b7.js"
      ]
    }
  ],
  "browser_action": {
    "default_popup": "popup.html",
    "default_icon": {
      "16": "assets/icon-16.png",
      "19": "assets/icon-19.png",
      "24": "assets/icon-24.png",
      "38": "assets/icon-38.png",
      "48": "assets/icon-48.png",
      "128": "assets/icon-128.png"
    }
  },
  "options_ui": {
    "page": "options.html",
    "open_in_tab": true,
    "chrome_style": false
  },
  "background": {
    "scripts": [
      "assets/browser-polyfill.min.js",
      "assets/runtime.fbeeaff4.js",
      "assets/view-vendor.47cf4d8a.js",
      "assets/dexie.e0cbbdaa.js",
      "assets/20.25bb6aef.js",
      "assets/background.20148fa5.js"
    ],
    "persistent": true
  },
  "manifest_version": 2,
  "homepage_url": "https://saladict.crimx.com/",
  "minimum_chrome_version": "63",
  "name": "__MSG_extension_name__",
  "short_name": "__MSG_extension_short_name__",
  "description": "__MSG_extension_description__",
  "default_locale": "zh_CN",
  "icons": {
    "16": "assets/icon-16.png",
    "48": "assets/icon-48.png",
    "128": "assets/icon-128.png"
  },
  "commands": {
    "toggle-active": {
      "description": "__MSG_command_toggle_active__"
    },
    "toggle-instant": {
      "description": "__MSG_command_toggle_instant__"
    },
    "search-clipboard": {
      "description": "__MSG_command_search_clipboard__"
    },
    "open-pdf": {
      "description": "__MSG_command_open_pdf__"
    },
    "open-quick-search": {
      "description": "__MSG_command_open_quick_search__"
    },
    "open-youdao": {
      "description": "__MSG_command_open_youdao__"
    },
    "open-google": {
      "description": "__MSG_command_open_google__"
    },
    "open-caiyun": {
      "description": "__MSG_command_open_caiyun__"
    },
    "next-history": {
      "description": "__MSG_command_next_history__"
    },
    "prev-history": {
      "description": "__MSG_command_prev_history__"
    },
    "next-profile": {
      "description": "__MSG_command_next_profile__"
    },
    "prev-profile": {
      "description": "__MSG_command_prev_profile__"
    },
    "profile-1": {
      "description": "__MSG_command_profile_1__"
    },
    "profile-2": {
      "description": "__MSG_command_profile_2__"
    },
    "profile-3": {
      "description": "__MSG_command_profile_3__"
    },
    "profile-4": {
      "description": "__MSG_command_profile_4__"
    },
    "profile-5": {
      "description": "__MSG_command_profile_5__"
    },
    "add-notebook": {
      "description": "__MSG_command_add_notebook__"
    }
  },
  "web_accessible_resources": [
    "assets/*",
    "audio-control.html",
    "quick-search.html"
  ],
  "permissions": [
    "<all_urls>",
    "alarms",
    "contextMenus",
    "cookies",
    "notifications",
    "storage",
    "tabs",
    "unlimitedStorage",
    "webRequest",
    "webRequestBlocking"
  ],
  "optional_permissions": [
    "clipboardRead",
    "clipboardWrite",
    "background"
  ],
  "content_security_policy": "script-src 'self' chrome-extension://hfjbmagddngcpeloejdejnfgbamkjaeg/ chrome-extension://aibcglbfblnogfjhbcmmpobjhnomhcdo/; object-src 'self'",
  "incognito": "split",
  "update_url": "https://clients2.google.com/service/update2/crx"
}