From ca5c97e6dac40a05c06f217b720f7e92df4c122d Mon Sep 17 00:00:00 2001 From: Kuba Orlik Date: Wed, 24 Nov 2021 14:15:55 +0100 Subject: [PATCH] include pathname in extended request --- extended-request.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/extended-request.ts b/extended-request.ts index e03a8cc..ed3faa9 100644 --- a/extended-request.ts +++ b/extended-request.ts @@ -69,6 +69,7 @@ export default class ExtendedRequest { public origin: string; public initialized = false; public stolenData: StolenDataEntry[]; + public originalPathname: string; constructor(public data: Request) { this.tabId = data.tabId; @@ -103,6 +104,7 @@ export default class ExtendedRequest { this.originalURL = url; this.origin = new URL(url).origin; + this.originalPathname = new URL(url).pathname; } isThirdParty() {