Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

can't make API call from my extension when i remove 'unsafe-inline' in content_security_policy

more options

I am making my extension, I have changed my code according to [ https://developer.mozilla.org/en-US/Add-ons/WebExtensions/manifest.json/content_security_policy ]. but when I remove 'unsafe-inline' in content_security_policy from manifest file then I can not make API call to remote server. please note that it's work on chrome

Please help me to solve this problem.

Thanks

I am making my extension, I have changed my code according to [ https://developer.mozilla.org/en-US/Add-ons/WebExtensions/manifest.json/content_security_policy ]. but when I remove 'unsafe-inline' in content_security_policy from manifest file then I can not make API call to remote server. please note that it's work on chrome Please help me to solve this problem. Thanks

All Replies (1)

more options

Support for add-ons is over here: https://discourse.mozilla-community.org/c/add-ons