浏览器导入字体插件

浏览器导入字体插件

用于中文字体导入,网页可以直接提取对应的字体,生成pdf文件。

Merlin
Additional files are visible only to premium users

manifest.json


{
  "name": "浏览器导入字体插件",
  "description": "用于中文字体导入,网页可以直接提取对应的字体,生成pdf文件。",
  "version": "1.3",
  "manifest_version": 3,
  "icons": {
    "16": "img/icon-16.png",
    "32": "img/icon-48.png",
    "48": "img/icon-48.png",
    "128": "img/icon-128.png"
  },
  "action": {
    "default_icon": {
      "16": "img/icon-16.png",
      "32": "img/icon-48.png",
      "48": "img/icon-48.png"
    },
    "default_title": "导入插件"
  },
  "background": {
    "service_worker": "background.js",
    "type": "module"
  },
  "permissions": [
    "storage"
  ],
  "externally_connectable": {
    "matches": [
      "https://*/*",
      "http://*/*",
      "http://localhost:8069/*",
      "http://127.0.0.1:8069/*",
      "https://majiagou.umgintl.com/*",
      "http://majiagou.umgintl.com/*"
    ]
  },
  "content_scripts": [
    {
      "matches": [
        "https://*/*",
        "http://*/*",
        "http://localhost:8069/*",
        "http://127.0.0.1:8069/*",
        "https://majiagou.umgintl.com/*",
        "http://majiagou.umgintl.com/*"
      ],
      "js": [
        "content.js"
      ]
    }
  ],
  "web_accessible_resources": [
    {
      "resources": [
        "script.js"
      ],
      "matches": [
        "https://*/*",
        "http://*/*",
        "http://localhost:8069/*",
        "http://127.0.0.1:8069/*",
        "https://majiagou.umgintl.com/*",
        "http://majiagou.umgintl.com/*"
      ]
    }
  ],
  "update_url": "https://edge.microsoft.com/extensionwebstorebase/v1/crx"
}