aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWojtek Kosior <koszko@koszko.org>2022-03-09 18:10:46 +0100
committerWojtek Kosior <koszko@koszko.org>2022-03-10 11:43:59 +0100
commiteae2250e77c53c5e16725b591f51f5d197ac4efa (patch)
treef7d70a631e53c2e31df5787fff7b6c97d6198514
parentaacacbb831c5658fc10b142c3b71efff7a7bdbc1 (diff)
downloadbrowser-extension-eae2250e77c53c5e16725b591f51f5d197ac4efa.tar.gz
browser-extension-eae2250e77c53c5e16725b591f51f5d197ac4efa.zip
fix incorrect variable reference
-rw-r--r--background/webrequest.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/background/webrequest.js b/background/webrequest.js
index f0c5b1b..446ad45 100644
--- a/background/webrequest.js
+++ b/background/webrequest.js
@@ -129,7 +129,7 @@ function on_before_request(details)
const queried_url = decodeURIComponent(match[1]);
if (details.initiator && !queried_url.startsWith(details.initiator)) {
- console.warn(`Haketilo: Blocked suspicious query of '${url}' by '${details.initiator}'. This might be the result of page fingerprinting the browser.`);
+ console.warn(`Haketilo: Blocked suspicious query of '${queried_url}' by '${details.initiator}'. This might be the result of page fingerprinting the browser.`);
return {cancel: true};
}