chrome-extensions-samples icon indicating copy to clipboard operation
chrome-extensions-samples copied to clipboard

Sample: transfer data (sensitive api) from background to popup

Open hyfydistro opened this issue 1 year ago • 6 comments

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?

hyfydistro avatar Nov 10 '22 18:11 hyfydistro