Prompt Guard Firefox

Examine source code of Prompt Guard

Inspect and view changes in Prompt Guard source codes across current and past versions
Please login to examine the extension's source code.
manifest.json
{
  "manifest_version": 3,
  "name": "Prompt Guard",
  "short_name": "Prompt Guard",
  "version": "0.1.0",
  "description": "Alerts when sensitive data is typed into AI prompt fields.",
  "icons": {
    "128": "assets/icon128.png"
  },
  "action": {
    "default_title": "Prompt Guard",
    "default_popup": "popup/popup.html",
    "default_icon": {
      "128": "assets/icon128.png"
    }
  },
  "options_page": "options/options.html",
  "permissions": [
    "storage",
    "scripting",
    "activeTab",
    "tabs"
  ],
  "host_permissions": [
    "https://chatgpt.com/*",
    "https://*.chatgpt.com/*",
    "https://chat.openai.com/*",
    "https://claude.ai/*",
    "https://*.claude.ai/*",
    "https://gemini.google.com/*",
    "https://copilot.microsoft.com/*",
    "https://perplexity.ai/*",
    "https://www.perplexity.ai/*",
    "https://poe.com/*",
    "https://*.poe.com/*"
  ],
  "optional_host_permissions": [
    "http://*/*",
    "https://*/*"
  ],
  "browser_specific_settings": {
    "gecko": {
      "id": "prompt-guard@example.local",
      "strict_min_version": "142.0",
      "data_collection_permissions": {
        "required": [
          "none"
        ]
      }
    }
  },
  "background": {
    "scripts": [
      "shared/browser-api.js",
      "shared/default-rules.js",
      "shared/detector.js",
      "shared/settings.js",
      "background/background.js"
    ]
  },
  "content_scripts": [
    {
      "matches": [
        "https://chatgpt.com/*",
        "https://*.chatgpt.com/*",
        "https://chat.openai.com/*",
        "https://claude.ai/*",
        "https://*.claude.ai/*",
        "https://gemini.google.com/*",
        "https://copilot.microsoft.com/*",
        "https://perplexity.ai/*",
        "https://www.perplexity.ai/*",
        "https://poe.com/*",
        "https://*.poe.com/*"
      ],
      "js": [
        "shared/browser-api.js",
        "shared/default-rules.js",
        "shared/detector.js",
        "shared/settings.js",
        "content/content.js"
      ],
      "css": [
        "content/content.css"
      ],
      "run_at": "document_idle"
    }
  ]
}

Best Prompt Guard Alternatives

Here are some Firefox add-ons that are similar to Prompt Guard: