AI Chat Context Window Firefox

Examine source code of AI Chat Context Window

Inspect and view changes in AI Chat Context Window source codes across current and past versions
Please login to examine the extension's source code.
manifest.json
{
  "manifest_version": 3,
  "name": "AI Chat Context Window",
  "version": "1.1.0",
  "description": "Display context window usage for Claude and ChatGPT interfaces",
  "browser_specific_settings": {
    "gecko": {
      "id": "ai-chat-context@extension",
      "strict_min_version": "121.0"
    }
  },
  "icons": {
    "48": "icons/48.png",
    "128": "icons/128.png"
  },
  "content_scripts": [
    {
      "matches": [
        "https://claude.ai/*"
      ],
      "js": [
        "content-scripts/claude.js"
      ],
      "css": [
        "styles/indicator.css"
      ],
      "run_at": "document_idle"
    },
    {
      "matches": [
        "https://chat.openai.com/*",
        "https://chatgpt.com/*"
      ],
      "js": [
        "content-scripts/chatgpt.js"
      ],
      "css": [
        "styles/indicator.css"
      ],
      "run_at": "document_idle"
    }
  ],
  "web_accessible_resources": [
    {
      "resources": [
        "wasm/tiktoken_bg.wasm",
        "encodings/o200k_base.json",
        "encodings/claude.json"
      ],
      "matches": [
        "<all_urls>"
      ]
    }
  ],
  "content_security_policy": {
    "extension_pages": "script-src 'self' 'wasm-unsafe-eval'; object-src 'self'"
  },
  "background": {
    "service_worker": "background/sw.js",
    "scripts": [
      "background/event-page.js"
    ],
    "type": "module"
  }
}

Best AI Chat Context Window Alternatives

Here are some Firefox add-ons that are similar to AI Chat Context Window: