You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, I'm unable to access the Chrome Extension Group so I will post here.
I'm just wondering if anyone knows how to grab data from the service worker (background script) and receive it at the popup page. I am using airtable and it has some sensitive information for the configuration I don't want to leak out so I have it setup in my background script. I just want to transfer certain data and display it on the client safely.
Is there any available examples?
The text was updated successfully, but these errors were encountered:
@oliverdunk we can do message passing using chrome.tabs.sendMessage and listening for it on the other side.
We can also do asymmetric encryption of the message but I think it would be an overkill because I think this message passing API is safe enough, thoughts?
Agreed that encryption would be too much here. We already have an Action API demo. Perhaps you could update that with some simple functionality where the popup gets some data by messaging the background?
Currently, I'm unable to access the Chrome Extension Group so I will post here.
I'm just wondering if anyone knows how to grab data from the service worker (background script) and receive it at the popup page. I am using airtable and it has some sensitive information for the configuration I don't want to leak out so I have it setup in my background script. I just want to transfer certain data and display it on the client safely.
Is there any available examples?
The text was updated successfully, but these errors were encountered: