From 7025abdb2d3c338caf338f4002425be13b06717d Mon Sep 17 00:00:00 2001 From: claustromaniac <20734810+claustromaniac@users.noreply.github.com> Date: Tue, 25 Dec 2018 23:31:42 -0300 Subject: [PATCH] fix referer spoofing console message --- src/bg/webRequest.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bg/webRequest.js b/src/bg/webRequest.js index c690b86..4c54e39 100644 --- a/src/bg/webRequest.js +++ b/src/bg/webRequest.js @@ -97,7 +97,7 @@ if (settings.referers) { newHeaders.push({name:'Referer', value:`${d.url}`}); console.debug( - `Privacy-Oriented Origin Policy: Referer spoofed (request #${d.requestId})\n${target.origin}` + `Privacy-Oriented Origin Policy: Referer spoofed (request #${d.requestId})\n${d.url}` ); } else newHeaders.push(referer); }