Open benholtzmansmith opened 5 years ago
any ideas on this? I'm running into the same issue...
So after further investigation, I think it's because this chrome extension doesn't modify CSP headers when the request is from a service worker.
Gmail's service workers make requests that include the CSP headers above. It appears that there's no convenient API for this, either (https://groups.google.com/a/chromium.org/forum/#!topic/chromium-extensions/j4amGInvP5E).
So, not sure if we're just stuck or if there's a better way to proceed.
@dominicbarnes, any insights here?
I am using chrome-sidebar to load a website as an iframe. When I try to run the extension on gmail (https://mail.google.com/mail) - I get the following error:
it seems like this is caused by the restrictive Content Security Policy: https://bugs.chromium.org/p/chromium/issues/detail?id=408932
However, looking through the source code, it seems like this code modifies the proper "frame-src" permissions and loads the iframe in the same way specified here:https://stackoverflow.com/questions/24641592/injecting-iframe-into-page-with-restrictive-content-security-policy
any idea why this error is still occurring? it loads perfectly on every other website aside from https://mail.google.com/mail