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

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

  • 2 replies
  • 0 have this problem
  • 48 views
  • Last reply by 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'" }

All Replies (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.