Compare commits

..

No commits in common. "399b5eca9d0c1d3584b8c730b28d2f9545f02397" and "4de71fbc1def2a3966f98b234e7d25a98abb9d3f" have entirely different histories.

2 changed files with 2 additions and 10 deletions

View File

@ -59,17 +59,9 @@ export default class ExtendedRequest {
if (this.data.tabId && this.data.tabId >= 0) {
const tab = await browser.tabs.get(this.data.tabId);
url = tab.url;
} else if ((this.data as any)?.frameAncestors) {
url = (this.data as any).frameAncestors[0].url || "";
} else {
const headers = Object.fromEntries(
this.data.requestHeaders.map(({ name, value }) => [name, value])
);
if (headers.Referer) {
url = headers.Referer;
}
url = (this.data as any).frameAncestors?.[0].url || "";
}
this.originalURL = url;
this.origin = new URL(url).origin;
}

View File

@ -40,7 +40,7 @@ export default function EmailTemplate({
</ul>
{popupState === "not_clicked" ? (
<p>
Dane te zostały wysłane przez Państwa stronę, zanim zdążyłem w ogóle
Dane te zostały wysłane przez Państwa stronę zanim zdążyłem w ogóle
przeczytać treść wyskakującego okienka ze zgodami.
</p>
) : null}