Project

General

Profile

« Previous | Next » 

Revision 3d0efa15

Added by koszko about 2 years ago

remove unneeded policy-related cosole messages; restore IceCat 60 compatibility

View differences:

background/policy_injector.js
33 33

  
34 34
function headers_inject(details)
35 35
{
36
    console.log("ijnector details", details);
37 36
    const url = details.url;
38 37
    if (is_privileged_url(url))
39 38
	return;
......
70 69
	headers.push(hachette_header);
71 70
    }
72 71

  
73
    orig_csp_headers ||=
72
    orig_csp_headers = orig_csp_headers ||
74 73
	headers.filter(h => csp_header_names.has(h.name.toLowerCase()));
75 74
    headers = headers.filter(h => !csp_header_names.has(h.name.toLowerCase()));
76 75

  

Also available in: Unified diff