I’m testing an extension that needs access to read data on all sites. My understanding is that this is accomplished with "host_permissions" : ["<all_urls>"]
in manifest v3. My expectation is that firefox requests this permission explicitly from the user, on the extension’s behalf, upon installation.
I can’t get this to work in firefox. (Chrome presents no problems.) By default, the extension does not have access to read data on all sites, and the user is not prompted to grant the permission. I should mention that I’m testing this as a temporary extension.
Using manifest v2, on the other hand, the following content script permission appear to be sufficient:
"content_scripts": [
{
"matches":["<all_urls>"],
"js":["js/content.js"]
}
]
Although I am not prompted to grant these permissions when loading the extension as a temporary extension, the extension has the necessary permission on all sites by default.
How do I get this to work with manifest v3? This feels like a trivial question, but unfortunately I’ve come up short after lots of searching.