Upload file for ChatGPT

Upload file for ChatGPT

Add File context to ChatGPT

Merlin
Additional files are visible only to premium users

manifest.json


{
  "update_url": "https://clients2.google.com/service/update2/crx",
  "manifest_version": 3,
  "name": "Upload file for ChatGPT",
  "version": "2.28.0",
  "author": "Guillaume Reygner",
  "description": "Add File context to ChatGPT",
  "icons": {
    "16": "images/icon-16.png",
    "32": "images/icon-32.png",
    "48": "images/icon-48.png",
    "128": "images/icon-128.png"
  },
  "background": {
    "service_worker": "background.js"
  },
  "content_scripts": [
    {
      "matches": [
        "https://extensionpay.com/*"
      ],
      "js": [
        "ExtPay.js"
      ],
      "run_at": "document_start"
    },
    {
      "matches": [
        "https://chatgpt.com/*",
        "https://chat.openai.com/*"
      ],
      "js": [
        "contentScript.js",
        "pdf.min.js",
        "pdf.worker.min.js",
        "mammoth.browser.min.js",
        "ExtPay.js"
      ]
    },
    {
      "matches": [
        "<all_urls>"
      ],
      "js": [
        "callOpenAI.js",
        "ExtPay.js"
      ]
    }
  ],
  "action": {
    "default_popup": "popup.html"
  },
  "permissions": [
    "storage",
    "activeTab",
    "scripting",
    "tabs"
  ]
}