HTML: CSP Filter
Michael A. Peters (contact me)
This class can be used to filter HTML based on Content Security Policy.
It takes a DOM Document object loaded with the structure of an HTML document and process it to find violations of the Content Security Policy definition.
The class changes the document structure to filter and enforce the policy definitions, so the application can serve a compliant HTML document.
Click here for detailed information about this class on phpclasses.org
Aux.
Example iframe/object