include pathname in extended request

This commit is contained in:
Kuba Orlik 2021-11-24 14:15:55 +01:00
parent 2dfb7f2fef
commit ca5c97e6da

View File

@ -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() {