![Electron中Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'self'". - xkfx - 博客园 Electron中Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'self'". - xkfx - 博客园](https://img2020.cnblogs.com/blog/1042431/202111/1042431-20211114215128858-588286866.png)
Electron中Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'self'". - xkfx - 博客园
![javascript - Violating Content Secuirty Policy in Electron app using React and Webpack - Stack Overflow javascript - Violating Content Secuirty Policy in Electron app using React and Webpack - Stack Overflow](https://i.stack.imgur.com/OewAW.png)
javascript - Violating Content Secuirty Policy in Electron app using React and Webpack - Stack Overflow
Support setting Content-Security-Policy when creating BrowserWindow · Issue #12909 · electron/electron · GitHub
![Unable to frame site whose CSP contains `frame-ancestors *` inside <iframe> or <webview> · Issue #26369 · electron/electron · GitHub Unable to frame site whose CSP contains `frame-ancestors *` inside <iframe> or <webview> · Issue #26369 · electron/electron · GitHub](https://user-images.githubusercontent.com/30305945/98435862-5e536a00-208b-11eb-8993-c5f693491a1c.png)
Unable to frame site whose CSP contains `frame-ancestors *` inside <iframe> or <webview> · Issue #26369 · electron/electron · GitHub
![electron - I added a Content-Security-Policy but still the security warning appears - Stack Overflow electron - I added a Content-Security-Policy but still the security warning appears - Stack Overflow](https://i.stack.imgur.com/Ge0Dx.png)
electron - I added a Content-Security-Policy but still the security warning appears - Stack Overflow
![javascript - Content Security conflictions with Electron when trying to load firebase - Stack Overflow javascript - Content Security conflictions with Electron when trying to load firebase - Stack Overflow](https://i.stack.imgur.com/5pbO4.png)
javascript - Content Security conflictions with Electron when trying to load firebase - Stack Overflow
![javascript - Violating Content Secuirty Policy in Electron app using React and Webpack - Stack Overflow javascript - Violating Content Secuirty Policy in Electron app using React and Webpack - Stack Overflow](https://i.stack.imgur.com/qU1Cn.png)