You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Firefox, MV3 extensions are not granted host permissions at install time (MDN: host_permissions: Requested permissions and user prompts). This includes patterns in content scripts and host_permissions. To avoid developer confusion, we should emphasize the need to grant the permissions manually, e.g. by recommending to add -u about:addons (and toggling the permissions manually) or through the extension's own UI.
The condition for printing the message is:
manifest_version > 3
host_permissions or content_scripts is non-empty.
Suggested implementation:
Declare an array (to hold the informative messages). E.g. called helpful_messages
When target is Firefox (condition in source code), and manifestData.manifest_version > 3 and content_scripts or host_permissions are non-empty arrays, append the help text to the helpful_messages array.
In Firefox, MV3 extensions are not granted host permissions at install time (MDN:
host_permissions
: Requested permissions and user prompts). This includes patterns in content scripts andhost_permissions
. To avoid developer confusion, we should emphasize the need to grant the permissions manually, e.g. by recommending to add-u about:addons
(and toggling the permissions manually) or through the extension's own UI.The condition for printing the message is:
manifest_version > 3
host_permissions
orcontent_scripts
is non-empty.Suggested implementation:
helpful_messages
manifestData.manifest_version > 3
andcontent_scripts
orhost_permissions
are non-empty arrays, append the help text to thehelpful_messages
array.log.info();
for each message (afterextensionRunner.run();
)The text was updated successfully, but these errors were encountered: