created a custom module (userCSP_filter) to filter website csp rules and condensed code of website csp filtering