Zoeken in Support

Vermijd ondersteuningsscams. We zullen u nooit vragen een telefoonnummer te bellen, er een sms naar te sturen of persoonlijke gegevens te delen. Meld verdachte activiteit met de optie ‘Misbruik melden’.

Learn More

Deze conversatie is gearchiveerd. Stel een nieuwe vraag als u hulp nodig hebt.

EvalError: call to eval() blocked by CSP in Mozilla firefox extention

  • 2 antwoorden
  • 0 hebben dit probleem
  • 45 weergaven
  • Laatste antwoord van James

more options

My chrome extension is working fine and i want to make it compatible with Firefox as well. In the extension i have used eval method that is throwing error "EvalError: call to eval() blocked by CSP".

I also tried to add below configuration in the manifest 3 file but still getting the CSP issue. ('wasm-unsafe-eval' is also not working.)

 "content_security_policy": {
   "extension_pages": "script-src 'self' 'unsafe-eval'"
 }
My chrome extension is working fine and i want to make it compatible with Firefox as well. In the extension i have used eval method that is throwing error "EvalError: call to eval() blocked by CSP". I also tried to add below configuration in the manifest 3 file but still getting the CSP issue. ('wasm-unsafe-eval' is also not working.) "content_security_policy": { "extension_pages": "script-src 'self' 'unsafe-eval'" }

Alle antwoorden (2)

more options
more options

Dropa said

Maybe contact the Chrome Extension developer to make one for Firefox is what would have to be done here.

So you want the OP to contact himself about how to make a Chrome extension work on Firefox?

You need to focus on Quality and not Quantity as you have been doing with posting a lot in the last couple days.