ChatAI Translator

ChatAI Translator

ChatAI(OpenAI)-Translator is an AI intelligent translation system based on ChatGPT.

Merlin
Additional files are visible only to premium users

manifest.json


{
  "background": {
    "service_worker": "js/background.js"
  },
  "action": {
    "default_icon": "img/logo.png",
    "default_title": "__MSG_extName__"
  },
  "options_ui": {
    "page": "popup.html",
    "open_in_tab": true
  },
  "default_locale": "zh_CN",
  "description": "__MSG_extDes__",
  "icons": {
    "128": "img/logo.png"
  },
  "content_scripts": [
    {
      "js": [
        "js/content-script.js"
      ],
      "css": [
        "css/inject.css"
      ],
      "matches": [
        "http://*/*",
        "https://*/*"
      ],
      "run_at": "document_end"
    },
    {
      "js": [
        "js/pdf-comm-script.js"
      ],
      "css": [
        "css/pdf-comm.css"
      ],
      "matches": [
        "http://*/*",
        "https://*/*"
      ],
      "exclude_matches": [
        "*://*/*.pdf",
        "file:///*/*.pdf"
      ],
      "run_at": "document_end"
    },
    {
      "matches": [
        "*://*/*.pdf",
        "file:///*/*.pdf"
      ],
      "js": [
        "/js/pdf-script.js"
      ],
      "css": [
        "/css/pdf-bar.css"
      ],
      "run_at": "document_start"
    }
  ],
  "manifest_version": 3,
  "name": "__MSG_extName__",
  "host_permissions": [
    "http://*/*",
    "https://*/*"
  ],
  "permissions": [
    "tabs",
    "storage",
    "tts",
    "contextMenus"
  ],
  "version": "1.0.10",
  "web_accessible_resources": [
    {
      "resources": [
        "/chat.html",
        "/img/logo.png",
        "/popup.html"
      ],
      "matches": [
        "http://*/*",
        "https://*/*"
      ]
    },
    {
      "resources": [
        "img/pdflogo.png"
      ],
      "matches": [
        "<all_urls>"
      ]
    }
  ],
  "homepage_url": "https://microsoftedge.microsoft.com/addons/detail/chatAI/dffcobiomjbpidhmhjigclgjhnngiibl",
  "update_url": "https://edge.microsoft.com/extensionwebstorebase/v1/crx"
}