I'm trying to update a simple extension to Manifest V3. I must be doing something wrong, because simple tags such as permissions
don't work right...I know Chrome is reading the stanza, because I get an error if I put a bogus permission in, but the about://extensions doesn't show permission contextMenus
for my extension, even though it's there. And chrome.contextMenus
is undefined, so I can't create my menu.
Is Manifest V3 still half-baked and not-ready-for-primetime, or am I doing something stupid that is silently ignored?
{
"manifest_version": 3,
"name": "TESS+",
"version": "0.043",
"description": "TESS+ -- My browser extension",
"icons": {
"48": "TESS+Icon.png"
},
"content_scripts": [
{
"matches": ["*://tmsearch.uspto.gov/bin/showfield*" ],
"js": ["jquery-3.6.0.min.js", "tess+.js", "FH.js", "DateTime.js"]
}
],
"background": {
"service_worker": "tess-bg.js"
},
"web_accessible_resources": [
{
"resources": [ "TESS+Button.png" ],
"matches": [ "https://tsdr.uspto.gov/*" ]
}
],
"permissions": [
"contextMenus"
],
"host_permissions": [
"http://tsdr.uspto.gov/",
"https://tsdr.uspto.gov/"
]
}