How to Disable CSP


I have a Drupal website with some pages developed in react.
I noticed CSP is blocking some files on the browser console.

I removed the CSP setting on (a) appache security and (b) node_modules.
Inspite of that the site CSP is still blocking some js files.

Any help please?

You can turn off the CSP for your entire browser in Firefox by disabling security. csp. enable in the about:config menu. If you do this, you should use an entirely separate browser for testing.

Thanks for the response Albert.
I am getting this issue on both Chrome and firefox.

If we take firefox, for instance:
(a) I disabled the bocking for content

(b) close firefox and open with the website, still CSP is blocking files

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.