Is there any way to add cloud firestore library to content_scripts? I need to add firebase-app.js and firebase-firestore.js
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
I made it work, I just had to download the files from:
https://github.com/firebase/firebase-bower
then I had to convert firebase-firestore.js to utc8
also added this to my manifest.json:"content_security_policy":"script-src 'self' https://www.gstatic.com/ https://*.firebaseio.com https://www.googleapis.com; object-src 'self'",