1

I have a Chrome extension that comes with with some fonts. To make them usable from the extension, my manifest v2 includes

...
"web_accessible_resources": ["fonts/*"],
...

This works well. I looked into upgrading to manifest v3. Here, I'm getting

Error at key 'web_accessible_resources'. Parsing array failed at index 0: expected dictionary, got string

Alright, so I need "resources" and "matches" or "extensions".. Since the extension needs the fonts on all pages, let's try and specify the chrome extension ID:

...
"web_accessible_resources": [
  {
    "resources": ["fonts/*"],
    "extensions": ["mychromeextensionid"]
  }
],
...
Invalid value for 'web_accessible_resources[0]'. Entry must at least have resources, and one other valid key.

Hm, still not working. Any idea what's wrong?

Nico Schlömer
  • 46,467
  • 24
  • 178
  • 218

0 Answers0