Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Learn More

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

  • 2 trả lời
  • 0 gặp vấn đề này
  • 45 lượt xem
  • Trả lời mới nhất được viết bởi 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'" }

Tất cả các câu trả lời (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.