I'm trying to build an chrome extension that captures and displays screen shots using a side panel.
I've managed to successfully use the following code from a popup. However when I migrate the same code across to run from a side panel I'm getting what appears to be permission errors. However, I believe I've provided all the right permissions. Â
I've tried various combos, including calling the API via the service worker and passing it back, but it all results in the same error.
I've included the code below:
manifest.json
sidepanel-global.html
Screenshot.js
I get the following error message:
--
You received this message because you are subscribed to the Google Groups "Chromium Extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extens...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/b6fa440e-3811-453b-83a8-58b7b282046fn%40chromium.org.
I was under the impression "<all_urls>" was deprecated. I did already try that never the less, but I get the following error, when I add it When I add it to "permissions" in the Manifesto