This browser-hosted app model is great if your app lives in isolation, but what if you want to store and retrieve data outside of your extension? Or perhaps let users of your extension collaborate with one another?
As of today, you can use Firebase! We’ve updated Firebase to work even in the limited execution environment that Chrome extensions run in.
To get started, we have a sample extension on github you can fork. Or you can create your own extension from scratch and add the following snippet to your manifest.json to allow your extension to access Firebase:
"content_security_policy": "script-src 'self' https://cdn.firebase.com
https://*.firebaseio.com; object-src 'self'"
We look forward to seeing your Firebase-powered Chrome Extensions — happy hacking!
This no longer works.
This comment has been removed by the author.
Confirmed, it doesn't work anymore since Firebase joined Google. I guess something is wrong with protocols, CORS, etc.
not working for 2.4.2? or just the googlier v3?
Please find an alternative to the same