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

Hilfe durchsuchen

Vorsicht vor Support-Betrug: Wir fordern Sie niemals auf, eine Telefonnummer anzurufen, eine SMS an eine Telefonnummer zu senden oder persönliche Daten preiszugeben. Bitte melden Sie verdächtige Aktivitäten über die Funktion „Missbrauch melden“.

Weitere Informationen
Archiviert

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

the-edmeister beantwortet
snehalshahdev

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

Alle Antworten (1)

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