diff --git a/chromium/background-scripts/background.js b/chromium/background-scripts/background.js index 28c7ead654e8..a37f07f5e505 100644 --- a/chromium/background-scripts/background.js +++ b/chromium/background-scripts/background.js @@ -322,6 +322,13 @@ function onBeforeRequest(details) { let uri = new URL(details.url); + /** + * We never wanted to rewrite HTTPS requests + */ + if ('https:' === uri.protocol) { + return; + } + // Check if a user has disabled HTTPS Everywhere on this site. We should // ensure that all subresources are not run through HTTPS Everywhere as well. let firstPartyHost;