搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

Learn More

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

  • 2 个回答
  • 0 人有此问题
  • 45 次查看
  • 最后回复者为 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'" }

所有回复 (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.