笔记搜索

笔记搜索

跨平台笔记库搜索场景植入

Merlin
Additional files are visible only to premium users

manifest.json


{
  "update_url": "https://clients2.google.com/service/update2/crx",
  "manifest_version": 2,
  "name": "笔记搜索",
  "description": "跨平台笔记库搜索场景植入",
  "icons": {
    "16": "images/logo.png",
    "48": "images/logo.png",
    "128": "images/logo.png"
  },
  "version": "0.0.4",
  "content_security_policy": "script-src 'self' 'unsafe-eval' object-src 'self'",
  "options_ui": {
    "page": "index.html",
    "open_in_tab": false
  },
  "permissions": [
    "webRequest",
    "webRequestBlocking",
    "storage"
  ],
  "content_scripts": [
    {
      "js": [
        "libs/juqery.js",
        "content.js"
      ],
      "matches": [
        "https://flomoapp.com/*",
        "http://flomoapp.com/*",
        "http://www.baidu.com/*",
        "https://www.baidu.com/*",
        "https://www.google.com/*",
        "https://www.google.com.hk/*",
        "https://www.notion.so/*",
        "https://api.wolai.com/*",
        "https://www.diigo.com/*",
        "https://www.yuque.com/*"
      ],
      "run_at": "document_end"
    },
    {
      "js": [
        "libs/juqery.js",
        "api.js"
      ],
      "all_frames": true,
      "matches": [
        "http://localhost:8080/"
      ]
    }
  ],
  "web_accessible_resources": [
    "index.html",
    "images/*"
  ],
  "background": {
    "scripts": [
      "libs/juqery.js",
      "libs/jquery.xmlrpc.min.js",
      "libs/aliyun-oss-sdk.min.js",
      "libs/hmac-sha256.js",
      "libs/enc-base64-min.js",
      "libs/google-analytics-bundle.js",
      "background.js"
    ]
  }
}