BugCapture Firefox

Examine source code of BugCapture

提供元: BugCapture Add-on
Inspect and view changes in BugCapture source codes across current and past versions
xHeader
Modify request and response headers. No ads, no malware.
Please login to examine the extension's source code.
manifest.json
{
  "manifest_version": 3,
  "name": "BugCapture",
  "version": "0.38.1",
  "description": "One-click bug reporting with automatic technical context — QA-first.",
  "browser_specific_settings": {
    "gecko": {
      "id": "{bbb78008-f199-4b42-b0cf-2ef2b57d6a6c}",
      "strict_min_version": "140.0",
      "data_collection_permissions": {
        "required": [
          "websiteContent",
          "websiteActivity",
          "personallyIdentifyingInfo",
          "authenticationInfo"
        ]
      }
    }
  },
  "action": {
    "default_popup": "popup/popup.html",
    "default_title": "Report a bug with BugCapture",
    "default_icon": {
      "16": "assets/icon-16.png",
      "32": "assets/icon-32.png",
      "48": "assets/icon-48.png",
      "128": "assets/icon-128.png"
    }
  },
  "background": {
    "scripts": [
      "compat.js",
      "integrations.gen.js",
      "firebase/config.js",
      "firebase/rest.js",
      "firebase/auth.js",
      "draft.js",
      "capture-scripts.js",
      "record/rec-control.js",
      "background.js"
    ]
  },
  "commands": {
    "trigger-screenshot": {
      "suggested_key": {
        "default": "Ctrl+B",
        "mac": "Command+B"
      },
      "description": "Capture a screenshot"
    },
    "toggle-recording": {
      "suggested_key": {
        "default": "Alt+B",
        "mac": "Alt+B"
      },
      "description": "Start/stop recording steps"
    },
    "toggle-video": {
      "suggested_key": {
        "default": "Alt+V",
        "mac": "Alt+V"
      },
      "description": "Start/stop recording (tab or area — whichever is selected)"
    }
  },
  "permissions": [
    "activeTab",
    "storage",
    "scripting",
    "notifications"
  ],
  "host_permissions": [
    "https://firestore.googleapis.com/*",
    "https://firebasestorage.googleapis.com/*",
    "https://identitytoolkit.googleapis.com/*",
    "https://securetoken.googleapis.com/*",
    "https://*.cloudfunctions.net/*",
    "https://*.r2.cloudflarestorage.com/*"
  ],
  "content_scripts": [
    {
      "matches": [
        "<all_urls>"
      ],
      "js": [
        "content/inject.js"
      ],
      "run_at": "document_start",
      "world": "MAIN"
    },
    {
      "matches": [
        "<all_urls>"
      ],
      "js": [
        "integrations.gen.js",
        "dest-picker.js",
        "content/scrub.js",
        "content/context.js",
        "content/content.js",
        "content/overlay.js",
        "report/annotate.js",
        "content/modal.js"
      ],
      "run_at": "document_start",
      "world": "ISOLATED"
    },
    {
      "matches": [
        "http://localhost:5173/*",
        "http://127.0.0.1:5173/*",
        "https://bugcapture-qa.web.app/*",
        "https://bugcapture-qa.firebaseapp.com/*"
      ],
      "js": [
        "content/authbridge.js"
      ],
      "run_at": "document_start",
      "world": "ISOLATED"
    }
  ],
  "web_accessible_resources": [
    {
      "resources": [
        "assets/icon.svg",
        "assets/bat-splash.svg"
      ],
      "matches": [
        "<all_urls>"
      ]
    }
  ],
  "icons": {
    "16": "assets/icon-16.png",
    "32": "assets/icon-32.png",
    "48": "assets/icon-48.png",
    "128": "assets/icon-128.png"
  }
}

ベストのBugCapture代替案

BugCaptureに類似したFirefox add-onをいくつか紹介します: