Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

সহায়তা খুঁজুন

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.

আরও জানুন

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

  • 1 উত্তর
  • 1 এই সমস্যাটি আছে
  • 37 দেখুন
  • শেষ জবাব দ্বারা the-edmeister

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)

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