spite / virtual-webcam

279 stars 34 forks source link

Changes to manifest for V3 files? #10

Open Sarah-C opened 1 year ago

Sarah-C commented 1 year ago

I'm having a terrible time getting the manifest to work for Chrome V3 manifest rules. "tabs" is throwing an error, and I'm not sure it'll be the only change needed!


{
  "name": "Virtual Webcam",
  "version": "1.0.0",
  "minimum_chrome_version": "10.0",
  "icons": {
    "16": "icon-16.png",
    "48": "icon-48.png",
    "128": "icon-128.png"
  },
  "description": "Virtual webcam.",
  "content_scripts": [
    {
      "matches": [
        "<all_urls>"
      ],
      "js": [
        "js/inject.js"
      ],
      "run_at": "document_start",
      "all_frames": true
    }
  ],
  "host_permissions": [
    "tabs",
    "https://*/"
  ],
  "manifest_version": 3,
  "web_accessible_resources": [
      {
        "resources": ["js/*"],
        "matches": [ "http://*/*" ]
      }
  ]
}
jyotiyadav94 commented 1 month ago

Is there any update on this? I am facing a similar issue ? did you manage to reoslve this @Sarah-C