MarkItDown Companion Firefox

Examine source code of MarkItDown Companion

Inspect and view changes in MarkItDown Companion source codes across current and past versions
Please login to examine the extension's source code.
manifest.json
{
  "manifest_version": 3,
  "name": "MarkItDown Companion",
  "version": "2.4.0",
  "description": "Sync markdown files from MarkItDown, track AI token usage, and export chats from Claude, ChatGPT, Gemini, DeepSeek & Grok.",
  "permissions": [
    "storage",
    "tabs",
    "downloads"
  ],
  "host_permissions": [
    "https://claude.ai/*",
    "https://chatgpt.com/*",
    "https://gemini.google.com/*",
    "https://chat.deepseek.com/*",
    "https://grok.com/*",
    "https://*.googleusercontent.com/*",
    "https://*.gstatic.com/*",
    "https://*.ggpht.com/*",
    "https://*.openai.com/*",
    "https://*.oaidalleapiprodscus.blob.core.windows.net/*",
    "https://*.shutterstock.com/*",
    "https://*.unsplash.com/*",
    "https://*.cloudfront.net/*",
    "https://*.amazonaws.com/*",
    "https://*.anthropic.com/*"
  ],
  "action": {
    "default_popup": "popup/popup.html",
    "default_icon": {
      "16": "icons/icon16.png",
      "48": "icons/icon48.png",
      "128": "icons/icon128.png"
    }
  },
  "background": {
    "scripts": [
      "background/service-worker.js"
    ]
  },
  "browser_specific_settings": {
    "gecko": {
      "id": "markitdown-companion@neosparkx.com",
      "data_collection_permissions": {
        "required": [
          "none"
        ]
      }
    }
  },
  "content_scripts": [
    {
      "matches": [
        "https://claude.ai/*"
      ],
      "js": [
        "content-scripts/claude-bridge.js"
      ],
      "run_at": "document_start",
      "world": "MAIN"
    },
    {
      "matches": [
        "https://claude.ai/*"
      ],
      "js": [
        "lib/o200k_base.js",
        "lib/token-counter.js",
        "lib/exporter.js",
        "lib/prompts.js",
        "content-scripts/claude.js"
      ],
      "css": [
        "content-scripts/overlay.css"
      ],
      "run_at": "document_idle"
    },
    {
      "matches": [
        "https://chatgpt.com/*"
      ],
      "js": [
        "lib/exporter.js",
        "lib/prompts.js",
        "content-scripts/chatgpt.js"
      ],
      "css": [
        "content-scripts/overlay.css"
      ],
      "run_at": "document_idle"
    },
    {
      "matches": [
        "https://gemini.google.com/*"
      ],
      "js": [
        "lib/token-counter.js",
        "lib/exporter.js",
        "lib/prompts.js",
        "content-scripts/gemini.js"
      ],
      "css": [
        "content-scripts/overlay.css"
      ],
      "run_at": "document_idle"
    },
    {
      "matches": [
        "https://chat.deepseek.com/*"
      ],
      "js": [
        "lib/exporter.js",
        "lib/prompts.js",
        "content-scripts/deepseek.js"
      ],
      "css": [
        "content-scripts/overlay.css"
      ],
      "run_at": "document_idle"
    },
    {
      "matches": [
        "https://grok.com/*"
      ],
      "js": [
        "lib/exporter.js",
        "lib/prompts.js",
        "content-scripts/grok.js"
      ],
      "css": [
        "content-scripts/overlay.css"
      ],
      "run_at": "document_idle"
    },
    {
      "matches": [
        "http://localhost/*",
        "https://markitdown.neosparkx.com/*"
      ],
      "js": [
        "content-scripts/webapp-bridge.js"
      ],
      "run_at": "document_idle"
    }
  ],
  "web_accessible_resources": [
    {
      "resources": [
        "icons/*"
      ],
      "matches": [
        "<all_urls>"
      ]
    }
  ],
  "icons": {
    "16": "icons/icon16.png",
    "48": "icons/icon48.png",
    "128": "icons/icon128.png"
  }
}

Best MarkItDown Companion Alternatives

Here are some Firefox add-ons that are similar to MarkItDown Companion: