0
{
  "name": "Play Next : YouTube",
  "version": "0.1.1",
  "manifest_version": 3,
  "description": "Add videos to queue",
  "homepage_url": "https://www.youtube.com",
  "icons": {
    "16": "icons/icon16.png",
    "48": "icons/icon48.png",
    "128": "icons/icon128.png"
  },
  "browser_action": {
    "default_popup": "popup.html"
  },
  "permissions": [
    "cookies",
    "tabs",
    "storage",
    "activeTab"
  ],
  "content_scripts": [
    {
      "matches": ["*://*.youtube.com/*"],
      "css": ["src/inject/inject.css"],
      "js": ["src/inject/inject.js"]
    }
 ],
  "web_accessible_resources": [
    {
      "resources": ["src/inject/main.js"]
    }
  ]
}

Error : Invalid value for 'web_accessible_resources[0]'. Entry must at least have resources, and one other valid key.

Question : Can someone provide a nice tutorial for Manifest V3, with examples?

  • What is unclear about `Entry must at least have resources, and one other valid key.`? – jabaa May 25 '22 at 11:57
  • Add `,"matches": ["*://*.youtube.com/*"]` inside web_accessible_resources. – wOxxOm May 25 '22 at 12:44
  • @wOxxOm - Hi, Can you fix an Chrome Extension which injects Javascript on YouTube? I'm new to Javascript (and Chrome Extensions). Will pay for this. Either way, let me know! – Ace.McCloud May 26 '22 at 07:36

0 Answers0