Compare commits

..

No commits in common. "6b18df246c1e3425a1a6188365adc0433b69916b" and "1ec726f52ec22386ebbc296e3c3be794b2ab788c" have entirely different histories.

8 changed files with 16 additions and 17 deletions

View File

@ -6,7 +6,7 @@ function renderDataList() {
właściciel domeny <i>${shorthost}</i> otrzymał mój adres IP i część właściciel domeny <i>${shorthost}</i> otrzymał mój adres IP i część
mojej historii mojej historii
przeglądania${atLeastOneCookiedRequest(requests) przeglądania${atLeastOneCookiedRequest(requests)
? " <strong>opatrzoną moim identyfikatorem internetowym z Cookies</strong>" ? " <strong>opatrzoną sztucznie nadanym mi ID z Cookies</strong>"
: ""}; : ""};
</li>` </li>`
) )

View File

@ -3,7 +3,7 @@ import { RequestCluster } from "../request-cluster";
import { Classifications, Sources } from "../stolen-data-entry"; import { Classifications, Sources } from "../stolen-data-entry";
const emailClassifications: Record<keyof typeof Classifications, string> = { const emailClassifications: Record<keyof typeof Classifications, string> = {
id: "mój identyfikator internetowy", id: "sztucznie nadane mi ID",
history: "część mojej historii przeglądania", history: "część mojej historii przeglądania",
location: "informacje na temat mojej lokalizacji geograficznej", location: "informacje na temat mojej lokalizacji geograficznej",
}; };

View File

@ -19,8 +19,9 @@ export default function EmailTemplate1({
const [acceptAllName, setAcceptAllName] = useState<string>( const [acceptAllName, setAcceptAllName] = useState<string>(
"Zaakceptuj wszystkie" "Zaakceptuj wszystkie"
); );
const [popupScreenshotBase64, setPopupScreenshotBase64] = const [popupScreenshotBase64, setPopupScreenshotBase64] = useState<string>(
useState<string>(null); null
);
return ( return (
<div> <div>
@ -153,9 +154,9 @@ export default function EmailTemplate1({
pkt 1 lit. b) RODO (niezbędność takiego przetwarzania do wykonania pkt 1 lit. b) RODO (niezbędność takiego przetwarzania do wykonania
umowy), proszę o wskazanie, w jaki sposób ta konieczność zachodzi, oraz umowy), proszę o wskazanie, w jaki sposób ta konieczność zachodzi, oraz
co sprawia, że Państwa zdaniem nie można wykonać umowy związanej z co sprawia, że Państwa zdaniem nie można wykonać umowy związanej z
wyświetleniem Państwa strony bez przekazywania identyfikatora wyświetleniem Państwa strony bez przekazywania sztucznie nadanego ID w
internetowego z plików Cookies lub historii przeglądania w nagłówku plikach Cookies lub historii przeglądania w nagłówku Referer do
Referer do wskazanych podmiotów trzecich. wskazanych podmiotów trzecich.
</p> </p>
<p> <p>
Jeżeli wskazaną przez Państwa przesłanką legalizującą dany element Jeżeli wskazaną przez Państwa przesłanką legalizującą dany element

View File

@ -28,8 +28,7 @@ function ClusterRangeSummary({ cluster }: { cluster: RequestCluster }) {
{[ {[
"Pańskiego adresu IP", "Pańskiego adresu IP",
range.includes("id") range.includes("id")
? "Pańskiego identyfikatora interenetowego" + ? "sztucznie nadanego id" + (has_cookie_ids ? " z cookie" : "")
(has_cookie_ids ? " z cookie" : "")
: "", : "",
range.includes("history") range.includes("history")
? "części Pańskiej historii przeglądania" ? "części Pańskiej historii przeglądania"

View File

@ -59,7 +59,7 @@ function DataPreview({
> >
{[ {[
["history", "Historia przeglądania"], ["history", "Historia przeglądania"],
["id", "Identyfikator internetowy"], ["id", "Sztucznie nadane id"],
["location", "Lokalizacja"], ["location", "Lokalizacja"],
].map(([key, name]) => ( ].map(([key, name]) => (
<option key={key} value={key}> <option key={key} value={key}>

View File

@ -85,6 +85,8 @@ export class RequestCluster extends EventEmitter {
if ( if (
array[index].getValuePreview() === array[index].getValuePreview() ===
array[index - 1].getValuePreview() || array[index - 1].getValuePreview() ||
(array[index].classification === "history" &&
array[index - 1].classification === "history") || // if they're both history, then the first one is the longest
isSameURL(array[index].value, array[index - 1].value) isSameURL(array[index].value, array[index - 1].value)
) { ) {
return false; return false;

View File

@ -52,7 +52,6 @@ function StolenDataRow({ entry }: { entry: StolenDataEntry }) {
width: "100px", width: "100px",
overflowWrap: "anywhere", overflowWrap: "anywhere",
}} }}
title={"Źródło: " + entry.source}
onClick={() => entry.toggleMark()} onClick={() => entry.toggleMark()}
> >
{entry.name} {entry.name}

View File

@ -21,7 +21,7 @@ export type Sources =
| "request_body"; | "request_body";
export const Classifications = <const>{ export const Classifications = <const>{
id: "Identyfikator internetowy", id: "Sztucznie nadane ID",
history: "Część historii przeglądania", history: "Część historii przeglądania",
location: "Informacje na temat mojego położenia", location: "Informacje na temat mojego położenia",
}; };
@ -122,11 +122,9 @@ export class StolenDataEntry extends EventEmitter {
} }
} }
const searchParams = Object.fromEntries( const searchParams = Object.fromEntries(
( ((url.searchParams as unknown) as {
url.searchParams as unknown as { entries: () => Iterable<[string, string]>;
entries: () => Iterable<[string, string]>; }).entries()
}
).entries()
); );
if (typeof hash !== "object" && Object.keys(searchParams).length === 0) { if (typeof hash !== "object" && Object.keys(searchParams).length === 0) {
return value; // just a string; return value; // just a string;