manifest.firefox.json

2.4 KB · raw

1{2  "_comment_audio_capture": "Firefox does not honor the Chrome 'audioCapture' optional_permission — getUserMedia in WebExtensions is gated solely by the runtime permission prompt. Microphone access for chirp pairing works from the popup under the existing '<all_urls>' host permission; no manifest entry is required or accepted here.",3  "manifest_version": 3,4  "name": "Peach",5  "version": "3.6.46",6  "description": "Zero-knowledge password manager",7  "browser_specific_settings": {8    "gecko": {9      "id": "[email protected]"10    }11  },12  "action": {13    "default_popup": "src/popup/index.html",14    "default_icon": {15      "16": "icons/16.png",16      "32": "icons/32.png",17      "48": "icons/48.png"18    }19  },20  "background": {21    "scripts": ["src/background/entry.ts"],22    "type": "module"23  },24  "content_scripts": [25    {26      "matches": [27        "<all_urls>"28      ],29      "js": [30        "src/content/index.ts"31      ],32      "run_at": "document_idle"33    },34    {35      "matches": [36        "<all_urls>"37      ],38      "js": [39        "src/content/passkey-toast/inject.tsx"40      ],41      "run_at": "document_idle",42      "all_frames": false43    },44    {45      "matches": [46        "<all_urls>"47      ],48      "js": [49        "src/content/passkeys-firefox.ts"50      ],51      "run_at": "document_start",52      "world": "MAIN"53    },54    {55      "matches": [56        "<all_urls>"57      ],58      "js": [59        "src/content/passkeys-firefox-relay.ts"60      ],61      "run_at": "document_start"62    }63  ],64  "host_permissions": [65    "<all_urls>"66  ],67  "commands": {68    "_execute_action": {69      "suggested_key": {70        "default": "Alt+Shift+P",71        "mac": "Alt+Shift+P"72      },73      "description": "Open Peach popup"74    },75    "summon-inline": {76      "suggested_key": {77        "default": "Ctrl+Shift+Space",78        "mac": "Command+Shift+Space"79      },80      "description": "Summon Peach on this page"81    }82  },83  "permissions": [84    "storage",85    "tabs",86    "activeTab",87    "scripting",88    "clipboardWrite",89    "alarms",90    "idle"91  ],92  "content_security_policy": {93    "extension_pages": "script-src 'self' 'wasm-unsafe-eval'; object-src 'none'"94  },95  "web_accessible_resources": [96    {97      "resources": ["ggwave/*"],98      "matches": ["<all_urls>"]99    }100  ],101  "icons": {102    "16": "icons/16.png",103    "48": "icons/48.png",104    "128": "icons/128.png"105  }106}