I’m creating Firefox Addon that will replace default “new tab page” with custom html page stored locally. I plan to sync data with web app hosted in Firebase. Unfortunately, I’m stuck, because there is a problem with implementing Firebase Google sign-in.
This is a message I see when I connect to Firebase in order to display login popup:
This operation is not supported in the environment this application is running on. “location.protocol” must be http, https or chrome-extension and web storage must be enabled
My current “location.protocol” is moz-extension
since I’m displaying HTML page hosted locally using Firefox addon.
Are there any workarounds on that? Can I somehow “simulate” http or chrome-extension?