包阅网页阅读助手

包阅官方的浏览器阅读助手,高效阅读网页文章,快速提炼要点。
Premium users can view and search full source code, and see the source code differences between two versions.
Upgrade to premium
manifest.json
{
  "update_url": "https://clients2.google.com/service/update2/crx",
  "manifest_version": 3,
  "name": "__MSG_extName__",
  "description": "__MSG_extDescription__",
  "version": "1.0.1",
  "icons": {
    "16": "icon/16.png",
    "32": "icon/32.png",
    "48": "icon/48.png",
    "96": "icon/96.png",
    "128": "icon/128.png"
  },
  "default_locale": "zh_CN",
  "host_permissions": [
    "*://*/*"
  ],
  "permissions": [
    "storage",
    "activeTab"
  ],
  "action": {
    "default_icon": "logo.png"
  },
  "background": {
    "service_worker": "background.js"
  },
  "content_scripts": [
    {
      "matches": [
        "<all_urls>"
      ],
      "run_at": "document_end",
      "js": [
        "content-scripts/app.js"
      ]
    },
    {
      "matches": [
        "https://36kr.com/*",
        "https://www.baidu.com/*",
        "https://www.zhihu.com/*"
      ],
      "js": [
        "content-scripts/content.js"
      ]
    }
  ],
  "web_accessible_resources": [
    {
      "resources": [
        "content-scripts/app.css"
      ],
      "matches": [
        "<all_urls>"
      ]
    }
  ]
}