|
@ -654,7 +654,7 @@ var onMainDocHeadersReceived = function(details) { |
|
|
|
|
|
|
|
|
// Enforce strict HTTPS?
|
|
|
// Enforce strict HTTPS?
|
|
|
if ( requestScheme === 'https' && µm.tMatrix.evaluateSwitchZ('https-strict', pageStats.pageHostname) ) { |
|
|
if ( requestScheme === 'https' && µm.tMatrix.evaluateSwitchZ('https-strict', pageStats.pageHostname) ) { |
|
|
csp += "default-src https: data: chrome-search: 'unsafe-inline' 'unsafe-eval'"; |
|
|
|
|
|
|
|
|
csp += "default-src chrome-search: data: file: https: wss: 'unsafe-eval' 'unsafe-inline'"; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
// https://github.com/gorhill/httpswitchboard/issues/181
|
|
|
// https://github.com/gorhill/httpswitchboard/issues/181
|
|
|