TrojAI Browser Extension Firefox

Examine source code of TrojAI Browser Extension

By: Andrew
Inspect and view changes in TrojAI Browser Extension source codes across current and past versions
Please login to examine the extension's source code.
manifest.json
{
  "manifest_version": 3,
  "name": "TrojAI Browser Extension",
  "version": "1.73.0",
  "description": "In-Flight LLM Safety Monitoring",
  "icons": {
    "16": "assets/troj_t_badge_green_16.png",
    "48": "assets/troj_t_badge_green_48.png",
    "128": "assets/troj_t_badge_green_128.png"
  },
  "action": {
    "default_popup": "index.html",
    "default_icon": "assets/logo_green.png"
  },
  "host_permissions": [
    "<all_urls>"
  ],
  "content_scripts": [
    {
      "matches": [
        "https://chatgpt.com/*",
        "https://www.bing.com/*",
        "https://copilot.microsoft.com/*",
        "https://www.office.com/*",
        "https://gemini.google.com/*",
        "https://claude.ai/*",
        "https://copilot.cloud.microsoft/*",
        "https://m365.cloud.microsoft/*",
        "https://app.devin.ai/sessions/*",
        "https://devin.ai/*",
        "https://aexp.devinenterprise.com/sessions/*",
        "https://aexp-qa.devinenterprise.com/sessions/*",
        "https://answers.capacity.com/*",
        "https://ask.lucy.ai/*",
        "https://insights.americanexpress.com/*",
        "https://replit.com/*",
        "https://*.replit.com/*",
        "https://*.replit.dev/*",
        "https://*.repl.co/*"
      ],
      "js": [
        "bundle/script.bundle.js"
      ],
      "world": "MAIN",
      "all_frames": true,
      "run_at": "document_start"
    },
    {
      "matches": [
        "https://chatgpt.com/*",
        "https://www.bing.com/*",
        "https://copilot.microsoft.com/*",
        "https://www.office.com/*",
        "https://gemini.google.com/*",
        "https://claude.ai/*",
        "https://copilot.cloud.microsoft/*",
        "https://m365.cloud.microsoft/*",
        "https://app.devin.ai/sessions/*",
        "https://devin.ai/*",
        "https://aexp.devinenterprise.com/sessions/*",
        "https://aexp-qa.devinenterprise.com/sessions/*",
        "https://answers.capacity.com/*",
        "https://ask.lucy.ai/*",
        "https://insights.americanexpress.com/*",
        "https://replit.com/*",
        "https://*.replit.com/*",
        "https://*.replit.dev/*",
        "https://*.repl.co/*"
      ],
      "js": [
        "bundle/injectContent.bundle.js"
      ],
      "all_frames": true,
      "run_at": "document_start"
    }
  ],
  "web_accessible_resources": [
    {
      "resources": [
        "bundle/content.bundle.js",
        "bundle/script.bundle.js",
        "bundle/_commonjsHelpers.chunk.js",
        "bundle/client.chunk.js",
        "assets/*",
        "jwt.pub",
        "config.json"
      ],
      "matches": [
        "<all_urls>"
      ]
    }
  ],
  "background": {
    "scripts": [
      "bundle/background.bundle.js"
    ]
  },
  "permissions": [
    "storage",
    "webNavigation",
    "scripting",
    "alarms",
    "tabs",
    "identity",
    "declarativeNetRequest",
    "declarativeNetRequestWithHostAccess"
  ],
  "declarative_net_request": {
    "rule_resources": [
      {
        "id": "trojai_header_rules",
        "enabled": true,
        "path": "rules.json"
      }
    ]
  },
  "browser_specific_settings": {
    "gecko": {
      "id": "trojai_browser_extension@troj.ai",
      "data_collection_permissions": {
        "required": [
          "websiteContent",
          "websiteActivity"
        ]
      }
    }
  }
}

Best TrojAI Browser Extension Alternatives

Here are some Firefox add-ons that are similar to TrojAI Browser Extension: