6

I just started working with chrome extensions and javascript and saw that everyone suggests to use Manifest version 3 to start off. I wanted to implement firebase into my extension and in the old Manifest version 2 i needed to put in this:

"content_security_policy": "script-src 'self' https://cdn.firebase.com https://apis.google.com https://www.gstatic.com; object-src 'self'"

to make everything work. But this section has changed now in Manifest version 3. Its supposed to look similar to this:

"content_security_policy": {
    "extension_pages": "...",
    "sandbox": "..."
  },

but i can not make it work :/

mr_ying
  • 63
  • 4

1 Answers1

2

This tuto here to may help you. It worked for me.