开发助手

开发助手

开发助手

Merlin
Additional files are visible only to premium users

manifest.json


{
  "update_url": "https://clients2.google.com/service/update2/crx",
  "name": "开发助手",
  "description": "开发助手",
  "version": "1.2.5",
  "manifest_version": 3,
  "permissions": [
    "storage",
    "tabs",
    "webRequest"
  ],
  "devtools_page": "devtools.html",
  "background": {
    "service_worker": "background.js"
  },
  "action": {
    "default_popup": "popup.html",
    "default_title": "开发助手",
    "default_icon": {
      "16": "/images/logo_64_not_active.png",
      "32": "/images/logo_64_not_active.png",
      "48": "/images/logo_64_not_active.png",
      "128": "/images/logo_64_not_active.png"
    }
  },
  "icons": {
    "16": "/images/logo_64_active.png",
    "32": "/images/logo_64_active.png",
    "48": "/images/logo_64_active.png",
    "128": "/images/logo_64_active.png"
  },
  "host_permissions": [
    "*://*.branddb.wipo.int/*",
    "*://yandex.com/maps/*",
    "*://www.google.com/*"
  ],
  "content_scripts": [
    {
      "matches": [
        "*://www3.wipo.int/*",
        "*://branddb.wipo.int/*",
        "*://*.branddb.wipo.int/*"
      ],
      "js": [
        "content/wipo.js"
      ]
    },
    {
      "matches": [
        "*://yandex.com/maps/*"
      ],
      "js": [
        "content/yandex.js"
      ]
    },
    {
      "matches": [
        "*://www.google.com/maps/*"
      ],
      "js": [
        "content/google.js"
      ]
    },
    {
      "matches": [
        "<all_urls>"
      ],
      "js": [
        "content/app.js"
      ],
      "run_at": "document_end"
    }
  ],
  "web_accessible_resources": [
    {
      "resources": [
        "/images/*.png"
      ],
      "matches": [
        "*://yandex.com/*",
        "*://www.google.com/*"
      ]
    }
  ]
}