搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Issue with check of permission during update in web extentions

more options

Dear Support,

Recently we have migrated our addon from XPI to web extensions. After this we faced with issue during addon update. If we add new URL in manifest file, Firefox blocks addon and asks confirmation from client to accept new permissions.

The issue is we already asked permissions to all URLs. And user already agreed with it. And there is no reason to ask again to confirm for specific URL. It requires unuseful actions from user. Please could you fix it?

This is how we requested permissions to all URLs in manifest file:

 "permissions": [
    ...
   "notifications",
   "storage",
   "tabs",
   "<all_urls>",
   "clipboardWrite"
 ],

The line is "<all_urls>"

Thanks

Regards, Dmitry

Dear Support, Recently we have migrated our addon from XPI to web extensions. After this we faced with issue during addon update. If we add new URL in manifest file, Firefox blocks addon and asks confirmation from client to accept new permissions. The issue is we already asked permissions to all URLs. And user already agreed with it. And there is no reason to ask again to confirm for specific URL. It requires unuseful actions from user. Please could you fix it? This is how we requested permissions to all URLs in manifest file: "permissions": [ ... "notifications", "storage", "tabs", "<all_urls>", "clipboardWrite" ], The line is "<all_urls>" Thanks Regards, Dmitry

所有回覆 (3)

more options

Support Volunteers can't make changes to Firefox and the developers do not directly monitor this site. To submit suggestions for new or changed features, may I suggest:

Feedback: https://qsurvey.mozilla.com/s3/FirefoxInput/ Facebook: https://www.facebook.com/Firefox Reddit: https://www.reddit.com/r/firefox/ Twitter: https://twitter.com/firefox

Or contact through the info that was provided.

Please let us know if this solved your issue or if need further assistance.

more options

The Add-ons Support website is over here: https://discourse.mozilla.org/c/add-ons

more options

If you have permission for <all_urls> already, why would you add a particular URL to the manifest.json file? It seems unnecessary. But... I'm not an extension developer and agree that the Add-ons forum would be the best place to sort it out.