Edit Content Security Policy in onHeadersReceived
问题 I'm developing a small chrome extension for myself to embed an iframe into the website. Content Security Policy makes this difficult, since the frame-src directive on a few websites doesn't allow my content to be loaded. The error message is the following: Refused to frame 'mydomain' because it violates the following Content Security Policy directive: "frame-src someotherdomain". So far, I have tried adding my host to the frame-src directive and to the frame-ancestors in webRequest