(default settings)
|
brave 1.62 |
chrome 121.0 |
duckduckgo 5.187 |
edge 121.0 |
firefox 122.0 |
focus 122.1 |
mull 121.0 |
opera 80.2 |
samsung 23.0 |
tor 115.2 |
vivaldi 6.5 |
yandex 24.1 |
---|---|---|---|---|---|---|---|---|---|---|---|---|
State Partitioning testsWhich browsers isolate websites to prevent them from sharing data to track you?
A common vulnerability of web browsers is that they allow tracking companies to 'tag' your browser with some data ('state') that identifies you. When third-party trackers are embedded in websites, they can see this identifying data as you browse to different websites. Fortunately, it is possible for this category of leaks to be fixed by partitioning all data stored in the browser such that no data can be shared between websites. | ||||||||||||
Alt-Svc
Alt-Svc allows the server to indicate to the web browser that a resource should be loaded on a different server. Because this is a persistent setting, it could be used to track users across websites if it is not correctly partitioned. |
write: async () => { // Clear Alt-Svc caching first. let responseText = ""; for (let i = 0; i < 3; ++i) { await fetch(altSvcOrigin + "/clear"); await sleepMs(100); } responseText = await fetchText(altSvcOrigin + "/protocol"); console.log("after clear:", responseText); // Store "h3" state in Alt-Svc cache for (let i = 0; i < 3; ++i) { await fetch(altSvcOrigin + "/set"); await sleepMs(100); } responseText = await fetchText(altSvcOrigin + "/protocol"); console.log("after set:", responseText); } read: async () => { const protocol = await fetchText(altSvcOrigin + "/protocol"); if ((new URL(location)).searchParams.get("thirdparty") === "same") { if (protocol !== "h3") { throw new Error("Unsupported"); } } return protocol; } result, same first party: h3 result, different first party: h2 unsupported: false passed: true test failed: false |
write: async () => { // Clear Alt-Svc caching first. let responseText = ""; for (let i = 0; i < 3; ++i) { await fetch(altSvcOrigin + "/clear"); await sleepMs(100); } responseText = await fetchText(altSvcOrigin + "/protocol"); console.log("after clear:", responseText); // Store "h3" state in Alt-Svc cache for (let i = 0; i < 3; ++i) { await fetch(altSvcOrigin + "/set"); await sleepMs(100); } responseText = await fetchText(altSvcOrigin + "/protocol"); console.log("after set:", responseText); } read: async () => { const protocol = await fetchText(altSvcOrigin + "/protocol"); if ((new URL(location)).searchParams.get("thirdparty") === "same") { if (protocol !== "h3") { throw new Error("Unsupported"); } } return protocol; } result, same first party: h3 result, different first party: h2 unsupported: false passed: true test failed: false |
write: async () => { // Clear Alt-Svc caching first. let responseText = ""; for (let i = 0; i < 3; ++i) { await fetch(altSvcOrigin + "/clear"); await sleepMs(100); } responseText = await fetchText(altSvcOrigin + "/protocol"); console.log("after clear:", responseText); // Store "h3" state in Alt-Svc cache for (let i = 0; i < 3; ++i) { await fetch(altSvcOrigin + "/set"); await sleepMs(100); } responseText = await fetchText(altSvcOrigin + "/protocol"); console.log("after set:", responseText); } read: async () => { const protocol = await fetchText(altSvcOrigin + "/protocol"); if ((new URL(location)).searchParams.get("thirdparty") === "same") { if (protocol !== "h3") { throw new Error("Unsupported"); } } return protocol; } result, same first party: h3 result, different first party: h3 unsupported: false passed: false test failed: false |
write: async () => { // Clear Alt-Svc caching first. let responseText = ""; for (let i = 0; i < 3; ++i) { await fetch(altSvcOrigin + "/clear"); await sleepMs(100); } responseText = await fetchText(altSvcOrigin + "/protocol"); console.log("after clear:", responseText); // Store "h3" state in Alt-Svc cache for (let i = 0; i < 3; ++i) { await fetch(altSvcOrigin + "/set"); await sleepMs(100); } responseText = await fetchText(altSvcOrigin + "/protocol"); console.log("after set:", responseText); } read: async () => { const protocol = await fetchText(altSvcOrigin + "/protocol"); if ((new URL(location)).searchParams.get("thirdparty") === "same") { if (protocol !== "h3") { throw new Error("Unsupported"); } } return protocol; } result, same first party: h3 result, different first party: h2 unsupported: false passed: true test failed: false |
write: async () => { // Clear Alt-Svc caching first. let responseText = ""; for (let i = 0; i < 3; ++i) { await fetch(altSvcOrigin + "/clear"); await sleepMs(100); } responseText = await fetchText(altSvcOrigin + "/protocol"); console.log("after clear:", responseText); // Store "h3" state in Alt-Svc cache for (let i = 0; i < 3; ++i) { await fetch(altSvcOrigin + "/set"); await sleepMs(100); } responseText = await fetchText(altSvcOrigin + "/protocol"); console.log("after set:", responseText); } read: async () => { const protocol = await fetchText(altSvcOrigin + "/protocol"); if ((new URL(location)).searchParams.get("thirdparty") === "same") { if (protocol !== "h3") { throw new Error("Unsupported"); } } return protocol; } result, same first party: h3 result, different first party: h2 unsupported: false passed: true test failed: false |
write: async () => { // Clear Alt-Svc caching first. let responseText = ""; for (let i = 0; i < 3; ++i) { await fetch(altSvcOrigin + "/clear"); await sleepMs(100); } responseText = await fetchText(altSvcOrigin + "/protocol"); console.log("after clear:", responseText); // Store "h3" state in Alt-Svc cache for (let i = 0; i < 3; ++i) { await fetch(altSvcOrigin + "/set"); await sleepMs(100); } responseText = await fetchText(altSvcOrigin + "/protocol"); console.log("after set:", responseText); } read: async () => { const protocol = await fetchText(altSvcOrigin + "/protocol"); if ((new URL(location)).searchParams.get("thirdparty") === "same") { if (protocol !== "h3") { throw new Error("Unsupported"); } } return protocol; } result, same first party: h3 result, different first party: h2 unsupported: false passed: true test failed: false |
write: async () => { // Clear Alt-Svc caching first. let responseText = ""; for (let i = 0; i < 3; ++i) { await fetch(altSvcOrigin + "/clear"); await sleepMs(100); } responseText = await fetchText(altSvcOrigin + "/protocol"); console.log("after clear:", responseText); // Store "h3" state in Alt-Svc cache for (let i = 0; i < 3; ++i) { await fetch(altSvcOrigin + "/set"); await sleepMs(100); } responseText = await fetchText(altSvcOrigin + "/protocol"); console.log("after set:", responseText); } read: async () => { const protocol = await fetchText(altSvcOrigin + "/protocol"); if ((new URL(location)).searchParams.get("thirdparty") === "same") { if (protocol !== "h3") { throw new Error("Unsupported"); } } return protocol; } result, same first party: h3 result, different first party: h2 unsupported: false passed: true test failed: false |
write: async () => { // Clear Alt-Svc caching first. let responseText = ""; for (let i = 0; i < 3; ++i) { await fetch(altSvcOrigin + "/clear"); await sleepMs(100); } responseText = await fetchText(altSvcOrigin + "/protocol"); console.log("after clear:", responseText); // Store "h3" state in Alt-Svc cache for (let i = 0; i < 3; ++i) { await fetch(altSvcOrigin + "/set"); await sleepMs(100); } responseText = await fetchText(altSvcOrigin + "/protocol"); console.log("after set:", responseText); } read: async () => { const protocol = await fetchText(altSvcOrigin + "/protocol"); if ((new URL(location)).searchParams.get("thirdparty") === "same") { if (protocol !== "h3") { throw new Error("Unsupported"); } } return protocol; } result, same first party: h3 result, different first party: h2 unsupported: false passed: true test failed: false |
write: async () => { // Clear Alt-Svc caching first. let responseText = ""; for (let i = 0; i < 3; ++i) { await fetch(altSvcOrigin + "/clear"); await sleepMs(100); } responseText = await fetchText(altSvcOrigin + "/protocol"); console.log("after clear:", responseText); // Store "h3" state in Alt-Svc cache for (let i = 0; i < 3; ++i) { await fetch(altSvcOrigin + "/set"); await sleepMs(100); } responseText = await fetchText(altSvcOrigin + "/protocol"); console.log("after set:", responseText); } read: async () => { const protocol = await fetchText(altSvcOrigin + "/protocol"); if ((new URL(location)).searchParams.get("thirdparty") === "same") { if (protocol !== "h3") { throw new Error("Unsupported"); } } return protocol; } result, same first party: Error: Unsupported, Error: Unsupported, Error: Unsupported, Error: Unsupported, Error: Unsupported result, different first party: h2, h2, h2, h2, h2 unsupported: true, true, true, true, true passed: undefined test failed: false, false, false, false, false |
write: async () => { // Clear Alt-Svc caching first. let responseText = ""; for (let i = 0; i < 3; ++i) { await fetch(altSvcOrigin + "/clear"); await sleepMs(100); } responseText = await fetchText(altSvcOrigin + "/protocol"); console.log("after clear:", responseText); // Store "h3" state in Alt-Svc cache for (let i = 0; i < 3; ++i) { await fetch(altSvcOrigin + "/set"); await sleepMs(100); } responseText = await fetchText(altSvcOrigin + "/protocol"); console.log("after set:", responseText); } read: async () => { const protocol = await fetchText(altSvcOrigin + "/protocol"); if ((new URL(location)).searchParams.get("thirdparty") === "same") { if (protocol !== "h3") { throw new Error("Unsupported"); } } return protocol; } result, same first party: Error: Unsupported result, different first party: h2 unsupported: true passed: undefined test failed: false |
write: async () => { // Clear Alt-Svc caching first. let responseText = ""; for (let i = 0; i < 3; ++i) { await fetch(altSvcOrigin + "/clear"); await sleepMs(100); } responseText = await fetchText(altSvcOrigin + "/protocol"); console.log("after clear:", responseText); // Store "h3" state in Alt-Svc cache for (let i = 0; i < 3; ++i) { await fetch(altSvcOrigin + "/set"); await sleepMs(100); } responseText = await fetchText(altSvcOrigin + "/protocol"); console.log("after set:", responseText); } read: async () => { const protocol = await fetchText(altSvcOrigin + "/protocol"); if ((new URL(location)).searchParams.get("thirdparty") === "same") { if (protocol !== "h3") { throw new Error("Unsupported"); } } return protocol; } result, same first party: h3 result, different first party: h2 unsupported: false passed: true test failed: false |
write: async () => { // Clear Alt-Svc caching first. let responseText = ""; for (let i = 0; i < 3; ++i) { await fetch(altSvcOrigin + "/clear"); await sleepMs(100); } responseText = await fetchText(altSvcOrigin + "/protocol"); console.log("after clear:", responseText); // Store "h3" state in Alt-Svc cache for (let i = 0; i < 3; ++i) { await fetch(altSvcOrigin + "/set"); await sleepMs(100); } responseText = await fetchText(altSvcOrigin + "/protocol"); console.log("after set:", responseText); } read: async () => { const protocol = await fetchText(altSvcOrigin + "/protocol"); if ((new URL(location)).searchParams.get("thirdparty") === "same") { if (protocol !== "h3") { throw new Error("Unsupported"); } } return protocol; } result, same first party: h3 result, different first party: h2 unsupported: false passed: true test failed: false |
blob
A 'blob URL' is a local reference to some raw data. Trackers can use a blob URL to share data between websites. |
write: (secret) => { try { let blobURL = URL.createObjectURL(new Blob([secret])); fetch(`${baseURI}blob?mode=write&key=${secret}&blobUrl=${encodeURIComponent(blobURL)}`); } catch (e) { throw new Error("Unsupported"); } } read: async (secret) => { let response = await fetch(`${baseURI}blob?mode=read&key=${secret}`); let result = await response.json(); let blobUrl = decodeURIComponent(result.blobUrl); let blobResponse = await fetch(blobUrl); return blobResponse.text(); } result, same first party: Error: Failed to fetch result, different first party: Error: Failed to fetch unsupported: false passed: true test failed: false |
write: (secret) => { try { let blobURL = URL.createObjectURL(new Blob([secret])); fetch(`${baseURI}blob?mode=write&key=${secret}&blobUrl=${encodeURIComponent(blobURL)}`); } catch (e) { throw new Error("Unsupported"); } } read: async (secret) => { let response = await fetch(`${baseURI}blob?mode=read&key=${secret}`); let result = await response.json(); let blobUrl = decodeURIComponent(result.blobUrl); let blobResponse = await fetch(blobUrl); return blobResponse.text(); } result, same first party: Error: Failed to fetch result, different first party: Error: Failed to fetch unsupported: false passed: true test failed: false |
write: (secret) => { try { let blobURL = URL.createObjectURL(new Blob([secret])); fetch(`${baseURI}blob?mode=write&key=${secret}&blobUrl=${encodeURIComponent(blobURL)}`); } catch (e) { throw new Error("Unsupported"); } } read: async (secret) => { let response = await fetch(`${baseURI}blob?mode=read&key=${secret}`); let result = await response.json(); let blobUrl = decodeURIComponent(result.blobUrl); let blobResponse = await fetch(blobUrl); return blobResponse.text(); } result, same first party: Error: Failed to fetch result, different first party: Error: Failed to fetch unsupported: false passed: true test failed: false |
write: (secret) => { try { let blobURL = URL.createObjectURL(new Blob([secret])); fetch(`${baseURI}blob?mode=write&key=${secret}&blobUrl=${encodeURIComponent(blobURL)}`); } catch (e) { throw new Error("Unsupported"); } } read: async (secret) => { let response = await fetch(`${baseURI}blob?mode=read&key=${secret}`); let result = await response.json(); let blobUrl = decodeURIComponent(result.blobUrl); let blobResponse = await fetch(blobUrl); return blobResponse.text(); } result, same first party: Error: Failed to fetch result, different first party: Error: Failed to fetch unsupported: false passed: true test failed: false |
write: (secret) => { try { let blobURL = URL.createObjectURL(new Blob([secret])); fetch(`${baseURI}blob?mode=write&key=${secret}&blobUrl=${encodeURIComponent(blobURL)}`); } catch (e) { throw new Error("Unsupported"); } } read: async (secret) => { let response = await fetch(`${baseURI}blob?mode=read&key=${secret}`); let result = await response.json(); let blobUrl = decodeURIComponent(result.blobUrl); let blobResponse = await fetch(blobUrl); return blobResponse.text(); } result, same first party: Error: NetworkError when attempting to fetch resource. result, different first party: Error: NetworkError when attempting to fetch resource. unsupported: false passed: undefined test failed: true |
write: (secret) => { try { let blobURL = URL.createObjectURL(new Blob([secret])); fetch(`${baseURI}blob?mode=write&key=${secret}&blobUrl=${encodeURIComponent(blobURL)}`); } catch (e) { throw new Error("Unsupported"); } } read: async (secret) => { let response = await fetch(`${baseURI}blob?mode=read&key=${secret}`); let result = await response.json(); let blobUrl = decodeURIComponent(result.blobUrl); let blobResponse = await fetch(blobUrl); return blobResponse.text(); } result, same first party: Error: NetworkError when attempting to fetch resource. result, different first party: Error: NetworkError when attempting to fetch resource. unsupported: false passed: undefined test failed: true |
write: (secret) => { try { let blobURL = URL.createObjectURL(new Blob([secret])); fetch(`${baseURI}blob?mode=write&key=${secret}&blobUrl=${encodeURIComponent(blobURL)}`); } catch (e) { throw new Error("Unsupported"); } } read: async (secret) => { let response = await fetch(`${baseURI}blob?mode=read&key=${secret}`); let result = await response.json(); let blobUrl = decodeURIComponent(result.blobUrl); let blobResponse = await fetch(blobUrl); return blobResponse.text(); } result, same first party: Error: NetworkError when attempting to fetch resource. result, different first party: Error: NetworkError when attempting to fetch resource. unsupported: false passed: undefined test failed: true |
write: (secret) => { try { let blobURL = URL.createObjectURL(new Blob([secret])); fetch(`${baseURI}blob?mode=write&key=${secret}&blobUrl=${encodeURIComponent(blobURL)}`); } catch (e) { throw new Error("Unsupported"); } } read: async (secret) => { let response = await fetch(`${baseURI}blob?mode=read&key=${secret}`); let result = await response.json(); let blobUrl = decodeURIComponent(result.blobUrl); let blobResponse = await fetch(blobUrl); return blobResponse.text(); } result, same first party: Error: Failed to fetch result, different first party: Error: Failed to fetch unsupported: false passed: true test failed: false |
write: (secret) => { try { let blobURL = URL.createObjectURL(new Blob([secret])); fetch(`${baseURI}blob?mode=write&key=${secret}&blobUrl=${encodeURIComponent(blobURL)}`); } catch (e) { throw new Error("Unsupported"); } } read: async (secret) => { let response = await fetch(`${baseURI}blob?mode=read&key=${secret}`); let result = await response.json(); let blobUrl = decodeURIComponent(result.blobUrl); let blobResponse = await fetch(blobUrl); return blobResponse.text(); } result, same first party: Error: Failed to fetch, Error: Failed to fetch, Error: Failed to fetch, Error: Failed to fetch, Error: Failed to fetch result, different first party: Error: Failed to fetch, Error: Failed to fetch, Error: Failed to fetch, Error: Failed to fetch, Error: Failed to fetch unsupported: false, false, false, false, false passed: true, true, true, true, true test failed: false, false, false, false, false |
write: (secret) => { try { let blobURL = URL.createObjectURL(new Blob([secret])); fetch(`${baseURI}blob?mode=write&key=${secret}&blobUrl=${encodeURIComponent(blobURL)}`); } catch (e) { throw new Error("Unsupported"); } } read: async (secret) => { let response = await fetch(`${baseURI}blob?mode=read&key=${secret}`); let result = await response.json(); let blobUrl = decodeURIComponent(result.blobUrl); let blobResponse = await fetch(blobUrl); return blobResponse.text(); } result, same first party: Error: NetworkError when attempting to fetch resource. result, different first party: Error: NetworkError when attempting to fetch resource. unsupported: false passed: undefined test failed: true |
write: (secret) => { try { let blobURL = URL.createObjectURL(new Blob([secret])); fetch(`${baseURI}blob?mode=write&key=${secret}&blobUrl=${encodeURIComponent(blobURL)}`); } catch (e) { throw new Error("Unsupported"); } } read: async (secret) => { let response = await fetch(`${baseURI}blob?mode=read&key=${secret}`); let result = await response.json(); let blobUrl = decodeURIComponent(result.blobUrl); let blobResponse = await fetch(blobUrl); return blobResponse.text(); } result, same first party: Error: Failed to fetch result, different first party: Error: Failed to fetch unsupported: false passed: true test failed: false |
write: (secret) => { try { let blobURL = URL.createObjectURL(new Blob([secret])); fetch(`${baseURI}blob?mode=write&key=${secret}&blobUrl=${encodeURIComponent(blobURL)}`); } catch (e) { throw new Error("Unsupported"); } } read: async (secret) => { let response = await fetch(`${baseURI}blob?mode=read&key=${secret}`); let result = await response.json(); let blobUrl = decodeURIComponent(result.blobUrl); let blobResponse = await fetch(blobUrl); return blobResponse.text(); } result, same first party: Error: Failed to fetch result, different first party: Error: Failed to fetch unsupported: false passed: true test failed: false |
BroadcastChannel
A BroadcastChannel is designed to send messages between tabs. In some browsers it can be used for cross-site communication and tracking. |
write: (secret) => { try { let bc = new BroadcastChannel("secrets"); bc.onmessage = (event) => { if (event.data === "request") { bc.postMessage(secret); } }; } catch (e) { throw new Error("Unsupported"); } } read: () => new Promise((resolve, reject) => { let bc = new BroadcastChannel("secrets"); bc.onmessage = (event) => { if (event.data !== "request") { resolve(event.data); } }; bc.postMessage("request"); setTimeout(() => reject({message: "no BroadcastChannel message"}), 3000); }) result, same first party: Error: no BroadcastChannel message result, different first party: Error: no BroadcastChannel message unsupported: false passed: undefined test failed: true |
write: (secret) => { try { let bc = new BroadcastChannel("secrets"); bc.onmessage = (event) => { if (event.data === "request") { bc.postMessage(secret); } }; } catch (e) { throw new Error("Unsupported"); } } read: () => new Promise((resolve, reject) => { let bc = new BroadcastChannel("secrets"); bc.onmessage = (event) => { if (event.data !== "request") { resolve(event.data); } }; bc.postMessage("request"); setTimeout(() => reject({message: "no BroadcastChannel message"}), 3000); }) result, same first party: Error: no BroadcastChannel message result, different first party: Error: no BroadcastChannel message unsupported: false passed: undefined test failed: true |
write: (secret) => { try { let bc = new BroadcastChannel("secrets"); bc.onmessage = (event) => { if (event.data === "request") { bc.postMessage(secret); } }; } catch (e) { throw new Error("Unsupported"); } } read: () => new Promise((resolve, reject) => { let bc = new BroadcastChannel("secrets"); bc.onmessage = (event) => { if (event.data !== "request") { resolve(event.data); } }; bc.postMessage("request"); setTimeout(() => reject({message: "no BroadcastChannel message"}), 3000); }) result, same first party: Error: no BroadcastChannel message result, different first party: Error: no BroadcastChannel message unsupported: false passed: undefined test failed: true |
write: (secret) => { try { let bc = new BroadcastChannel("secrets"); bc.onmessage = (event) => { if (event.data === "request") { bc.postMessage(secret); } }; } catch (e) { throw new Error("Unsupported"); } } read: () => new Promise((resolve, reject) => { let bc = new BroadcastChannel("secrets"); bc.onmessage = (event) => { if (event.data !== "request") { resolve(event.data); } }; bc.postMessage("request"); setTimeout(() => reject({message: "no BroadcastChannel message"}), 3000); }) result, same first party: Error: no BroadcastChannel message result, different first party: Error: no BroadcastChannel message unsupported: false passed: undefined test failed: true |
write: (secret) => { try { let bc = new BroadcastChannel("secrets"); bc.onmessage = (event) => { if (event.data === "request") { bc.postMessage(secret); } }; } catch (e) { throw new Error("Unsupported"); } } read: () => new Promise((resolve, reject) => { let bc = new BroadcastChannel("secrets"); bc.onmessage = (event) => { if (event.data !== "request") { resolve(event.data); } }; bc.postMessage("request"); setTimeout(() => reject({message: "no BroadcastChannel message"}), 3000); }) result, same first party: Error: no BroadcastChannel message result, different first party: Error: no BroadcastChannel message unsupported: false passed: undefined test failed: true |
write: (secret) => { try { let bc = new BroadcastChannel("secrets"); bc.onmessage = (event) => { if (event.data === "request") { bc.postMessage(secret); } }; } catch (e) { throw new Error("Unsupported"); } } read: () => new Promise((resolve, reject) => { let bc = new BroadcastChannel("secrets"); bc.onmessage = (event) => { if (event.data !== "request") { resolve(event.data); } }; bc.postMessage("request"); setTimeout(() => reject({message: "no BroadcastChannel message"}), 3000); }) result, same first party: Error: no BroadcastChannel message result, different first party: Error: no BroadcastChannel message unsupported: false passed: undefined test failed: true |
write: (secret) => { try { let bc = new BroadcastChannel("secrets"); bc.onmessage = (event) => { if (event.data === "request") { bc.postMessage(secret); } }; } catch (e) { throw new Error("Unsupported"); } } read: () => new Promise((resolve, reject) => { let bc = new BroadcastChannel("secrets"); bc.onmessage = (event) => { if (event.data !== "request") { resolve(event.data); } }; bc.postMessage("request"); setTimeout(() => reject({message: "no BroadcastChannel message"}), 3000); }) result, same first party: Error: no BroadcastChannel message result, different first party: Error: no BroadcastChannel message unsupported: false passed: undefined test failed: true |
write: (secret) => { try { let bc = new BroadcastChannel("secrets"); bc.onmessage = (event) => { if (event.data === "request") { bc.postMessage(secret); } }; } catch (e) { throw new Error("Unsupported"); } } read: () => new Promise((resolve, reject) => { let bc = new BroadcastChannel("secrets"); bc.onmessage = (event) => { if (event.data !== "request") { resolve(event.data); } }; bc.postMessage("request"); setTimeout(() => reject({message: "no BroadcastChannel message"}), 3000); }) result, same first party: Error: no BroadcastChannel message result, different first party: Error: no BroadcastChannel message unsupported: false passed: undefined test failed: true |
write: (secret) => { try { let bc = new BroadcastChannel("secrets"); bc.onmessage = (event) => { if (event.data === "request") { bc.postMessage(secret); } }; } catch (e) { throw new Error("Unsupported"); } } read: () => new Promise((resolve, reject) => { let bc = new BroadcastChannel("secrets"); bc.onmessage = (event) => { if (event.data !== "request") { resolve(event.data); } }; bc.postMessage("request"); setTimeout(() => reject({message: "no BroadcastChannel message"}), 3000); }) result, same first party: Error: no BroadcastChannel message, Error: no BroadcastChannel message, Error: no BroadcastChannel message, Error: no BroadcastChannel message, Error: no BroadcastChannel message result, different first party: Error: no BroadcastChannel message, Error: no BroadcastChannel message, Error: no BroadcastChannel message, Error: no BroadcastChannel message, Error: no BroadcastChannel message unsupported: false, false, false, false, false passed: undefined test failed: true, true, true, true, true |
write: (secret) => { try { let bc = new BroadcastChannel("secrets"); bc.onmessage = (event) => { if (event.data === "request") { bc.postMessage(secret); } }; } catch (e) { throw new Error("Unsupported"); } } read: () => new Promise((resolve, reject) => { let bc = new BroadcastChannel("secrets"); bc.onmessage = (event) => { if (event.data !== "request") { resolve(event.data); } }; bc.postMessage("request"); setTimeout(() => reject({message: "no BroadcastChannel message"}), 3000); }) result, same first party: Error: no BroadcastChannel message result, different first party: Error: The operation is insecure. unsupported: false passed: undefined test failed: true |
write: (secret) => { try { let bc = new BroadcastChannel("secrets"); bc.onmessage = (event) => { if (event.data === "request") { bc.postMessage(secret); } }; } catch (e) { throw new Error("Unsupported"); } } read: () => new Promise((resolve, reject) => { let bc = new BroadcastChannel("secrets"); bc.onmessage = (event) => { if (event.data !== "request") { resolve(event.data); } }; bc.postMessage("request"); setTimeout(() => reject({message: "no BroadcastChannel message"}), 3000); }) result, same first party: Error: no BroadcastChannel message result, different first party: Error: no BroadcastChannel message unsupported: false passed: undefined test failed: true |
write: (secret) => { try { let bc = new BroadcastChannel("secrets"); bc.onmessage = (event) => { if (event.data === "request") { bc.postMessage(secret); } }; } catch (e) { throw new Error("Unsupported"); } } read: () => new Promise((resolve, reject) => { let bc = new BroadcastChannel("secrets"); bc.onmessage = (event) => { if (event.data !== "request") { resolve(event.data); } }; bc.postMessage("request"); setTimeout(() => reject({message: "no BroadcastChannel message"}), 3000); }) result, same first party: Error: no BroadcastChannel message result, different first party: Error: no BroadcastChannel message unsupported: false passed: undefined test failed: true |
CacheStorage
The Cache API is a content storage mechanism originally introduced to support ServiceWorkers. If the same Cache object is accessible to multiple websites, it can be abused to track users. |
write: async (key) => { try { let cache = await caches.open("supercookies"); cache.addAll([`test.css?key=${key}`]); } catch (e) { throw new Error("Unsupported"); } } read: async () => { let cache = await caches.open("supercookies"); let cacheKeys = await cache.keys(); let url = cacheKeys[0].url; return (new URL(url)).searchParams.get("key"); } result, same first party: 143d61f8-2894-4529-ad80-0a53e9ebc6cc result, different first party: Error: Failed to execute 'open' on 'CacheStorage': An attempt was made to break through the security policy of the user agent. unsupported: false passed: true test failed: false |
write: async (key) => { try { let cache = await caches.open("supercookies"); cache.addAll([`test.css?key=${key}`]); } catch (e) { throw new Error("Unsupported"); } } read: async () => { let cache = await caches.open("supercookies"); let cacheKeys = await cache.keys(); let url = cacheKeys[0].url; return (new URL(url)).searchParams.get("key"); } result, same first party: c745bf91-cf98-4e5f-8375-d1de83cf19d5 result, different first party: Error: Cannot read properties of undefined (reading 'url') unsupported: false passed: true test failed: false |
write: async (key) => { try { let cache = await caches.open("supercookies"); cache.addAll([`test.css?key=${key}`]); } catch (e) { throw new Error("Unsupported"); } } read: async () => { let cache = await caches.open("supercookies"); let cacheKeys = await cache.keys(); let url = cacheKeys[0].url; return (new URL(url)).searchParams.get("key"); } result, same first party: 1a5b5a6f-5aeb-49ba-8577-c852ce8b48e5_3p result, different first party: 1a5b5a6f-5aeb-49ba-8577-c852ce8b48e5_3p unsupported: false passed: false test failed: false |
write: async (key) => { try { let cache = await caches.open("supercookies"); cache.addAll([`test.css?key=${key}`]); } catch (e) { throw new Error("Unsupported"); } } read: async () => { let cache = await caches.open("supercookies"); let cacheKeys = await cache.keys(); let url = cacheKeys[0].url; return (new URL(url)).searchParams.get("key"); } result, same first party: 4aca6bfb-ecb4-47d0-bce6-bb64559cf8a0 result, different first party: Error: Cannot read properties of undefined (reading 'url') unsupported: false passed: true test failed: false |
write: async (key) => { try { let cache = await caches.open("supercookies"); cache.addAll([`test.css?key=${key}`]); } catch (e) { throw new Error("Unsupported"); } } read: async () => { let cache = await caches.open("supercookies"); let cacheKeys = await cache.keys(); let url = cacheKeys[0].url; return (new URL(url)).searchParams.get("key"); } result, same first party: 39122539-ac2b-4685-b7fc-0e032c9e090b result, different first party: Error: cacheKeys[0] is undefined unsupported: false passed: true test failed: false |
write: async (key) => { try { let cache = await caches.open("supercookies"); cache.addAll([`test.css?key=${key}`]); } catch (e) { throw new Error("Unsupported"); } } read: async () => { let cache = await caches.open("supercookies"); let cacheKeys = await cache.keys(); let url = cacheKeys[0].url; return (new URL(url)).searchParams.get("key"); } result, same first party: 04041701-114e-4ffa-a7c3-a94190db6435 result, different first party: Error: cacheKeys[0] is undefined unsupported: false passed: true test failed: false |
write: async (key) => { try { let cache = await caches.open("supercookies"); cache.addAll([`test.css?key=${key}`]); } catch (e) { throw new Error("Unsupported"); } } read: async () => { let cache = await caches.open("supercookies"); let cacheKeys = await cache.keys(); let url = cacheKeys[0].url; return (new URL(url)).searchParams.get("key"); } result, same first party: ec60fada-f7df-4f1e-b11a-25a5811cf11f result, different first party: Error: cacheKeys[0] is undefined unsupported: false passed: true test failed: false |
write: async (key) => { try { let cache = await caches.open("supercookies"); cache.addAll([`test.css?key=${key}`]); } catch (e) { throw new Error("Unsupported"); } } read: async () => { let cache = await caches.open("supercookies"); let cacheKeys = await cache.keys(); let url = cacheKeys[0].url; return (new URL(url)).searchParams.get("key"); } result, same first party: c97b5d06-2396-4bb1-9f7d-6fde65072b04 result, different first party: Error: Cannot read properties of undefined (reading 'url') unsupported: false passed: true test failed: false |
write: async (key) => { try { let cache = await caches.open("supercookies"); cache.addAll([`test.css?key=${key}`]); } catch (e) { throw new Error("Unsupported"); } } read: async () => { let cache = await caches.open("supercookies"); let cacheKeys = await cache.keys(); let url = cacheKeys[0].url; return (new URL(url)).searchParams.get("key"); } result, same first party: a31f089a-366d-46aa-8a3d-39c59eae3ef3_3p, a31f089a-366d-46aa-8a3d-39c59eae3ef3_3p, a31f089a-366d-46aa-8a3d-39c59eae3ef3_3p, a31f089a-366d-46aa-8a3d-39c59eae3ef3_3p, a31f089a-366d-46aa-8a3d-39c59eae3ef3_3p result, different first party: a31f089a-366d-46aa-8a3d-39c59eae3ef3_3p, a31f089a-366d-46aa-8a3d-39c59eae3ef3_3p, a31f089a-366d-46aa-8a3d-39c59eae3ef3_3p, a31f089a-366d-46aa-8a3d-39c59eae3ef3_3p, a31f089a-366d-46aa-8a3d-39c59eae3ef3_3p unsupported: false, false, false, false, false passed: false, false, false, false, false test failed: false, false, false, false, false |
write: async (key) => { try { let cache = await caches.open("supercookies"); cache.addAll([`test.css?key=${key}`]); } catch (e) { throw new Error("Unsupported"); } } read: async () => { let cache = await caches.open("supercookies"); let cacheKeys = await cache.keys(); let url = cacheKeys[0].url; return (new URL(url)).searchParams.get("key"); } result, same first party: Error: The operation is insecure. result, different first party: Error: The operation is insecure. unsupported: true passed: undefined test failed: false |
write: async (key) => { try { let cache = await caches.open("supercookies"); cache.addAll([`test.css?key=${key}`]); } catch (e) { throw new Error("Unsupported"); } } read: async () => { let cache = await caches.open("supercookies"); let cacheKeys = await cache.keys(); let url = cacheKeys[0].url; return (new URL(url)).searchParams.get("key"); } result, same first party: 1af58a1e-55c5-4125-ba6b-5729d21fd23c result, different first party: Error: Cannot read properties of undefined (reading 'url') unsupported: false passed: true test failed: false |
write: async (key) => { try { let cache = await caches.open("supercookies"); cache.addAll([`test.css?key=${key}`]); } catch (e) { throw new Error("Unsupported"); } } read: async () => { let cache = await caches.open("supercookies"); let cacheKeys = await cache.keys(); let url = cacheKeys[0].url; return (new URL(url)).searchParams.get("key"); } result, same first party: 4f69eb13-b603-4269-81bb-78ce896b6e33_3p result, different first party: Error: Cannot read properties of undefined (reading 'url') unsupported: false passed: true test failed: false |
cookie (HTTP)
The cookie, first introduced by Netscape in 1994, is a small amount of data stored by your browser on a website's behalf. It has legitimate uses, but it is also the classic cross-site tracking mechanism, and today still the most popular method of tracking users across websites. Browsers can stop cookies from being used for cross-site tracking by either blocking or partitioning them. |
write: async (secret) => { // Request a page that will send an HTTPOnly 'set-cookie' response header with secret value. await fetch(`${baseURI}cookie?secret=${secret}_http`); } read: async () => { // Test if we now send a requests with a 'cookie' header containing the secret. let response = await fetch(`${baseURI}headers`); let cookie = (await response.json())["cookie"]; return cookie ? cookie.match(/secret=([\w-]+)/)[1]: null; } result, same first party: 395728fd-45b1-483b-aae3-30840614c71f_http result, different first party: null unsupported: false passed: true test failed: false |
write: async (secret) => { // Request a page that will send an HTTPOnly 'set-cookie' response header with secret value. await fetch(`${baseURI}cookie?secret=${secret}_http`); } read: async () => { // Test if we now send a requests with a 'cookie' header containing the secret. let response = await fetch(`${baseURI}headers`); let cookie = (await response.json())["cookie"]; return cookie ? cookie.match(/secret=([\w-]+)/)[1]: null; } result, same first party: cfc01c4b-e9b0-4dd0-9e63-71dff9875002_http result, different first party: cfc01c4b-e9b0-4dd0-9e63-71dff9875002_http unsupported: false passed: false test failed: false |
write: async (secret) => { // Request a page that will send an HTTPOnly 'set-cookie' response header with secret value. await fetch(`${baseURI}cookie?secret=${secret}_http`); } read: async () => { // Test if we now send a requests with a 'cookie' header containing the secret. let response = await fetch(`${baseURI}headers`); let cookie = (await response.json())["cookie"]; return cookie ? cookie.match(/secret=([\w-]+)/)[1]: null; } result, same first party: 4dec08bb-3827-41ae-a277-c2b2a7f3093d_http result, different first party: null unsupported: false passed: true test failed: false |
write: async (secret) => { // Request a page that will send an HTTPOnly 'set-cookie' response header with secret value. await fetch(`${baseURI}cookie?secret=${secret}_http`); } read: async () => { // Test if we now send a requests with a 'cookie' header containing the secret. let response = await fetch(`${baseURI}headers`); let cookie = (await response.json())["cookie"]; return cookie ? cookie.match(/secret=([\w-]+)/)[1]: null; } result, same first party: 4a6a9247-b4e1-4572-8e64-7cb95b774938_http result, different first party: 4a6a9247-b4e1-4572-8e64-7cb95b774938_http unsupported: false passed: false test failed: false |
write: async (secret) => { // Request a page that will send an HTTPOnly 'set-cookie' response header with secret value. await fetch(`${baseURI}cookie?secret=${secret}_http`); } read: async () => { // Test if we now send a requests with a 'cookie' header containing the secret. let response = await fetch(`${baseURI}headers`); let cookie = (await response.json())["cookie"]; return cookie ? cookie.match(/secret=([\w-]+)/)[1]: null; } result, same first party: de15919a-59b1-4372-8d7e-4fe266a8dd81_http result, different first party: null unsupported: false passed: true test failed: false |
write: async (secret) => { // Request a page that will send an HTTPOnly 'set-cookie' response header with secret value. await fetch(`${baseURI}cookie?secret=${secret}_http`); } read: async () => { // Test if we now send a requests with a 'cookie' header containing the secret. let response = await fetch(`${baseURI}headers`); let cookie = (await response.json())["cookie"]; return cookie ? cookie.match(/secret=([\w-]+)/)[1]: null; } result, same first party: 04041701-114e-4ffa-a7c3-a94190db6435_http result, different first party: null unsupported: false passed: true test failed: false |
write: async (secret) => { // Request a page that will send an HTTPOnly 'set-cookie' response header with secret value. await fetch(`${baseURI}cookie?secret=${secret}_http`); } read: async () => { // Test if we now send a requests with a 'cookie' header containing the secret. let response = await fetch(`${baseURI}headers`); let cookie = (await response.json())["cookie"]; return cookie ? cookie.match(/secret=([\w-]+)/)[1]: null; } result, same first party: 2c30e905-89f9-43e0-8121-691bfd8d8d4b_http result, different first party: null unsupported: false passed: true test failed: false |
write: async (secret) => { // Request a page that will send an HTTPOnly 'set-cookie' response header with secret value. await fetch(`${baseURI}cookie?secret=${secret}_http`); } read: async () => { // Test if we now send a requests with a 'cookie' header containing the secret. let response = await fetch(`${baseURI}headers`); let cookie = (await response.json())["cookie"]; return cookie ? cookie.match(/secret=([\w-]+)/)[1]: null; } result, same first party: 4de5d046-d641-4de4-853d-2deaee2f77a8_http result, different first party: 4de5d046-d641-4de4-853d-2deaee2f77a8_http unsupported: false passed: false test failed: false |
write: async (secret) => { // Request a page that will send an HTTPOnly 'set-cookie' response header with secret value. await fetch(`${baseURI}cookie?secret=${secret}_http`); } read: async () => { // Test if we now send a requests with a 'cookie' header containing the secret. let response = await fetch(`${baseURI}headers`); let cookie = (await response.json())["cookie"]; return cookie ? cookie.match(/secret=([\w-]+)/)[1]: null; } result, same first party: 5a50b218-e9bb-4d6c-ab8e-cdb6777c4ca6_http, 52109630-975b-4a25-b271-1b40345014b9_http, 09b12ba4-febb-406c-ae01-a3222c01e9d0_http, e31a8827-fbbc-4f17-8ff4-0dd018412883_http, 2e3465ba-9d71-4a78-956f-a7436760f50e_http result, different first party: , , , , unsupported: false, false, false, false, false passed: true, true, true, true, true test failed: false, false, false, false, false |
write: async (secret) => { // Request a page that will send an HTTPOnly 'set-cookie' response header with secret value. await fetch(`${baseURI}cookie?secret=${secret}_http`); } read: async () => { // Test if we now send a requests with a 'cookie' header containing the secret. let response = await fetch(`${baseURI}headers`); let cookie = (await response.json())["cookie"]; return cookie ? cookie.match(/secret=([\w-]+)/)[1]: null; } result, same first party: a492ddfc-e63e-4699-9a36-ea3956f606c8_http result, different first party: null unsupported: false passed: true test failed: false |
write: async (secret) => { // Request a page that will send an HTTPOnly 'set-cookie' response header with secret value. await fetch(`${baseURI}cookie?secret=${secret}_http`); } read: async () => { // Test if we now send a requests with a 'cookie' header containing the secret. let response = await fetch(`${baseURI}headers`); let cookie = (await response.json())["cookie"]; return cookie ? cookie.match(/secret=([\w-]+)/)[1]: null; } result, same first party: 6b2aeaa1-68b1-4cfa-8eb0-358668aeaf73_http result, different first party: 6b2aeaa1-68b1-4cfa-8eb0-358668aeaf73_http unsupported: false passed: false test failed: false |
write: async (secret) => { // Request a page that will send an HTTPOnly 'set-cookie' response header with secret value. await fetch(`${baseURI}cookie?secret=${secret}_http`); } read: async () => { // Test if we now send a requests with a 'cookie' header containing the secret. let response = await fetch(`${baseURI}headers`); let cookie = (await response.json())["cookie"]; return cookie ? cookie.match(/secret=([\w-]+)/)[1]: null; } result, same first party: 83d2a636-d42f-4755-afec-86f894c67881_http result, different first party: 83d2a636-d42f-4755-afec-86f894c67881_http unsupported: false passed: false test failed: false |
cookie (JS)
The cookie, first introduced by Netscape in 1994, is a small amount of data stored by your browser on a website's behalf. It has legitimate uses, but it is also the classic cross-site tracking mechanism, and today still the most popular method of tracking users across websites. Browsers can stop cookies from being used for cross-site tracking by either blocking or partitioning them. |
write: (secret) => { document.cookie = `secret=${secret}_js; max-age=3600; SameSite=None; Secure`; } read: () => document.cookie ? document.cookie.match(/secret=([\w-]+)/)[1] : null result, same first party: 395728fd-45b1-483b-aae3-30840614c71f_js result, different first party: null unsupported: false passed: true test failed: false |
write: (secret) => { document.cookie = `secret=${secret}_js; max-age=3600; SameSite=None; Secure`; } read: () => document.cookie ? document.cookie.match(/secret=([\w-]+)/)[1] : null result, same first party: cfc01c4b-e9b0-4dd0-9e63-71dff9875002_js result, different first party: cfc01c4b-e9b0-4dd0-9e63-71dff9875002_js unsupported: false passed: false test failed: false |
write: (secret) => { document.cookie = `secret=${secret}_js; max-age=3600; SameSite=None; Secure`; } read: () => document.cookie ? document.cookie.match(/secret=([\w-]+)/)[1] : null result, same first party: 4dec08bb-3827-41ae-a277-c2b2a7f3093d_js result, different first party: null unsupported: false passed: true test failed: false |
write: (secret) => { document.cookie = `secret=${secret}_js; max-age=3600; SameSite=None; Secure`; } read: () => document.cookie ? document.cookie.match(/secret=([\w-]+)/)[1] : null result, same first party: 4a6a9247-b4e1-4572-8e64-7cb95b774938_js result, different first party: 4a6a9247-b4e1-4572-8e64-7cb95b774938_js unsupported: false passed: false test failed: false |
write: (secret) => { document.cookie = `secret=${secret}_js; max-age=3600; SameSite=None; Secure`; } read: () => document.cookie ? document.cookie.match(/secret=([\w-]+)/)[1] : null result, same first party: de15919a-59b1-4372-8d7e-4fe266a8dd81_js result, different first party: null unsupported: false passed: true test failed: false |
write: (secret) => { document.cookie = `secret=${secret}_js; max-age=3600; SameSite=None; Secure`; } read: () => document.cookie ? document.cookie.match(/secret=([\w-]+)/)[1] : null result, same first party: 04041701-114e-4ffa-a7c3-a94190db6435_js result, different first party: null unsupported: false passed: true test failed: false |
write: (secret) => { document.cookie = `secret=${secret}_js; max-age=3600; SameSite=None; Secure`; } read: () => document.cookie ? document.cookie.match(/secret=([\w-]+)/)[1] : null result, same first party: 2c30e905-89f9-43e0-8121-691bfd8d8d4b_js result, different first party: null unsupported: false passed: true test failed: false |
write: (secret) => { document.cookie = `secret=${secret}_js; max-age=3600; SameSite=None; Secure`; } read: () => document.cookie ? document.cookie.match(/secret=([\w-]+)/)[1] : null result, same first party: 4de5d046-d641-4de4-853d-2deaee2f77a8_js result, different first party: 4de5d046-d641-4de4-853d-2deaee2f77a8_js unsupported: false passed: false test failed: false |
write: (secret) => { document.cookie = `secret=${secret}_js; max-age=3600; SameSite=None; Secure`; } read: () => document.cookie ? document.cookie.match(/secret=([\w-]+)/)[1] : null result, same first party: 5a50b218-e9bb-4d6c-ab8e-cdb6777c4ca6_js, 52109630-975b-4a25-b271-1b40345014b9_js, 09b12ba4-febb-406c-ae01-a3222c01e9d0_js, e31a8827-fbbc-4f17-8ff4-0dd018412883_js, 2e3465ba-9d71-4a78-956f-a7436760f50e_js result, different first party: , , , , unsupported: false, false, false, false, false passed: true, true, true, true, true test failed: false, false, false, false, false |
write: (secret) => { document.cookie = `secret=${secret}_js; max-age=3600; SameSite=None; Secure`; } read: () => document.cookie ? document.cookie.match(/secret=([\w-]+)/)[1] : null result, same first party: a492ddfc-e63e-4699-9a36-ea3956f606c8_js result, different first party: null unsupported: false passed: true test failed: false |
write: (secret) => { document.cookie = `secret=${secret}_js; max-age=3600; SameSite=None; Secure`; } read: () => document.cookie ? document.cookie.match(/secret=([\w-]+)/)[1] : null result, same first party: 6b2aeaa1-68b1-4cfa-8eb0-358668aeaf73_js result, different first party: 6b2aeaa1-68b1-4cfa-8eb0-358668aeaf73_js unsupported: false passed: false test failed: false |
write: (secret) => { document.cookie = `secret=${secret}_js; max-age=3600; SameSite=None; Secure`; } read: () => document.cookie ? document.cookie.match(/secret=([\w-]+)/)[1] : null result, same first party: 83d2a636-d42f-4755-afec-86f894c67881_js result, different first party: 83d2a636-d42f-4755-afec-86f894c67881_js unsupported: false passed: false test failed: false |
CookieStore
The Cookie Store API is an alternative asynchronous API for managing cookies, supported by some browsers. |
write: (data) => { const msPerHour = 60 * 60 * 1000; if (!window.cookieStore) { throw new Error("Unsupported"); } window.cookieStore.set({ name: "partition_test", value: data, expires: Date.now() + msPerHour, sameSite: "none" }); } read: async () => { if (!window.cookieStore) { throw new Error("Unsupported"); } const cookie = await window.cookieStore.get("partition_test"); if (!cookie) { return null; } return cookie.value; } result, same first party: 395728fd-45b1-483b-aae3-30840614c71f result, different first party: null unsupported: false passed: true test failed: false |
write: (data) => { const msPerHour = 60 * 60 * 1000; if (!window.cookieStore) { throw new Error("Unsupported"); } window.cookieStore.set({ name: "partition_test", value: data, expires: Date.now() + msPerHour, sameSite: "none" }); } read: async () => { if (!window.cookieStore) { throw new Error("Unsupported"); } const cookie = await window.cookieStore.get("partition_test"); if (!cookie) { return null; } return cookie.value; } result, same first party: cfc01c4b-e9b0-4dd0-9e63-71dff9875002 result, different first party: cfc01c4b-e9b0-4dd0-9e63-71dff9875002 unsupported: false passed: false test failed: false |
write: (data) => { const msPerHour = 60 * 60 * 1000; if (!window.cookieStore) { throw new Error("Unsupported"); } window.cookieStore.set({ name: "partition_test", value: data, expires: Date.now() + msPerHour, sameSite: "none" }); } read: async () => { if (!window.cookieStore) { throw new Error("Unsupported"); } const cookie = await window.cookieStore.get("partition_test"); if (!cookie) { return null; } return cookie.value; } result, same first party: 4dec08bb-3827-41ae-a277-c2b2a7f3093d result, different first party: null unsupported: false passed: true test failed: false |
write: (data) => { const msPerHour = 60 * 60 * 1000; if (!window.cookieStore) { throw new Error("Unsupported"); } window.cookieStore.set({ name: "partition_test", value: data, expires: Date.now() + msPerHour, sameSite: "none" }); } read: async () => { if (!window.cookieStore) { throw new Error("Unsupported"); } const cookie = await window.cookieStore.get("partition_test"); if (!cookie) { return null; } return cookie.value; } result, same first party: 4a6a9247-b4e1-4572-8e64-7cb95b774938 result, different first party: 4a6a9247-b4e1-4572-8e64-7cb95b774938 unsupported: false passed: false test failed: false |
write: (data) => { const msPerHour = 60 * 60 * 1000; if (!window.cookieStore) { throw new Error("Unsupported"); } window.cookieStore.set({ name: "partition_test", value: data, expires: Date.now() + msPerHour, sameSite: "none" }); } read: async () => { if (!window.cookieStore) { throw new Error("Unsupported"); } const cookie = await window.cookieStore.get("partition_test"); if (!cookie) { return null; } return cookie.value; } result, same first party: Error: Unsupported result, different first party: Error: Unsupported unsupported: true passed: undefined test failed: false |
write: (data) => { const msPerHour = 60 * 60 * 1000; if (!window.cookieStore) { throw new Error("Unsupported"); } window.cookieStore.set({ name: "partition_test", value: data, expires: Date.now() + msPerHour, sameSite: "none" }); } read: async () => { if (!window.cookieStore) { throw new Error("Unsupported"); } const cookie = await window.cookieStore.get("partition_test"); if (!cookie) { return null; } return cookie.value; } result, same first party: Error: Unsupported result, different first party: Error: Unsupported unsupported: true passed: undefined test failed: false |
write: (data) => { const msPerHour = 60 * 60 * 1000; if (!window.cookieStore) { throw new Error("Unsupported"); } window.cookieStore.set({ name: "partition_test", value: data, expires: Date.now() + msPerHour, sameSite: "none" }); } read: async () => { if (!window.cookieStore) { throw new Error("Unsupported"); } const cookie = await window.cookieStore.get("partition_test"); if (!cookie) { return null; } return cookie.value; } result, same first party: Error: Unsupported result, different first party: Error: Unsupported unsupported: true passed: undefined test failed: false |
write: (data) => { const msPerHour = 60 * 60 * 1000; if (!window.cookieStore) { throw new Error("Unsupported"); } window.cookieStore.set({ name: "partition_test", value: data, expires: Date.now() + msPerHour, sameSite: "none" }); } read: async () => { if (!window.cookieStore) { throw new Error("Unsupported"); } const cookie = await window.cookieStore.get("partition_test"); if (!cookie) { return null; } return cookie.value; } result, same first party: 4de5d046-d641-4de4-853d-2deaee2f77a8 result, different first party: 4de5d046-d641-4de4-853d-2deaee2f77a8 unsupported: false passed: false test failed: false |
write: (data) => { const msPerHour = 60 * 60 * 1000; if (!window.cookieStore) { throw new Error("Unsupported"); } window.cookieStore.set({ name: "partition_test", value: data, expires: Date.now() + msPerHour, sameSite: "none" }); } read: async () => { if (!window.cookieStore) { throw new Error("Unsupported"); } const cookie = await window.cookieStore.get("partition_test"); if (!cookie) { return null; } return cookie.value; } result, same first party: 5a50b218-e9bb-4d6c-ab8e-cdb6777c4ca6, 52109630-975b-4a25-b271-1b40345014b9, 09b12ba4-febb-406c-ae01-a3222c01e9d0, e31a8827-fbbc-4f17-8ff4-0dd018412883, 2e3465ba-9d71-4a78-956f-a7436760f50e result, different first party: , , , , unsupported: false, false, false, false, false passed: true, true, true, true, true test failed: false, false, false, false, false |
write: (data) => { const msPerHour = 60 * 60 * 1000; if (!window.cookieStore) { throw new Error("Unsupported"); } window.cookieStore.set({ name: "partition_test", value: data, expires: Date.now() + msPerHour, sameSite: "none" }); } read: async () => { if (!window.cookieStore) { throw new Error("Unsupported"); } const cookie = await window.cookieStore.get("partition_test"); if (!cookie) { return null; } return cookie.value; } result, same first party: Error: Unsupported result, different first party: Error: Unsupported unsupported: true passed: undefined test failed: false |
write: (data) => { const msPerHour = 60 * 60 * 1000; if (!window.cookieStore) { throw new Error("Unsupported"); } window.cookieStore.set({ name: "partition_test", value: data, expires: Date.now() + msPerHour, sameSite: "none" }); } read: async () => { if (!window.cookieStore) { throw new Error("Unsupported"); } const cookie = await window.cookieStore.get("partition_test"); if (!cookie) { return null; } return cookie.value; } result, same first party: 6b2aeaa1-68b1-4cfa-8eb0-358668aeaf73 result, different first party: 6b2aeaa1-68b1-4cfa-8eb0-358668aeaf73 unsupported: false passed: false test failed: false |
write: (data) => { const msPerHour = 60 * 60 * 1000; if (!window.cookieStore) { throw new Error("Unsupported"); } window.cookieStore.set({ name: "partition_test", value: data, expires: Date.now() + msPerHour, sameSite: "none" }); } read: async () => { if (!window.cookieStore) { throw new Error("Unsupported"); } const cookie = await window.cookieStore.get("partition_test"); if (!cookie) { return null; } return cookie.value; } result, same first party: 83d2a636-d42f-4755-afec-86f894c67881 result, different first party: 83d2a636-d42f-4755-afec-86f894c67881 unsupported: false passed: false test failed: false |
CSS cache
CSS stylesheets are cached, and if that cache is shared between websites, it can be used to track users across sites. |
write: async (key) => { const href = testURI("resource", "css", key); const head = document.getElementsByTagName("head")[0]; head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`; const testElement = document.querySelector("#css"); let fontFamily; while (true) { await sleepMs(100); fontFamily = getComputedStyle(testElement).fontFamily; if (fontFamily.startsWith("fake")) { break; } } console.log(fontFamily); return key; } read: async (key) => { const href = testURI("resource", "css", key); const head = document.getElementsByTagName("head")[0]; head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`; const testElement = document.querySelector("#css"); let fontFamily; while (true) { await sleepMs(100); fontFamily = getComputedStyle(testElement).fontFamily; if (fontFamily.startsWith("fake")) { break; } } console.log(fontFamily); return fontFamily; } result, same first party: fake_16655535957007617 result, different first party: fake_9931594019295946 unsupported: false passed: true test failed: false |
write: async (key) => { const href = testURI("resource", "css", key); const head = document.getElementsByTagName("head")[0]; head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`; const testElement = document.querySelector("#css"); let fontFamily; while (true) { await sleepMs(100); fontFamily = getComputedStyle(testElement).fontFamily; if (fontFamily.startsWith("fake")) { break; } } console.log(fontFamily); return key; } read: async (key) => { const href = testURI("resource", "css", key); const head = document.getElementsByTagName("head")[0]; head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`; const testElement = document.querySelector("#css"); let fontFamily; while (true) { await sleepMs(100); fontFamily = getComputedStyle(testElement).fontFamily; if (fontFamily.startsWith("fake")) { break; } } console.log(fontFamily); return fontFamily; } result, same first party: fake_3348586929506794 result, different first party: fake_843956883237972 unsupported: false passed: true test failed: false |
write: async (key) => { const href = testURI("resource", "css", key); const head = document.getElementsByTagName("head")[0]; head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`; const testElement = document.querySelector("#css"); let fontFamily; while (true) { await sleepMs(100); fontFamily = getComputedStyle(testElement).fontFamily; if (fontFamily.startsWith("fake")) { break; } } console.log(fontFamily); return key; } read: async (key) => { const href = testURI("resource", "css", key); const head = document.getElementsByTagName("head")[0]; head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`; const testElement = document.querySelector("#css"); let fontFamily; while (true) { await sleepMs(100); fontFamily = getComputedStyle(testElement).fontFamily; if (fontFamily.startsWith("fake")) { break; } } console.log(fontFamily); return fontFamily; } result, same first party: fake_9139225061172633 result, different first party: fake_9139225061172633 unsupported: false passed: false test failed: false |
write: async (key) => { const href = testURI("resource", "css", key); const head = document.getElementsByTagName("head")[0]; head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`; const testElement = document.querySelector("#css"); let fontFamily; while (true) { await sleepMs(100); fontFamily = getComputedStyle(testElement).fontFamily; if (fontFamily.startsWith("fake")) { break; } } console.log(fontFamily); return key; } read: async (key) => { const href = testURI("resource", "css", key); const head = document.getElementsByTagName("head")[0]; head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`; const testElement = document.querySelector("#css"); let fontFamily; while (true) { await sleepMs(100); fontFamily = getComputedStyle(testElement).fontFamily; if (fontFamily.startsWith("fake")) { break; } } console.log(fontFamily); return fontFamily; } result, same first party: fake_5844093795681469 result, different first party: fake_021080756018545976 unsupported: false passed: true test failed: false |
write: async (key) => { const href = testURI("resource", "css", key); const head = document.getElementsByTagName("head")[0]; head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`; const testElement = document.querySelector("#css"); let fontFamily; while (true) { await sleepMs(100); fontFamily = getComputedStyle(testElement).fontFamily; if (fontFamily.startsWith("fake")) { break; } } console.log(fontFamily); return key; } read: async (key) => { const href = testURI("resource", "css", key); const head = document.getElementsByTagName("head")[0]; head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`; const testElement = document.querySelector("#css"); let fontFamily; while (true) { await sleepMs(100); fontFamily = getComputedStyle(testElement).fontFamily; if (fontFamily.startsWith("fake")) { break; } } console.log(fontFamily); return fontFamily; } result, same first party: fake_5336789591177451 result, different first party: fake_4347444698119558 unsupported: false passed: true test failed: false |
write: async (key) => { const href = testURI("resource", "css", key); const head = document.getElementsByTagName("head")[0]; head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`; const testElement = document.querySelector("#css"); let fontFamily; while (true) { await sleepMs(100); fontFamily = getComputedStyle(testElement).fontFamily; if (fontFamily.startsWith("fake")) { break; } } console.log(fontFamily); return key; } read: async (key) => { const href = testURI("resource", "css", key); const head = document.getElementsByTagName("head")[0]; head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`; const testElement = document.querySelector("#css"); let fontFamily; while (true) { await sleepMs(100); fontFamily = getComputedStyle(testElement).fontFamily; if (fontFamily.startsWith("fake")) { break; } } console.log(fontFamily); return fontFamily; } result, same first party: fake_41864897067475715 result, different first party: fake_2384053513781219 unsupported: false passed: true test failed: false |
write: async (key) => { const href = testURI("resource", "css", key); const head = document.getElementsByTagName("head")[0]; head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`; const testElement = document.querySelector("#css"); let fontFamily; while (true) { await sleepMs(100); fontFamily = getComputedStyle(testElement).fontFamily; if (fontFamily.startsWith("fake")) { break; } } console.log(fontFamily); return key; } read: async (key) => { const href = testURI("resource", "css", key); const head = document.getElementsByTagName("head")[0]; head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`; const testElement = document.querySelector("#css"); let fontFamily; while (true) { await sleepMs(100); fontFamily = getComputedStyle(testElement).fontFamily; if (fontFamily.startsWith("fake")) { break; } } console.log(fontFamily); return fontFamily; } result, same first party: fake_8878251745751036 result, different first party: fake_6957404663008051 unsupported: false passed: true test failed: false |
write: async (key) => { const href = testURI("resource", "css", key); const head = document.getElementsByTagName("head")[0]; head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`; const testElement = document.querySelector("#css"); let fontFamily; while (true) { await sleepMs(100); fontFamily = getComputedStyle(testElement).fontFamily; if (fontFamily.startsWith("fake")) { break; } } console.log(fontFamily); return key; } read: async (key) => { const href = testURI("resource", "css", key); const head = document.getElementsByTagName("head")[0]; head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`; const testElement = document.querySelector("#css"); let fontFamily; while (true) { await sleepMs(100); fontFamily = getComputedStyle(testElement).fontFamily; if (fontFamily.startsWith("fake")) { break; } } console.log(fontFamily); return fontFamily; } result, same first party: fake_9482428533415115 result, different first party: fake_9374498972877754 unsupported: false passed: true test failed: false |
write: async (key) => { const href = testURI("resource", "css", key); const head = document.getElementsByTagName("head")[0]; head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`; const testElement = document.querySelector("#css"); let fontFamily; while (true) { await sleepMs(100); fontFamily = getComputedStyle(testElement).fontFamily; if (fontFamily.startsWith("fake")) { break; } } console.log(fontFamily); return key; } read: async (key) => { const href = testURI("resource", "css", key); const head = document.getElementsByTagName("head")[0]; head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`; const testElement = document.querySelector("#css"); let fontFamily; while (true) { await sleepMs(100); fontFamily = getComputedStyle(testElement).fontFamily; if (fontFamily.startsWith("fake")) { break; } } console.log(fontFamily); return fontFamily; } result, same first party: fake_39893729772205067, fake_769191745673143, fake_8720011839549506, fake_34502809734579487, fake_6652953879229733 result, different first party: fake_39893729772205067, fake_769191745673143, fake_8720011839549506, fake_34502809734579487, fake_6652953879229733 unsupported: false, false, false, false, false passed: false, false, false, false, false test failed: false, false, false, false, false |
write: async (key) => { const href = testURI("resource", "css", key); const head = document.getElementsByTagName("head")[0]; head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`; const testElement = document.querySelector("#css"); let fontFamily; while (true) { await sleepMs(100); fontFamily = getComputedStyle(testElement).fontFamily; if (fontFamily.startsWith("fake")) { break; } } console.log(fontFamily); return key; } read: async (key) => { const href = testURI("resource", "css", key); const head = document.getElementsByTagName("head")[0]; head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`; const testElement = document.querySelector("#css"); let fontFamily; while (true) { await sleepMs(100); fontFamily = getComputedStyle(testElement).fontFamily; if (fontFamily.startsWith("fake")) { break; } } console.log(fontFamily); return fontFamily; } result, same first party: fake_45631050781115023 result, different first party: fake_9983059663606342 unsupported: false passed: true test failed: false |
write: async (key) => { const href = testURI("resource", "css", key); const head = document.getElementsByTagName("head")[0]; head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`; const testElement = document.querySelector("#css"); let fontFamily; while (true) { await sleepMs(100); fontFamily = getComputedStyle(testElement).fontFamily; if (fontFamily.startsWith("fake")) { break; } } console.log(fontFamily); return key; } read: async (key) => { const href = testURI("resource", "css", key); const head = document.getElementsByTagName("head")[0]; head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`; const testElement = document.querySelector("#css"); let fontFamily; while (true) { await sleepMs(100); fontFamily = getComputedStyle(testElement).fontFamily; if (fontFamily.startsWith("fake")) { break; } } console.log(fontFamily); return fontFamily; } result, same first party: fake_255769090678138 result, different first party: fake_7951831606679638 unsupported: false passed: true test failed: false |
write: async (key) => { const href = testURI("resource", "css", key); const head = document.getElementsByTagName("head")[0]; head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`; const testElement = document.querySelector("#css"); let fontFamily; while (true) { await sleepMs(100); fontFamily = getComputedStyle(testElement).fontFamily; if (fontFamily.startsWith("fake")) { break; } } console.log(fontFamily); return key; } read: async (key) => { const href = testURI("resource", "css", key); const head = document.getElementsByTagName("head")[0]; head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`; const testElement = document.querySelector("#css"); let fontFamily; while (true) { await sleepMs(100); fontFamily = getComputedStyle(testElement).fontFamily; if (fontFamily.startsWith("fake")) { break; } } console.log(fontFamily); return fontFamily; } result, same first party: fake_68685723186629 result, different first party: fake_8661472435003512 unsupported: false passed: true test failed: false |
favicon cache
A favicon is an icon that represents a website, typically shown in browser tab and bookmarks menu. If the favicon cache is not partitioned, it can be used to track users across websites. |
write: (key) => key read: async (key) => { // Wait for the favicon to load (defined in supercookies.html) await sleepMs(2000); let response = await fetch( testURI("ctr", "favicon", key), {"cache": "reload"}); let count = (await response.text()).trim(); if (count === "0") { throw new Error("No requests received"); } return count; } result, same first party: 1 result, different first party: 2 unsupported: false passed: true test failed: false |
write: (key) => key read: async (key) => { // Wait for the favicon to load (defined in supercookies.html) await sleepMs(2000); let response = await fetch( testURI("ctr", "favicon", key), {"cache": "reload"}); let count = (await response.text()).trim(); if (count === "0") { throw new Error("No requests received"); } return count; } result, same first party: 1 result, different first party: 2 unsupported: false passed: true test failed: false |
write: (key) => key read: async (key) => { // Wait for the favicon to load (defined in supercookies.html) await sleepMs(2000); let response = await fetch( testURI("ctr", "favicon", key), {"cache": "reload"}); let count = (await response.text()).trim(); if (count === "0") { throw new Error("No requests received"); } return count; } result, same first party: 1 result, different first party: 1 unsupported: false passed: false test failed: false |
write: (key) => key read: async (key) => { // Wait for the favicon to load (defined in supercookies.html) await sleepMs(2000); let response = await fetch( testURI("ctr", "favicon", key), {"cache": "reload"}); let count = (await response.text()).trim(); if (count === "0") { throw new Error("No requests received"); } return count; } result, same first party: 1 result, different first party: 2 unsupported: false passed: true test failed: false |
write: (key) => key read: async (key) => { // Wait for the favicon to load (defined in supercookies.html) await sleepMs(2000); let response = await fetch( testURI("ctr", "favicon", key), {"cache": "reload"}); let count = (await response.text()).trim(); if (count === "0") { throw new Error("No requests received"); } return count; } result, same first party: 1 result, different first party: 1 unsupported: false passed: false test failed: false |
write: (key) => key read: async (key) => { // Wait for the favicon to load (defined in supercookies.html) await sleepMs(2000); let response = await fetch( testURI("ctr", "favicon", key), {"cache": "reload"}); let count = (await response.text()).trim(); if (count === "0") { throw new Error("No requests received"); } return count; } result, same first party: Error: No requests received result, different first party: Error: No requests received unsupported: true passed: undefined test failed: false |
write: (key) => key read: async (key) => { // Wait for the favicon to load (defined in supercookies.html) await sleepMs(2000); let response = await fetch( testURI("ctr", "favicon", key), {"cache": "reload"}); let count = (await response.text()).trim(); if (count === "0") { throw new Error("No requests received"); } return count; } result, same first party: 1 result, different first party: 1 unsupported: false passed: false test failed: false |
write: (key) => key read: async (key) => { // Wait for the favicon to load (defined in supercookies.html) await sleepMs(2000); let response = await fetch( testURI("ctr", "favicon", key), {"cache": "reload"}); let count = (await response.text()).trim(); if (count === "0") { throw new Error("No requests received"); } return count; } result, same first party: Error: No requests received result, different first party: Error: No requests received unsupported: true passed: undefined test failed: false |
write: (key) => key read: async (key) => { // Wait for the favicon to load (defined in supercookies.html) await sleepMs(2000); let response = await fetch( testURI("ctr", "favicon", key), {"cache": "reload"}); let count = (await response.text()).trim(); if (count === "0") { throw new Error("No requests received"); } return count; } result, same first party: 1, 1, 1, 1, 1 result, different first party: 2, 2, 2, 2, 2 unsupported: false, false, false, false, false passed: true, true, true, true, true test failed: false, false, false, false, false |
write: (key) => key read: async (key) => { // Wait for the favicon to load (defined in supercookies.html) await sleepMs(2000); let response = await fetch( testURI("ctr", "favicon", key), {"cache": "reload"}); let count = (await response.text()).trim(); if (count === "0") { throw new Error("No requests received"); } return count; } result, same first party: 1 result, different first party: 1 unsupported: false passed: false test failed: false |
write: (key) => key read: async (key) => { // Wait for the favicon to load (defined in supercookies.html) await sleepMs(2000); let response = await fetch( testURI("ctr", "favicon", key), {"cache": "reload"}); let count = (await response.text()).trim(); if (count === "0") { throw new Error("No requests received"); } return count; } result, same first party: 1 result, different first party: 2 unsupported: false passed: true test failed: false |
write: (key) => key read: async (key) => { // Wait for the favicon to load (defined in supercookies.html) await sleepMs(2000); let response = await fetch( testURI("ctr", "favicon", key), {"cache": "reload"}); let count = (await response.text()).trim(); if (count === "0") { throw new Error("No requests received"); } return count; } result, same first party: 1 result, different first party: 2 unsupported: false passed: true test failed: false |
fetch cache
When a resource is received via the Fetch API, it is frequently cached. That cache can potentially be abused for cross-site tracking. |
write: async (key) => { let response = await fetch(testURI("resource", "fetch", key), {cache: "force-cache"}); return key; } read: async (key) => { let response = await fetch(testURI("resource", "fetch", key), {cache: "force-cache"}); let countResponse = await fetch(testURI("ctr", "fetch", key), {cache: "reload"}); return (await countResponse.text()).trim(); } result, same first party: 1 result, different first party: 2 unsupported: false passed: true test failed: false |
write: async (key) => { let response = await fetch(testURI("resource", "fetch", key), {cache: "force-cache"}); return key; } read: async (key) => { let response = await fetch(testURI("resource", "fetch", key), {cache: "force-cache"}); let countResponse = await fetch(testURI("ctr", "fetch", key), {cache: "reload"}); return (await countResponse.text()).trim(); } result, same first party: 1 result, different first party: 2 unsupported: false passed: true test failed: false |
write: async (key) => { let response = await fetch(testURI("resource", "fetch", key), {cache: "force-cache"}); return key; } read: async (key) => { let response = await fetch(testURI("resource", "fetch", key), {cache: "force-cache"}); let countResponse = await fetch(testURI("ctr", "fetch", key), {cache: "reload"}); return (await countResponse.text()).trim(); } result, same first party: 1 result, different first party: 1 unsupported: false passed: false test failed: false |
write: async (key) => { let response = await fetch(testURI("resource", "fetch", key), {cache: "force-cache"}); return key; } read: async (key) => { let response = await fetch(testURI("resource", "fetch", key), {cache: "force-cache"}); let countResponse = await fetch(testURI("ctr", "fetch", key), {cache: "reload"}); return (await countResponse.text()).trim(); } result, same first party: 1 result, different first party: 2 unsupported: false passed: true test failed: false |
write: async (key) => { let response = await fetch(testURI("resource", "fetch", key), {cache: "force-cache"}); return key; } read: async (key) => { let response = await fetch(testURI("resource", "fetch", key), {cache: "force-cache"}); let countResponse = await fetch(testURI("ctr", "fetch", key), {cache: "reload"}); return (await countResponse.text()).trim(); } result, same first party: 1 result, different first party: 2 unsupported: false passed: true test failed: false |
write: async (key) => { let response = await fetch(testURI("resource", "fetch", key), {cache: "force-cache"}); return key; } read: async (key) => { let response = await fetch(testURI("resource", "fetch", key), {cache: "force-cache"}); let countResponse = await fetch(testURI("ctr", "fetch", key), {cache: "reload"}); return (await countResponse.text()).trim(); } result, same first party: 1 result, different first party: 2 unsupported: false passed: true test failed: false |
write: async (key) => { let response = await fetch(testURI("resource", "fetch", key), {cache: "force-cache"}); return key; } read: async (key) => { let response = await fetch(testURI("resource", "fetch", key), {cache: "force-cache"}); let countResponse = await fetch(testURI("ctr", "fetch", key), {cache: "reload"}); return (await countResponse.text()).trim(); } result, same first party: 1 result, different first party: 2 unsupported: false passed: true test failed: false |
write: async (key) => { let response = await fetch(testURI("resource", "fetch", key), {cache: "force-cache"}); return key; } read: async (key) => { let response = await fetch(testURI("resource", "fetch", key), {cache: "force-cache"}); let countResponse = await fetch(testURI("ctr", "fetch", key), {cache: "reload"}); return (await countResponse.text()).trim(); } result, same first party: 1 result, different first party: 2 unsupported: false passed: true test failed: false |
write: async (key) => { let response = await fetch(testURI("resource", "fetch", key), {cache: "force-cache"}); return key; } read: async (key) => { let response = await fetch(testURI("resource", "fetch", key), {cache: "force-cache"}); let countResponse = await fetch(testURI("ctr", "fetch", key), {cache: "reload"}); return (await countResponse.text()).trim(); } result, same first party: 1, 1, 1, 1, 1 result, different first party: 2, 2, 2, 2, 2 unsupported: false, false, false, false, false passed: true, true, true, true, true test failed: false, false, false, false, false |
write: async (key) => { let response = await fetch(testURI("resource", "fetch", key), {cache: "force-cache"}); return key; } read: async (key) => { let response = await fetch(testURI("resource", "fetch", key), {cache: "force-cache"}); let countResponse = await fetch(testURI("ctr", "fetch", key), {cache: "reload"}); return (await countResponse.text()).trim(); } result, same first party: 1 result, different first party: 2 unsupported: false passed: true test failed: false |
write: async (key) => { let response = await fetch(testURI("resource", "fetch", key), {cache: "force-cache"}); return key; } read: async (key) => { let response = await fetch(testURI("resource", "fetch", key), {cache: "force-cache"}); let countResponse = await fetch(testURI("ctr", "fetch", key), {cache: "reload"}); return (await countResponse.text()).trim(); } result, same first party: 1 result, different first party: 2 unsupported: false passed: true test failed: false |
write: async (key) => { let response = await fetch(testURI("resource", "fetch", key), {cache: "force-cache"}); return key; } read: async (key) => { let response = await fetch(testURI("resource", "fetch", key), {cache: "force-cache"}); let countResponse = await fetch(testURI("ctr", "fetch", key), {cache: "reload"}); return (await countResponse.text()).trim(); } result, same first party: 1 result, different first party: 2 unsupported: false passed: true test failed: false |
font cache
Web fonts are sometimes stored in their own cache, which is vulnerable to being abused for cross-site tracking. |
write: async (key) => { let style = document.createElement("style"); style.type='text/css'; let fontURI = testURI("resource", "font", key); style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } body { font-family: "myFont" }`; document.getElementsByTagName("head")[0].appendChild(style); return key; } read: async (key) => { const text = document.createElement("span"); text.id = "text"; text.innerText = "test"; document.body.appendChild(text); const originalWidth = text.getBoundingClientRect().width; let style = document.createElement("style"); style.type='text/css'; let fontURI = testURI("resource", "font", key); style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } #text { font-family: "myFont" }`; document.getElementsByTagName("head")[0].appendChild(style); let newWidth; do { await sleepMs(100); newWidth = text.getBoundingClientRect().width; } while (newWidth < 0 || newWidth === originalWidth) let response = await fetch( testURI("ctr", "font", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same first party: 1 result, different first party: 2 unsupported: false passed: true test failed: false |
write: async (key) => { let style = document.createElement("style"); style.type='text/css'; let fontURI = testURI("resource", "font", key); style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } body { font-family: "myFont" }`; document.getElementsByTagName("head")[0].appendChild(style); return key; } read: async (key) => { const text = document.createElement("span"); text.id = "text"; text.innerText = "test"; document.body.appendChild(text); const originalWidth = text.getBoundingClientRect().width; let style = document.createElement("style"); style.type='text/css'; let fontURI = testURI("resource", "font", key); style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } #text { font-family: "myFont" }`; document.getElementsByTagName("head")[0].appendChild(style); let newWidth; do { await sleepMs(100); newWidth = text.getBoundingClientRect().width; } while (newWidth < 0 || newWidth === originalWidth) let response = await fetch( testURI("ctr", "font", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same first party: 1 result, different first party: 2 unsupported: false passed: true test failed: false |
write: async (key) => { let style = document.createElement("style"); style.type='text/css'; let fontURI = testURI("resource", "font", key); style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } body { font-family: "myFont" }`; document.getElementsByTagName("head")[0].appendChild(style); return key; } read: async (key) => { const text = document.createElement("span"); text.id = "text"; text.innerText = "test"; document.body.appendChild(text); const originalWidth = text.getBoundingClientRect().width; let style = document.createElement("style"); style.type='text/css'; let fontURI = testURI("resource", "font", key); style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } #text { font-family: "myFont" }`; document.getElementsByTagName("head")[0].appendChild(style); let newWidth; do { await sleepMs(100); newWidth = text.getBoundingClientRect().width; } while (newWidth < 0 || newWidth === originalWidth) let response = await fetch( testURI("ctr", "font", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same first party: 1 result, different first party: 1 unsupported: false passed: false test failed: false |
write: async (key) => { let style = document.createElement("style"); style.type='text/css'; let fontURI = testURI("resource", "font", key); style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } body { font-family: "myFont" }`; document.getElementsByTagName("head")[0].appendChild(style); return key; } read: async (key) => { const text = document.createElement("span"); text.id = "text"; text.innerText = "test"; document.body.appendChild(text); const originalWidth = text.getBoundingClientRect().width; let style = document.createElement("style"); style.type='text/css'; let fontURI = testURI("resource", "font", key); style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } #text { font-family: "myFont" }`; document.getElementsByTagName("head")[0].appendChild(style); let newWidth; do { await sleepMs(100); newWidth = text.getBoundingClientRect().width; } while (newWidth < 0 || newWidth === originalWidth) let response = await fetch( testURI("ctr", "font", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same first party: 1 result, different first party: 2 unsupported: false passed: true test failed: false |
write: async (key) => { let style = document.createElement("style"); style.type='text/css'; let fontURI = testURI("resource", "font", key); style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } body { font-family: "myFont" }`; document.getElementsByTagName("head")[0].appendChild(style); return key; } read: async (key) => { const text = document.createElement("span"); text.id = "text"; text.innerText = "test"; document.body.appendChild(text); const originalWidth = text.getBoundingClientRect().width; let style = document.createElement("style"); style.type='text/css'; let fontURI = testURI("resource", "font", key); style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } #text { font-family: "myFont" }`; document.getElementsByTagName("head")[0].appendChild(style); let newWidth; do { await sleepMs(100); newWidth = text.getBoundingClientRect().width; } while (newWidth < 0 || newWidth === originalWidth) let response = await fetch( testURI("ctr", "font", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same first party: 1 result, different first party: 2 unsupported: false passed: true test failed: false |
write: async (key) => { let style = document.createElement("style"); style.type='text/css'; let fontURI = testURI("resource", "font", key); style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } body { font-family: "myFont" }`; document.getElementsByTagName("head")[0].appendChild(style); return key; } read: async (key) => { const text = document.createElement("span"); text.id = "text"; text.innerText = "test"; document.body.appendChild(text); const originalWidth = text.getBoundingClientRect().width; let style = document.createElement("style"); style.type='text/css'; let fontURI = testURI("resource", "font", key); style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } #text { font-family: "myFont" }`; document.getElementsByTagName("head")[0].appendChild(style); let newWidth; do { await sleepMs(100); newWidth = text.getBoundingClientRect().width; } while (newWidth < 0 || newWidth === originalWidth) let response = await fetch( testURI("ctr", "font", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same first party: 1 result, different first party: 2 unsupported: false passed: true test failed: false |
write: async (key) => { let style = document.createElement("style"); style.type='text/css'; let fontURI = testURI("resource", "font", key); style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } body { font-family: "myFont" }`; document.getElementsByTagName("head")[0].appendChild(style); return key; } read: async (key) => { const text = document.createElement("span"); text.id = "text"; text.innerText = "test"; document.body.appendChild(text); const originalWidth = text.getBoundingClientRect().width; let style = document.createElement("style"); style.type='text/css'; let fontURI = testURI("resource", "font", key); style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } #text { font-family: "myFont" }`; document.getElementsByTagName("head")[0].appendChild(style); let newWidth; do { await sleepMs(100); newWidth = text.getBoundingClientRect().width; } while (newWidth < 0 || newWidth === originalWidth) let response = await fetch( testURI("ctr", "font", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same first party: 1 result, different first party: 2 unsupported: false passed: true test failed: false |
write: async (key) => { let style = document.createElement("style"); style.type='text/css'; let fontURI = testURI("resource", "font", key); style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } body { font-family: "myFont" }`; document.getElementsByTagName("head")[0].appendChild(style); return key; } read: async (key) => { const text = document.createElement("span"); text.id = "text"; text.innerText = "test"; document.body.appendChild(text); const originalWidth = text.getBoundingClientRect().width; let style = document.createElement("style"); style.type='text/css'; let fontURI = testURI("resource", "font", key); style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } #text { font-family: "myFont" }`; document.getElementsByTagName("head")[0].appendChild(style); let newWidth; do { await sleepMs(100); newWidth = text.getBoundingClientRect().width; } while (newWidth < 0 || newWidth === originalWidth) let response = await fetch( testURI("ctr", "font", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same first party: 1 result, different first party: 2 unsupported: false passed: true test failed: false |
write: async (key) => { let style = document.createElement("style"); style.type='text/css'; let fontURI = testURI("resource", "font", key); style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } body { font-family: "myFont" }`; document.getElementsByTagName("head")[0].appendChild(style); return key; } read: async (key) => { const text = document.createElement("span"); text.id = "text"; text.innerText = "test"; document.body.appendChild(text); const originalWidth = text.getBoundingClientRect().width; let style = document.createElement("style"); style.type='text/css'; let fontURI = testURI("resource", "font", key); style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } #text { font-family: "myFont" }`; document.getElementsByTagName("head")[0].appendChild(style); let newWidth; do { await sleepMs(100); newWidth = text.getBoundingClientRect().width; } while (newWidth < 0 || newWidth === originalWidth) let response = await fetch( testURI("ctr", "font", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same first party: 1, 1, 1, 1, 1 result, different first party: 1, 1, 1, 1, 1 unsupported: false, false, false, false, false passed: false, false, false, false, false test failed: false, false, false, false, false |
write: async (key) => { let style = document.createElement("style"); style.type='text/css'; let fontURI = testURI("resource", "font", key); style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } body { font-family: "myFont" }`; document.getElementsByTagName("head")[0].appendChild(style); return key; } read: async (key) => { const text = document.createElement("span"); text.id = "text"; text.innerText = "test"; document.body.appendChild(text); const originalWidth = text.getBoundingClientRect().width; let style = document.createElement("style"); style.type='text/css'; let fontURI = testURI("resource", "font", key); style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } #text { font-family: "myFont" }`; document.getElementsByTagName("head")[0].appendChild(style); let newWidth; do { await sleepMs(100); newWidth = text.getBoundingClientRect().width; } while (newWidth < 0 || newWidth === originalWidth) let response = await fetch( testURI("ctr", "font", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same first party: 1 result, different first party: 2 unsupported: false passed: true test failed: false |
write: async (key) => { let style = document.createElement("style"); style.type='text/css'; let fontURI = testURI("resource", "font", key); style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } body { font-family: "myFont" }`; document.getElementsByTagName("head")[0].appendChild(style); return key; } read: async (key) => { const text = document.createElement("span"); text.id = "text"; text.innerText = "test"; document.body.appendChild(text); const originalWidth = text.getBoundingClientRect().width; let style = document.createElement("style"); style.type='text/css'; let fontURI = testURI("resource", "font", key); style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } #text { font-family: "myFont" }`; document.getElementsByTagName("head")[0].appendChild(style); let newWidth; do { await sleepMs(100); newWidth = text.getBoundingClientRect().width; } while (newWidth < 0 || newWidth === originalWidth) let response = await fetch( testURI("ctr", "font", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same first party: 1 result, different first party: 2 unsupported: false passed: true test failed: false |
write: async (key) => { let style = document.createElement("style"); style.type='text/css'; let fontURI = testURI("resource", "font", key); style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } body { font-family: "myFont" }`; document.getElementsByTagName("head")[0].appendChild(style); return key; } read: async (key) => { const text = document.createElement("span"); text.id = "text"; text.innerText = "test"; document.body.appendChild(text); const originalWidth = text.getBoundingClientRect().width; let style = document.createElement("style"); style.type='text/css'; let fontURI = testURI("resource", "font", key); style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } #text { font-family: "myFont" }`; document.getElementsByTagName("head")[0].appendChild(style); let newWidth; do { await sleepMs(100); newWidth = text.getBoundingClientRect().width; } while (newWidth < 0 || newWidth === originalWidth) let response = await fetch( testURI("ctr", "font", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same first party: 1 result, different first party: 2 unsupported: false passed: true test failed: false |
getDirectory
navigator.storage.getDirectory exposes a location for storing files to web content. In some cases, these files may be shared across tabs. |
write: async (secret) => { try { const root = await navigator.storage.getDirectory(); const fileHandle = await root.getFileHandle("secret.txt", { create: true }); const stream = await fileHandle.createWritable(); await stream.write(secret); await stream.close(); } catch (e) { throw new Error("Unsupported"); } } read: async () => { try { const root = await navigator.storage.getDirectory(); const fileHandle = await root.getFileHandle("secret.txt"); const file = await fileHandle.getFile(); return file.text(); } catch (e) { throw new Error("Unsupported"); } } result, same first party: 395728fd-45b1-483b-aae3-30840614c71f result, different first party: Error: Unsupported unsupported: false passed: true test failed: false |
write: async (secret) => { try { const root = await navigator.storage.getDirectory(); const fileHandle = await root.getFileHandle("secret.txt", { create: true }); const stream = await fileHandle.createWritable(); await stream.write(secret); await stream.close(); } catch (e) { throw new Error("Unsupported"); } } read: async () => { try { const root = await navigator.storage.getDirectory(); const fileHandle = await root.getFileHandle("secret.txt"); const file = await fileHandle.getFile(); return file.text(); } catch (e) { throw new Error("Unsupported"); } } result, same first party: cfc01c4b-e9b0-4dd0-9e63-71dff9875002 result, different first party: Error: Unsupported unsupported: false passed: true test failed: false |
write: async (secret) => { try { const root = await navigator.storage.getDirectory(); const fileHandle = await root.getFileHandle("secret.txt", { create: true }); const stream = await fileHandle.createWritable(); await stream.write(secret); await stream.close(); } catch (e) { throw new Error("Unsupported"); } } read: async () => { try { const root = await navigator.storage.getDirectory(); const fileHandle = await root.getFileHandle("secret.txt"); const file = await fileHandle.getFile(); return file.text(); } catch (e) { throw new Error("Unsupported"); } } result, same first party: 4dec08bb-3827-41ae-a277-c2b2a7f3093d result, different first party: 4dec08bb-3827-41ae-a277-c2b2a7f3093d unsupported: false passed: false test failed: false |
write: async (secret) => { try { const root = await navigator.storage.getDirectory(); const fileHandle = await root.getFileHandle("secret.txt", { create: true }); const stream = await fileHandle.createWritable(); await stream.write(secret); await stream.close(); } catch (e) { throw new Error("Unsupported"); } } read: async () => { try { const root = await navigator.storage.getDirectory(); const fileHandle = await root.getFileHandle("secret.txt"); const file = await fileHandle.getFile(); return file.text(); } catch (e) { throw new Error("Unsupported"); } } result, same first party: 4a6a9247-b4e1-4572-8e64-7cb95b774938 result, different first party: Error: Unsupported unsupported: false passed: true test failed: false |
write: async (secret) => { try { const root = await navigator.storage.getDirectory(); const fileHandle = await root.getFileHandle("secret.txt", { create: true }); const stream = await fileHandle.createWritable(); await stream.write(secret); await stream.close(); } catch (e) { throw new Error("Unsupported"); } } read: async () => { try { const root = await navigator.storage.getDirectory(); const fileHandle = await root.getFileHandle("secret.txt"); const file = await fileHandle.getFile(); return file.text(); } catch (e) { throw new Error("Unsupported"); } } result, same first party: de15919a-59b1-4372-8d7e-4fe266a8dd81 result, different first party: Error: Unsupported unsupported: false passed: true test failed: false |
write: async (secret) => { try { const root = await navigator.storage.getDirectory(); const fileHandle = await root.getFileHandle("secret.txt", { create: true }); const stream = await fileHandle.createWritable(); await stream.write(secret); await stream.close(); } catch (e) { throw new Error("Unsupported"); } } read: async () => { try { const root = await navigator.storage.getDirectory(); const fileHandle = await root.getFileHandle("secret.txt"); const file = await fileHandle.getFile(); return file.text(); } catch (e) { throw new Error("Unsupported"); } } result, same first party: Error: Unsupported result, different first party: Error: Unsupported unsupported: true passed: undefined test failed: false |
write: async (secret) => { try { const root = await navigator.storage.getDirectory(); const fileHandle = await root.getFileHandle("secret.txt", { create: true }); const stream = await fileHandle.createWritable(); await stream.write(secret); await stream.close(); } catch (e) { throw new Error("Unsupported"); } } read: async () => { try { const root = await navigator.storage.getDirectory(); const fileHandle = await root.getFileHandle("secret.txt"); const file = await fileHandle.getFile(); return file.text(); } catch (e) { throw new Error("Unsupported"); } } result, same first party: 2c30e905-89f9-43e0-8121-691bfd8d8d4b result, different first party: Error: Unsupported unsupported: false passed: true test failed: false |
write: async (secret) => { try { const root = await navigator.storage.getDirectory(); const fileHandle = await root.getFileHandle("secret.txt", { create: true }); const stream = await fileHandle.createWritable(); await stream.write(secret); await stream.close(); } catch (e) { throw new Error("Unsupported"); } } read: async () => { try { const root = await navigator.storage.getDirectory(); const fileHandle = await root.getFileHandle("secret.txt"); const file = await fileHandle.getFile(); return file.text(); } catch (e) { throw new Error("Unsupported"); } } result, same first party: 4de5d046-d641-4de4-853d-2deaee2f77a8 result, different first party: Error: Unsupported unsupported: false passed: true test failed: false |
write: async (secret) => { try { const root = await navigator.storage.getDirectory(); const fileHandle = await root.getFileHandle("secret.txt", { create: true }); const stream = await fileHandle.createWritable(); await stream.write(secret); await stream.close(); } catch (e) { throw new Error("Unsupported"); } } read: async () => { try { const root = await navigator.storage.getDirectory(); const fileHandle = await root.getFileHandle("secret.txt"); const file = await fileHandle.getFile(); return file.text(); } catch (e) { throw new Error("Unsupported"); } } result, same first party: 5a50b218-e9bb-4d6c-ab8e-cdb6777c4ca6, 52109630-975b-4a25-b271-1b40345014b9, 09b12ba4-febb-406c-ae01-a3222c01e9d0, e31a8827-fbbc-4f17-8ff4-0dd018412883, 2e3465ba-9d71-4a78-956f-a7436760f50e result, different first party: 5a50b218-e9bb-4d6c-ab8e-cdb6777c4ca6, 52109630-975b-4a25-b271-1b40345014b9, 09b12ba4-febb-406c-ae01-a3222c01e9d0, e31a8827-fbbc-4f17-8ff4-0dd018412883, 2e3465ba-9d71-4a78-956f-a7436760f50e unsupported: false, false, false, false, false passed: false, false, false, false, false test failed: false, false, false, false, false |
write: async (secret) => { try { const root = await navigator.storage.getDirectory(); const fileHandle = await root.getFileHandle("secret.txt", { create: true }); const stream = await fileHandle.createWritable(); await stream.write(secret); await stream.close(); } catch (e) { throw new Error("Unsupported"); } } read: async () => { try { const root = await navigator.storage.getDirectory(); const fileHandle = await root.getFileHandle("secret.txt"); const file = await fileHandle.getFile(); return file.text(); } catch (e) { throw new Error("Unsupported"); } } result, same first party: Error: Unsupported result, different first party: Error: Unsupported unsupported: true passed: undefined test failed: false |
write: async (secret) => { try { const root = await navigator.storage.getDirectory(); const fileHandle = await root.getFileHandle("secret.txt", { create: true }); const stream = await fileHandle.createWritable(); await stream.write(secret); await stream.close(); } catch (e) { throw new Error("Unsupported"); } } read: async () => { try { const root = await navigator.storage.getDirectory(); const fileHandle = await root.getFileHandle("secret.txt"); const file = await fileHandle.getFile(); return file.text(); } catch (e) { throw new Error("Unsupported"); } } result, same first party: 6b2aeaa1-68b1-4cfa-8eb0-358668aeaf73 result, different first party: Error: Unsupported unsupported: false passed: true test failed: false |
write: async (secret) => { try { const root = await navigator.storage.getDirectory(); const fileHandle = await root.getFileHandle("secret.txt", { create: true }); const stream = await fileHandle.createWritable(); await stream.write(secret); await stream.close(); } catch (e) { throw new Error("Unsupported"); } } read: async () => { try { const root = await navigator.storage.getDirectory(); const fileHandle = await root.getFileHandle("secret.txt"); const file = await fileHandle.getFile(); return file.text(); } catch (e) { throw new Error("Unsupported"); } } result, same first party: 83d2a636-d42f-4755-afec-86f894c67881 result, different first party: Error: Unsupported unsupported: false passed: true test failed: false |
H1 connection
HTTP/1.x are the classic web connection protocols. If these connections are re-used across websites, they can be used to track users. |
write: async (secret) => { await fetch(`https://h1.privacytests2.org:8901/?mode=write&secret=${secret}`, {cache: "no-store"}); } read: async () => { let response = await fetch(`https://h1.privacytests2.org:8901/?mode=read`, {cache: "no-store"}); return await response.text(); } result, same first party: 395728fd-45b1-483b-aae3-30840614c71f result, different first party: unsupported: false passed: true test failed: false |
write: async (secret) => { await fetch(`https://h1.privacytests2.org:8901/?mode=write&secret=${secret}`, {cache: "no-store"}); } read: async () => { let response = await fetch(`https://h1.privacytests2.org:8901/?mode=read`, {cache: "no-store"}); return await response.text(); } result, same first party: cfc01c4b-e9b0-4dd0-9e63-71dff9875002 result, different first party: unsupported: false passed: true test failed: false |
write: async (secret) => { await fetch(`https://h1.privacytests2.org:8901/?mode=write&secret=${secret}`, {cache: "no-store"}); } read: async () => { let response = await fetch(`https://h1.privacytests2.org:8901/?mode=read`, {cache: "no-store"}); return await response.text(); } result, same first party: 4dec08bb-3827-41ae-a277-c2b2a7f3093d result, different first party: 4dec08bb-3827-41ae-a277-c2b2a7f3093d unsupported: false passed: false test failed: false |
write: async (secret) => { await fetch(`https://h1.privacytests2.org:8901/?mode=write&secret=${secret}`, {cache: "no-store"}); } read: async () => { let response = await fetch(`https://h1.privacytests2.org:8901/?mode=read`, {cache: "no-store"}); return await response.text(); } result, same first party: 4a6a9247-b4e1-4572-8e64-7cb95b774938 result, different first party: unsupported: false passed: true test failed: false |
write: async (secret) => { await fetch(`https://h1.privacytests2.org:8901/?mode=write&secret=${secret}`, {cache: "no-store"}); } read: async () => { let response = await fetch(`https://h1.privacytests2.org:8901/?mode=read`, {cache: "no-store"}); return await response.text(); } result, same first party: de15919a-59b1-4372-8d7e-4fe266a8dd81 result, different first party: unsupported: false passed: true test failed: false |
write: async (secret) => { await fetch(`https://h1.privacytests2.org:8901/?mode=write&secret=${secret}`, {cache: "no-store"}); } read: async () => { let response = await fetch(`https://h1.privacytests2.org:8901/?mode=read`, {cache: "no-store"}); return await response.text(); } result, same first party: 04041701-114e-4ffa-a7c3-a94190db6435 result, different first party: unsupported: false passed: true test failed: false |
write: async (secret) => { await fetch(`https://h1.privacytests2.org:8901/?mode=write&secret=${secret}`, {cache: "no-store"}); } read: async () => { let response = await fetch(`https://h1.privacytests2.org:8901/?mode=read`, {cache: "no-store"}); return await response.text(); } result, same first party: 2c30e905-89f9-43e0-8121-691bfd8d8d4b result, different first party: unsupported: false passed: true test failed: false |
write: async (secret) => { await fetch(`https://h1.privacytests2.org:8901/?mode=write&secret=${secret}`, {cache: "no-store"}); } read: async () => { let response = await fetch(`https://h1.privacytests2.org:8901/?mode=read`, {cache: "no-store"}); return await response.text(); } result, same first party: 4de5d046-d641-4de4-853d-2deaee2f77a8 result, different first party: unsupported: false passed: true test failed: false |
write: async (secret) => { await fetch(`https://h1.privacytests2.org:8901/?mode=write&secret=${secret}`, {cache: "no-store"}); } read: async () => { let response = await fetch(`https://h1.privacytests2.org:8901/?mode=read`, {cache: "no-store"}); return await response.text(); } result, same first party: 5a50b218-e9bb-4d6c-ab8e-cdb6777c4ca6, 52109630-975b-4a25-b271-1b40345014b9, 09b12ba4-febb-406c-ae01-a3222c01e9d0, e31a8827-fbbc-4f17-8ff4-0dd018412883, 2e3465ba-9d71-4a78-956f-a7436760f50e result, different first party: 5a50b218-e9bb-4d6c-ab8e-cdb6777c4ca6, 52109630-975b-4a25-b271-1b40345014b9, 09b12ba4-febb-406c-ae01-a3222c01e9d0, e31a8827-fbbc-4f17-8ff4-0dd018412883, 2e3465ba-9d71-4a78-956f-a7436760f50e unsupported: false, false, false, false, false passed: false, false, false, false, false test failed: false, false, false, false, false |
write: async (secret) => { await fetch(`https://h1.privacytests2.org:8901/?mode=write&secret=${secret}`, {cache: "no-store"}); } read: async () => { let response = await fetch(`https://h1.privacytests2.org:8901/?mode=read`, {cache: "no-store"}); return await response.text(); } result, same first party: a492ddfc-e63e-4699-9a36-ea3956f606c8 result, different first party: unsupported: false passed: true test failed: false |
write: async (secret) => { await fetch(`https://h1.privacytests2.org:8901/?mode=write&secret=${secret}`, {cache: "no-store"}); } read: async () => { let response = await fetch(`https://h1.privacytests2.org:8901/?mode=read`, {cache: "no-store"}); return await response.text(); } result, same first party: 6b2aeaa1-68b1-4cfa-8eb0-358668aeaf73 result, different first party: unsupported: false passed: true test failed: false |
write: async (secret) => { await fetch(`https://h1.privacytests2.org:8901/?mode=write&secret=${secret}`, {cache: "no-store"}); } read: async () => { let response = await fetch(`https://h1.privacytests2.org:8901/?mode=read`, {cache: "no-store"}); return await response.text(); } result, same first party: 83d2a636-d42f-4755-afec-86f894c67881 result, different first party: unsupported: false passed: true test failed: false |
H2 connection
HTTP/2 is a web connection protocol introduced in 2015. Some browsers re-use HTTP/2 connections across websites and can thus be used to track users. |
write: async (secret) => { await fetch(`https://h2.privacytests2.org:8902/?mode=write&secret=${secret}`, {cache: "no-store"}); } read: async () => { let response = await fetch(`https://h2.privacytests2.org:8902/?mode=read`, {cache: "no-store"}); return await response.text(); } result, same first party: 395728fd-45b1-483b-aae3-30840614c71f result, different first party: unsupported: false passed: true test failed: false |
write: async (secret) => { await fetch(`https://h2.privacytests2.org:8902/?mode=write&secret=${secret}`, {cache: "no-store"}); } read: async () => { let response = await fetch(`https://h2.privacytests2.org:8902/?mode=read`, {cache: "no-store"}); return await response.text(); } result, same first party: cfc01c4b-e9b0-4dd0-9e63-71dff9875002 result, different first party: unsupported: false passed: true test failed: false |
write: async (secret) => { await fetch(`https://h2.privacytests2.org:8902/?mode=write&secret=${secret}`, {cache: "no-store"}); } read: async () => { let response = await fetch(`https://h2.privacytests2.org:8902/?mode=read`, {cache: "no-store"}); return await response.text(); } result, same first party: 4dec08bb-3827-41ae-a277-c2b2a7f3093d result, different first party: 4dec08bb-3827-41ae-a277-c2b2a7f3093d unsupported: false passed: false test failed: false |
write: async (secret) => { await fetch(`https://h2.privacytests2.org:8902/?mode=write&secret=${secret}`, {cache: "no-store"}); } read: async () => { let response = await fetch(`https://h2.privacytests2.org:8902/?mode=read`, {cache: "no-store"}); return await response.text(); } result, same first party: 4a6a9247-b4e1-4572-8e64-7cb95b774938 result, different first party: unsupported: false passed: true test failed: false |
write: async (secret) => { await fetch(`https://h2.privacytests2.org:8902/?mode=write&secret=${secret}`, {cache: "no-store"}); } read: async () => { let response = await fetch(`https://h2.privacytests2.org:8902/?mode=read`, {cache: "no-store"}); return await response.text(); } result, same first party: de15919a-59b1-4372-8d7e-4fe266a8dd81 result, different first party: unsupported: false passed: true test failed: false |
write: async (secret) => { await fetch(`https://h2.privacytests2.org:8902/?mode=write&secret=${secret}`, {cache: "no-store"}); } read: async () => { let response = await fetch(`https://h2.privacytests2.org:8902/?mode=read`, {cache: "no-store"}); return await response.text(); } result, same first party: 04041701-114e-4ffa-a7c3-a94190db6435 result, different first party: unsupported: false passed: true test failed: false |
write: async (secret) => { await fetch(`https://h2.privacytests2.org:8902/?mode=write&secret=${secret}`, {cache: "no-store"}); } read: async () => { let response = await fetch(`https://h2.privacytests2.org:8902/?mode=read`, {cache: "no-store"}); return await response.text(); } result, same first party: 2c30e905-89f9-43e0-8121-691bfd8d8d4b result, different first party: unsupported: false passed: true test failed: false |
write: async (secret) => { await fetch(`https://h2.privacytests2.org:8902/?mode=write&secret=${secret}`, {cache: "no-store"}); } read: async () => { let response = await fetch(`https://h2.privacytests2.org:8902/?mode=read`, {cache: "no-store"}); return await response.text(); } result, same first party: 4de5d046-d641-4de4-853d-2deaee2f77a8 result, different first party: unsupported: false passed: true test failed: false |
write: async (secret) => { await fetch(`https://h2.privacytests2.org:8902/?mode=write&secret=${secret}`, {cache: "no-store"}); } read: async () => { let response = await fetch(`https://h2.privacytests2.org:8902/?mode=read`, {cache: "no-store"}); return await response.text(); } result, same first party: 5a50b218-e9bb-4d6c-ab8e-cdb6777c4ca6, 52109630-975b-4a25-b271-1b40345014b9, 09b12ba4-febb-406c-ae01-a3222c01e9d0, e31a8827-fbbc-4f17-8ff4-0dd018412883, 2e3465ba-9d71-4a78-956f-a7436760f50e result, different first party: 5a50b218-e9bb-4d6c-ab8e-cdb6777c4ca6, 52109630-975b-4a25-b271-1b40345014b9, 09b12ba4-febb-406c-ae01-a3222c01e9d0, e31a8827-fbbc-4f17-8ff4-0dd018412883, 2e3465ba-9d71-4a78-956f-a7436760f50e unsupported: false, false, false, false, false passed: false, false, false, false, false test failed: false, false, false, false, false |
write: async (secret) => { await fetch(`https://h2.privacytests2.org:8902/?mode=write&secret=${secret}`, {cache: "no-store"}); } read: async () => { let response = await fetch(`https://h2.privacytests2.org:8902/?mode=read`, {cache: "no-store"}); return await response.text(); } result, same first party: a492ddfc-e63e-4699-9a36-ea3956f606c8 result, different first party: unsupported: false passed: true test failed: false |
write: async (secret) => { await fetch(`https://h2.privacytests2.org:8902/?mode=write&secret=${secret}`, {cache: "no-store"}); } read: async () => { let response = await fetch(`https://h2.privacytests2.org:8902/?mode=read`, {cache: "no-store"}); return await response.text(); } result, same first party: 6b2aeaa1-68b1-4cfa-8eb0-358668aeaf73 result, different first party: unsupported: false passed: true test failed: false |
write: async (secret) => { await fetch(`https://h2.privacytests2.org:8902/?mode=write&secret=${secret}`, {cache: "no-store"}); } read: async () => { let response = await fetch(`https://h2.privacytests2.org:8902/?mode=read`, {cache: "no-store"}); return await response.text(); } result, same first party: 83d2a636-d42f-4755-afec-86f894c67881 result, different first party: unsupported: false passed: true test failed: false |
H3 connection
HTTP/3 is a new standard HTTP connection protocol, still in draft but widely supported by browsers. If it is not partitioned, it can be used to track users across websites. |
write: async (secret) => { // Ensure that we can switch over to h3 via alt-svc: for (let i = 0; i<3; ++i) { await fetch(`https://h3.privacytests2.org:4434/connection_id`, {cache: "no-store"}); await sleepMs(500); } // Are we now connecting over h3? let response = await fetch(`https://h3.privacytests2.org:4434/connection_id`, {cache: "no-store"}); let text = await response.text(); // Empty response text indicates we are not connecting over h3: if (text.trim() === "") { throw new Error("Unsupported"); } } read: async () => { let response = await fetch(`https://h3.privacytests2.org:4434/connection_id`); return await response.text(); } result, same first party: b6d99e10af27ebdaaaa53a15005134d9 result, different first party: 7b29642bf69aa96e328359b864a8ebef unsupported: false passed: true test failed: false |
write: async (secret) => { // Ensure that we can switch over to h3 via alt-svc: for (let i = 0; i<3; ++i) { await fetch(`https://h3.privacytests2.org:4434/connection_id`, {cache: "no-store"}); await sleepMs(500); } // Are we now connecting over h3? let response = await fetch(`https://h3.privacytests2.org:4434/connection_id`, {cache: "no-store"}); let text = await response.text(); // Empty response text indicates we are not connecting over h3: if (text.trim() === "") { throw new Error("Unsupported"); } } read: async () => { let response = await fetch(`https://h3.privacytests2.org:4434/connection_id`); return await response.text(); } result, same first party: 69a366e678ac9e463faa5f8dfc39eb5f result, different first party: c2d9c8a8439800b479f3fd37b210f432 unsupported: false passed: true test failed: false |
write: async (secret) => { // Ensure that we can switch over to h3 via alt-svc: for (let i = 0; i<3; ++i) { await fetch(`https://h3.privacytests2.org:4434/connection_id`, {cache: "no-store"}); await sleepMs(500); } // Are we now connecting over h3? let response = await fetch(`https://h3.privacytests2.org:4434/connection_id`, {cache: "no-store"}); let text = await response.text(); // Empty response text indicates we are not connecting over h3: if (text.trim() === "") { throw new Error("Unsupported"); } } read: async () => { let response = await fetch(`https://h3.privacytests2.org:4434/connection_id`); return await response.text(); } result, same first party: c9ef4d299e2e777a52f2500cab0f07ba result, different first party: c9ef4d299e2e777a52f2500cab0f07ba unsupported: false passed: false test failed: false |
write: async (secret) => { // Ensure that we can switch over to h3 via alt-svc: for (let i = 0; i<3; ++i) { await fetch(`https://h3.privacytests2.org:4434/connection_id`, {cache: "no-store"}); await sleepMs(500); } // Are we now connecting over h3? let response = await fetch(`https://h3.privacytests2.org:4434/connection_id`, {cache: "no-store"}); let text = await response.text(); // Empty response text indicates we are not connecting over h3: if (text.trim() === "") { throw new Error("Unsupported"); } } read: async () => { let response = await fetch(`https://h3.privacytests2.org:4434/connection_id`); return await response.text(); } result, same first party: 76616cd49778be359c7c8ba6143457ee result, different first party: 2dd3bde516272f7549c53b560cf80dbd unsupported: false passed: true test failed: false |
write: async (secret) => { // Ensure that we can switch over to h3 via alt-svc: for (let i = 0; i<3; ++i) { await fetch(`https://h3.privacytests2.org:4434/connection_id`, {cache: "no-store"}); await sleepMs(500); } // Are we now connecting over h3? let response = await fetch(`https://h3.privacytests2.org:4434/connection_id`, {cache: "no-store"}); let text = await response.text(); // Empty response text indicates we are not connecting over h3: if (text.trim() === "") { throw new Error("Unsupported"); } } read: async () => { let response = await fetch(`https://h3.privacytests2.org:4434/connection_id`); return await response.text(); } result, same first party: b17d3a32535aeb9b490750b206ab4ae5 result, different first party: fbe8cd43dd84f087177f51a9099dc8f6 unsupported: false passed: true test failed: false |
write: async (secret) => { // Ensure that we can switch over to h3 via alt-svc: for (let i = 0; i<3; ++i) { await fetch(`https://h3.privacytests2.org:4434/connection_id`, {cache: "no-store"}); await sleepMs(500); } // Are we now connecting over h3? let response = await fetch(`https://h3.privacytests2.org:4434/connection_id`, {cache: "no-store"}); let text = await response.text(); // Empty response text indicates we are not connecting over h3: if (text.trim() === "") { throw new Error("Unsupported"); } } read: async () => { let response = await fetch(`https://h3.privacytests2.org:4434/connection_id`); return await response.text(); } result, same first party: fdc66a12ec441cdefe97496ef1833eb5 result, different first party: unsupported: false passed: true test failed: false |
write: async (secret) => { // Ensure that we can switch over to h3 via alt-svc: for (let i = 0; i<3; ++i) { await fetch(`https://h3.privacytests2.org:4434/connection_id`, {cache: "no-store"}); await sleepMs(500); } // Are we now connecting over h3? let response = await fetch(`https://h3.privacytests2.org:4434/connection_id`, {cache: "no-store"}); let text = await response.text(); // Empty response text indicates we are not connecting over h3: if (text.trim() === "") { throw new Error("Unsupported"); } } read: async () => { let response = await fetch(`https://h3.privacytests2.org:4434/connection_id`); return await response.text(); } result, same first party: b1cfe1a1251a83edbd749de881e9c278 result, different first party: 7e312794e0c39203f149010f936bf1d3 unsupported: false passed: true test failed: false |
write: async (secret) => { // Ensure that we can switch over to h3 via alt-svc: for (let i = 0; i<3; ++i) { await fetch(`https://h3.privacytests2.org:4434/connection_id`, {cache: "no-store"}); await sleepMs(500); } // Are we now connecting over h3? let response = await fetch(`https://h3.privacytests2.org:4434/connection_id`, {cache: "no-store"}); let text = await response.text(); // Empty response text indicates we are not connecting over h3: if (text.trim() === "") { throw new Error("Unsupported"); } } read: async () => { let response = await fetch(`https://h3.privacytests2.org:4434/connection_id`); return await response.text(); } result, same first party: 969da3f08d16c992bb9eaa668df5993f result, different first party: unsupported: false passed: true test failed: false |
write: async (secret) => { // Ensure that we can switch over to h3 via alt-svc: for (let i = 0; i<3; ++i) { await fetch(`https://h3.privacytests2.org:4434/connection_id`, {cache: "no-store"}); await sleepMs(500); } // Are we now connecting over h3? let response = await fetch(`https://h3.privacytests2.org:4434/connection_id`, {cache: "no-store"}); let text = await response.text(); // Empty response text indicates we are not connecting over h3: if (text.trim() === "") { throw new Error("Unsupported"); } } read: async () => { let response = await fetch(`https://h3.privacytests2.org:4434/connection_id`); return await response.text(); } result, same first party: , , , , result, different first party: , , , , unsupported: true, true, true, true, true passed: undefined test failed: false, false, false, false, false |
write: async (secret) => { // Ensure that we can switch over to h3 via alt-svc: for (let i = 0; i<3; ++i) { await fetch(`https://h3.privacytests2.org:4434/connection_id`, {cache: "no-store"}); await sleepMs(500); } // Are we now connecting over h3? let response = await fetch(`https://h3.privacytests2.org:4434/connection_id`, {cache: "no-store"}); let text = await response.text(); // Empty response text indicates we are not connecting over h3: if (text.trim() === "") { throw new Error("Unsupported"); } } read: async () => { let response = await fetch(`https://h3.privacytests2.org:4434/connection_id`); return await response.text(); } result, same first party: result, different first party: unsupported: true passed: undefined test failed: false |
write: async (secret) => { // Ensure that we can switch over to h3 via alt-svc: for (let i = 0; i<3; ++i) { await fetch(`https://h3.privacytests2.org:4434/connection_id`, {cache: "no-store"}); await sleepMs(500); } // Are we now connecting over h3? let response = await fetch(`https://h3.privacytests2.org:4434/connection_id`, {cache: "no-store"}); let text = await response.text(); // Empty response text indicates we are not connecting over h3: if (text.trim() === "") { throw new Error("Unsupported"); } } read: async () => { let response = await fetch(`https://h3.privacytests2.org:4434/connection_id`); return await response.text(); } result, same first party: 3a8e1c97207f570f8d854ad5fba4206a result, different first party: cab23b0a5f59e7ea777fa4f5434e8e48 unsupported: false passed: true test failed: false |
write: async (secret) => { // Ensure that we can switch over to h3 via alt-svc: for (let i = 0; i<3; ++i) { await fetch(`https://h3.privacytests2.org:4434/connection_id`, {cache: "no-store"}); await sleepMs(500); } // Are we now connecting over h3? let response = await fetch(`https://h3.privacytests2.org:4434/connection_id`, {cache: "no-store"}); let text = await response.text(); // Empty response text indicates we are not connecting over h3: if (text.trim() === "") { throw new Error("Unsupported"); } } read: async () => { let response = await fetch(`https://h3.privacytests2.org:4434/connection_id`); return await response.text(); } result, same first party: 082ffa7b8f78fac6ad998496a8fe8f82 result, different first party: unsupported: false passed: true test failed: false |
HSTS cache
The HTTP Strict-Transport-Security response header allows a website to signal that it should only be accessed via HTTPS. The browser remembers this directive in a database, but if this database is not partitioned, then it can be used to track users across websites." |
write: set HSTS flag read: read HSTS flag result, same first party: not tested result, different first party: Used http unsupported: false passed: true test failed: false |
write: set HSTS flag read: read HSTS flag result, same first party: not tested result, different first party: Upgraded to https unsupported: false passed: false test failed: false |
write: set HSTS flag read: read HSTS flag result, same first party: not tested result, different first party: Upgraded to https unsupported: false passed: false test failed: false |
write: set HSTS flag read: read HSTS flag result, same first party: not tested result, different first party: Upgraded to https unsupported: false passed: false test failed: false |
write: set HSTS flag read: read HSTS flag result, same first party: not tested result, different first party: Used http unsupported: false passed: true test failed: false |
write: null read: null result, same first party: null result, different first party: HTTPS used by default; no HSTS cache issue expected unsupported: null passed: true test failed: false |
write: null read: null result, same first party: null result, different first party: HTTPS used by default; no HSTS cache issue expected unsupported: null passed: true test failed: false |
write: set HSTS flag read: read HSTS flag result, same first party: not tested result, different first party: Upgraded to https unsupported: false passed: false test failed: false |
write: set HSTS flag read: read HSTS flag result, same first party: not tested, not tested, not tested, not tested, not tested result, different first party: Upgraded to https, Upgraded to https, Upgraded to https, Upgraded to https, Upgraded to https unsupported: false, false, false, false, false passed: false, false, false, false, false test failed: false, false, false, false, false |
write: null read: null result, same first party: null result, different first party: HTTPS used by default; no HSTS cache issue expected unsupported: null passed: true test failed: false |
write: set HSTS flag read: read HSTS flag result, same first party: not tested result, different first party: Upgraded to https unsupported: false passed: false test failed: false |
write: set HSTS flag read: read HSTS flag result, same first party: not tested result, different first party: Upgraded to https unsupported: false passed: false test failed: false |
HSTS cache (fetch)
The HTTP Strict-Transport-Security response header allows a website to signal that it should only be accessed via HTTPS. The browser remembers this directive in a database, but if this database is not partitioned, then it can be used to track users across websites." |
write: set HSTS flag read: read HSTS flag result, same first party: not tested result, different first party: Used http unsupported: false passed: true test failed: false |
write: set HSTS flag read: read HSTS flag result, same first party: not tested result, different first party: Upgraded to https unsupported: false passed: false test failed: false |
write: set HSTS flag read: read HSTS flag result, same first party: not tested result, different first party: Upgraded to https unsupported: false passed: false test failed: false |
write: set HSTS flag read: read HSTS flag result, same first party: not tested result, different first party: Upgraded to https unsupported: false passed: false test failed: false |
write: set HSTS flag read: read HSTS flag result, same first party: not tested result, different first party: Used http unsupported: false passed: true test failed: false |
write: null read: null result, same first party: null result, different first party: HTTPS used by default; no HSTS cache issue expected unsupported: null passed: true test failed: false |
write: null read: null result, same first party: null result, different first party: HTTPS used by default; no HSTS cache issue expected unsupported: null passed: true test failed: false |
write: set HSTS flag read: read HSTS flag result, same first party: not tested result, different first party: Upgraded to https unsupported: false passed: false test failed: false |
write: set HSTS flag read: read HSTS flag result, same first party: not tested, not tested, not tested, not tested, not tested result, different first party: Upgraded to https, Upgraded to https, Upgraded to https, Upgraded to https, Upgraded to https unsupported: false, false, false, false, false passed: false, false, false, false, false test failed: false, false, false, false, false |
write: null read: null result, same first party: null result, different first party: HTTPS used by default; no HSTS cache issue expected unsupported: null passed: true test failed: false |
write: set HSTS flag read: read HSTS flag result, same first party: not tested result, different first party: Upgraded to https unsupported: false passed: false test failed: false |
write: set HSTS flag read: read HSTS flag result, same first party: not tested result, different first party: Upgraded to https unsupported: false passed: false test failed: false |
iframe cache
An iframe is an element in a web page than allows websites to embed a second web page. Caching of this web page could be abused for cross-site tracking. |
write: (key) => new Promise((resolve, reject) => { let iframe = document.createElement("iframe"); document.body.appendChild(iframe); iframe.addEventListener("load", () => resolve(key), {once: true}); iframe.src = testURI("resource", "page", key); }) read: async (key) => { let iframe = document.createElement("iframe"); document.body.appendChild(iframe); let iframeLoadPromise = new Promise((resolve, reject) => { iframe.addEventListener("load", resolve, {once: true}); }); let address = testURI("resource", "page", key); iframe.src = address; await iframeLoadPromise; let response = await fetch( testURI("ctr", "page", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same first party: 1 result, different first party: 2 unsupported: false passed: true test failed: false |
write: (key) => new Promise((resolve, reject) => { let iframe = document.createElement("iframe"); document.body.appendChild(iframe); iframe.addEventListener("load", () => resolve(key), {once: true}); iframe.src = testURI("resource", "page", key); }) read: async (key) => { let iframe = document.createElement("iframe"); document.body.appendChild(iframe); let iframeLoadPromise = new Promise((resolve, reject) => { iframe.addEventListener("load", resolve, {once: true}); }); let address = testURI("resource", "page", key); iframe.src = address; await iframeLoadPromise; let response = await fetch( testURI("ctr", "page", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same first party: 1 result, different first party: 2 unsupported: false passed: true test failed: false |
write: (key) => new Promise((resolve, reject) => { let iframe = document.createElement("iframe"); document.body.appendChild(iframe); iframe.addEventListener("load", () => resolve(key), {once: true}); iframe.src = testURI("resource", "page", key); }) read: async (key) => { let iframe = document.createElement("iframe"); document.body.appendChild(iframe); let iframeLoadPromise = new Promise((resolve, reject) => { iframe.addEventListener("load", resolve, {once: true}); }); let address = testURI("resource", "page", key); iframe.src = address; await iframeLoadPromise; let response = await fetch( testURI("ctr", "page", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same first party: 1 result, different first party: 1 unsupported: false passed: false test failed: false |
write: (key) => new Promise((resolve, reject) => { let iframe = document.createElement("iframe"); document.body.appendChild(iframe); iframe.addEventListener("load", () => resolve(key), {once: true}); iframe.src = testURI("resource", "page", key); }) read: async (key) => { let iframe = document.createElement("iframe"); document.body.appendChild(iframe); let iframeLoadPromise = new Promise((resolve, reject) => { iframe.addEventListener("load", resolve, {once: true}); }); let address = testURI("resource", "page", key); iframe.src = address; await iframeLoadPromise; let response = await fetch( testURI("ctr", "page", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same first party: 1 result, different first party: 2 unsupported: false passed: true test failed: false |
write: (key) => new Promise((resolve, reject) => { let iframe = document.createElement("iframe"); document.body.appendChild(iframe); iframe.addEventListener("load", () => resolve(key), {once: true}); iframe.src = testURI("resource", "page", key); }) read: async (key) => { let iframe = document.createElement("iframe"); document.body.appendChild(iframe); let iframeLoadPromise = new Promise((resolve, reject) => { iframe.addEventListener("load", resolve, {once: true}); }); let address = testURI("resource", "page", key); iframe.src = address; await iframeLoadPromise; let response = await fetch( testURI("ctr", "page", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same first party: 1 result, different first party: 2 unsupported: false passed: true test failed: false |
write: (key) => new Promise((resolve, reject) => { let iframe = document.createElement("iframe"); document.body.appendChild(iframe); iframe.addEventListener("load", () => resolve(key), {once: true}); iframe.src = testURI("resource", "page", key); }) read: async (key) => { let iframe = document.createElement("iframe"); document.body.appendChild(iframe); let iframeLoadPromise = new Promise((resolve, reject) => { iframe.addEventListener("load", resolve, {once: true}); }); let address = testURI("resource", "page", key); iframe.src = address; await iframeLoadPromise; let response = await fetch( testURI("ctr", "page", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same first party: 1 result, different first party: 2 unsupported: false passed: true test failed: false |
write: (key) => new Promise((resolve, reject) => { let iframe = document.createElement("iframe"); document.body.appendChild(iframe); iframe.addEventListener("load", () => resolve(key), {once: true}); iframe.src = testURI("resource", "page", key); }) read: async (key) => { let iframe = document.createElement("iframe"); document.body.appendChild(iframe); let iframeLoadPromise = new Promise((resolve, reject) => { iframe.addEventListener("load", resolve, {once: true}); }); let address = testURI("resource", "page", key); iframe.src = address; await iframeLoadPromise; let response = await fetch( testURI("ctr", "page", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same first party: 1 result, different first party: 2 unsupported: false passed: true test failed: false |
write: (key) => new Promise((resolve, reject) => { let iframe = document.createElement("iframe"); document.body.appendChild(iframe); iframe.addEventListener("load", () => resolve(key), {once: true}); iframe.src = testURI("resource", "page", key); }) read: async (key) => { let iframe = document.createElement("iframe"); document.body.appendChild(iframe); let iframeLoadPromise = new Promise((resolve, reject) => { iframe.addEventListener("load", resolve, {once: true}); }); let address = testURI("resource", "page", key); iframe.src = address; await iframeLoadPromise; let response = await fetch( testURI("ctr", "page", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same first party: 1 result, different first party: 2 unsupported: false passed: true test failed: false |
write: (key) => new Promise((resolve, reject) => { let iframe = document.createElement("iframe"); document.body.appendChild(iframe); iframe.addEventListener("load", () => resolve(key), {once: true}); iframe.src = testURI("resource", "page", key); }) read: async (key) => { let iframe = document.createElement("iframe"); document.body.appendChild(iframe); let iframeLoadPromise = new Promise((resolve, reject) => { iframe.addEventListener("load", resolve, {once: true}); }); let address = testURI("resource", "page", key); iframe.src = address; await iframeLoadPromise; let response = await fetch( testURI("ctr", "page", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same first party: 1, 1, 1, 1, 1 result, different first party: 2, 2, 2, 2, 2 unsupported: false, false, false, false, false passed: true, true, true, true, true test failed: false, false, false, false, false |
write: (key) => new Promise((resolve, reject) => { let iframe = document.createElement("iframe"); document.body.appendChild(iframe); iframe.addEventListener("load", () => resolve(key), {once: true}); iframe.src = testURI("resource", "page", key); }) read: async (key) => { let iframe = document.createElement("iframe"); document.body.appendChild(iframe); let iframeLoadPromise = new Promise((resolve, reject) => { iframe.addEventListener("load", resolve, {once: true}); }); let address = testURI("resource", "page", key); iframe.src = address; await iframeLoadPromise; let response = await fetch( testURI("ctr", "page", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same first party: 1 result, different first party: 2 unsupported: false passed: true test failed: false |
write: (key) => new Promise((resolve, reject) => { let iframe = document.createElement("iframe"); document.body.appendChild(iframe); iframe.addEventListener("load", () => resolve(key), {once: true}); iframe.src = testURI("resource", "page", key); }) read: async (key) => { let iframe = document.createElement("iframe"); document.body.appendChild(iframe); let iframeLoadPromise = new Promise((resolve, reject) => { iframe.addEventListener("load", resolve, {once: true}); }); let address = testURI("resource", "page", key); iframe.src = address; await iframeLoadPromise; let response = await fetch( testURI("ctr", "page", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same first party: 1 result, different first party: 2 unsupported: false passed: true test failed: false |
write: (key) => new Promise((resolve, reject) => { let iframe = document.createElement("iframe"); document.body.appendChild(iframe); iframe.addEventListener("load", () => resolve(key), {once: true}); iframe.src = testURI("resource", "page", key); }) read: async (key) => { let iframe = document.createElement("iframe"); document.body.appendChild(iframe); let iframeLoadPromise = new Promise((resolve, reject) => { iframe.addEventListener("load", resolve, {once: true}); }); let address = testURI("resource", "page", key); iframe.src = address; await iframeLoadPromise; let response = await fetch( testURI("ctr", "page", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same first party: 1 result, different first party: 2 unsupported: false passed: true test failed: false |
image cache
Caching of images in web browsers is a standard behavior. But if that cache leaks between websites, it can be abused for cross-site tracking. |
write: (key) => new Promise((resolve, reject) => { let img = document.createElement("img"); document.body.appendChild(img); img.addEventListener("load", () => resolve(key), {once: true}); img.src = testURI("resource", "image", key); }) read: async (key) => { let img = document.createElement("img"); document.body.appendChild(img); let imgLoadPromise = new Promise((resolve, reject) => { img.addEventListener("load", resolve, {once: true}); }); img.src = testURI("resource", "image", key); await imgLoadPromise; let response = await fetch( testURI("ctr", "image", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same first party: 1 result, different first party: 2 unsupported: false passed: true test failed: false |
write: (key) => new Promise((resolve, reject) => { let img = document.createElement("img"); document.body.appendChild(img); img.addEventListener("load", () => resolve(key), {once: true}); img.src = testURI("resource", "image", key); }) read: async (key) => { let img = document.createElement("img"); document.body.appendChild(img); let imgLoadPromise = new Promise((resolve, reject) => { img.addEventListener("load", resolve, {once: true}); }); img.src = testURI("resource", "image", key); await imgLoadPromise; let response = await fetch( testURI("ctr", "image", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same first party: 1 result, different first party: 2 unsupported: false passed: true test failed: false |
write: (key) => new Promise((resolve, reject) => { let img = document.createElement("img"); document.body.appendChild(img); img.addEventListener("load", () => resolve(key), {once: true}); img.src = testURI("resource", "image", key); }) read: async (key) => { let img = document.createElement("img"); document.body.appendChild(img); let imgLoadPromise = new Promise((resolve, reject) => { img.addEventListener("load", resolve, {once: true}); }); img.src = testURI("resource", "image", key); await imgLoadPromise; let response = await fetch( testURI("ctr", "image", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same first party: 1 result, different first party: 1 unsupported: false passed: false test failed: false |
write: (key) => new Promise((resolve, reject) => { let img = document.createElement("img"); document.body.appendChild(img); img.addEventListener("load", () => resolve(key), {once: true}); img.src = testURI("resource", "image", key); }) read: async (key) => { let img = document.createElement("img"); document.body.appendChild(img); let imgLoadPromise = new Promise((resolve, reject) => { img.addEventListener("load", resolve, {once: true}); }); img.src = testURI("resource", "image", key); await imgLoadPromise; let response = await fetch( testURI("ctr", "image", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same first party: 1 result, different first party: 2 unsupported: false passed: true test failed: false |
write: (key) => new Promise((resolve, reject) => { let img = document.createElement("img"); document.body.appendChild(img); img.addEventListener("load", () => resolve(key), {once: true}); img.src = testURI("resource", "image", key); }) read: async (key) => { let img = document.createElement("img"); document.body.appendChild(img); let imgLoadPromise = new Promise((resolve, reject) => { img.addEventListener("load", resolve, {once: true}); }); img.src = testURI("resource", "image", key); await imgLoadPromise; let response = await fetch( testURI("ctr", "image", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same first party: 1 result, different first party: 2 unsupported: false passed: true test failed: false |
write: (key) => new Promise((resolve, reject) => { let img = document.createElement("img"); document.body.appendChild(img); img.addEventListener("load", () => resolve(key), {once: true}); img.src = testURI("resource", "image", key); }) read: async (key) => { let img = document.createElement("img"); document.body.appendChild(img); let imgLoadPromise = new Promise((resolve, reject) => { img.addEventListener("load", resolve, {once: true}); }); img.src = testURI("resource", "image", key); await imgLoadPromise; let response = await fetch( testURI("ctr", "image", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same first party: 1 result, different first party: 2 unsupported: false passed: true test failed: false |
write: (key) => new Promise((resolve, reject) => { let img = document.createElement("img"); document.body.appendChild(img); img.addEventListener("load", () => resolve(key), {once: true}); img.src = testURI("resource", "image", key); }) read: async (key) => { let img = document.createElement("img"); document.body.appendChild(img); let imgLoadPromise = new Promise((resolve, reject) => { img.addEventListener("load", resolve, {once: true}); }); img.src = testURI("resource", "image", key); await imgLoadPromise; let response = await fetch( testURI("ctr", "image", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same first party: 1 result, different first party: 2 unsupported: false passed: true test failed: false |
write: (key) => new Promise((resolve, reject) => { let img = document.createElement("img"); document.body.appendChild(img); img.addEventListener("load", () => resolve(key), {once: true}); img.src = testURI("resource", "image", key); }) read: async (key) => { let img = document.createElement("img"); document.body.appendChild(img); let imgLoadPromise = new Promise((resolve, reject) => { img.addEventListener("load", resolve, {once: true}); }); img.src = testURI("resource", "image", key); await imgLoadPromise; let response = await fetch( testURI("ctr", "image", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same first party: 1 result, different first party: 2 unsupported: false passed: true test failed: false |
write: (key) => new Promise((resolve, reject) => { let img = document.createElement("img"); document.body.appendChild(img); img.addEventListener("load", () => resolve(key), {once: true}); img.src = testURI("resource", "image", key); }) read: async (key) => { let img = document.createElement("img"); document.body.appendChild(img); let imgLoadPromise = new Promise((resolve, reject) => { img.addEventListener("load", resolve, {once: true}); }); img.src = testURI("resource", "image", key); await imgLoadPromise; let response = await fetch( testURI("ctr", "image", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same first party: 1, 1, 1, 1, 1 result, different first party: 1, 1, 1, 1, 1 unsupported: false, false, false, false, false passed: false, false, false, false, false test failed: false, false, false, false, false |
write: (key) => new Promise((resolve, reject) => { let img = document.createElement("img"); document.body.appendChild(img); img.addEventListener("load", () => resolve(key), {once: true}); img.src = testURI("resource", "image", key); }) read: async (key) => { let img = document.createElement("img"); document.body.appendChild(img); let imgLoadPromise = new Promise((resolve, reject) => { img.addEventListener("load", resolve, {once: true}); }); img.src = testURI("resource", "image", key); await imgLoadPromise; let response = await fetch( testURI("ctr", "image", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same first party: 1 result, different first party: 2 unsupported: false passed: true test failed: false |
write: (key) => new Promise((resolve, reject) => { let img = document.createElement("img"); document.body.appendChild(img); img.addEventListener("load", () => resolve(key), {once: true}); img.src = testURI("resource", "image", key); }) read: async (key) => { let img = document.createElement("img"); document.body.appendChild(img); let imgLoadPromise = new Promise((resolve, reject) => { img.addEventListener("load", resolve, {once: true}); }); img.src = testURI("resource", "image", key); await imgLoadPromise; let response = await fetch( testURI("ctr", "image", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same first party: 1 result, different first party: 2 unsupported: false passed: true test failed: false |
write: (key) => new Promise((resolve, reject) => { let img = document.createElement("img"); document.body.appendChild(img); img.addEventListener("load", () => resolve(key), {once: true}); img.src = testURI("resource", "image", key); }) read: async (key) => { let img = document.createElement("img"); document.body.appendChild(img); let imgLoadPromise = new Promise((resolve, reject) => { img.addEventListener("load", resolve, {once: true}); }); img.src = testURI("resource", "image", key); await imgLoadPromise; let response = await fetch( testURI("ctr", "image", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same first party: 1 result, different first party: 2 unsupported: false passed: true test failed: false |
indexedDB
The IndexedDB API exposes a transactional database to web pages. That database can be used to track users across websites, unless it is partitioned. |
write: async (secret) => { try { return await IdbKeyVal.set("secret", secret); } catch (e) { throw new Error("Unsupported"); } } read: () => IdbKeyVal.get("secret") result, same first party: 395728fd-45b1-483b-aae3-30840614c71f result, different first party: Error: The user denied permission to access the database. unsupported: false passed: true test failed: false |
write: async (secret) => { try { return await IdbKeyVal.set("secret", secret); } catch (e) { throw new Error("Unsupported"); } } read: () => IdbKeyVal.get("secret") result, same first party: cfc01c4b-e9b0-4dd0-9e63-71dff9875002 result, different first party: undefined unsupported: false passed: true test failed: false |
write: async (secret) => { try { return await IdbKeyVal.set("secret", secret); } catch (e) { throw new Error("Unsupported"); } } read: () => IdbKeyVal.get("secret") result, same first party: 4dec08bb-3827-41ae-a277-c2b2a7f3093d result, different first party: 4dec08bb-3827-41ae-a277-c2b2a7f3093d unsupported: false passed: false test failed: false |
write: async (secret) => { try { return await IdbKeyVal.set("secret", secret); } catch (e) { throw new Error("Unsupported"); } } read: () => IdbKeyVal.get("secret") result, same first party: 4a6a9247-b4e1-4572-8e64-7cb95b774938 result, different first party: undefined unsupported: false passed: true test failed: false |
write: async (secret) => { try { return await IdbKeyVal.set("secret", secret); } catch (e) { throw new Error("Unsupported"); } } read: () => IdbKeyVal.get("secret") result, same first party: de15919a-59b1-4372-8d7e-4fe266a8dd81 result, different first party: undefined unsupported: false passed: true test failed: false |
write: async (secret) => { try { return await IdbKeyVal.set("secret", secret); } catch (e) { throw new Error("Unsupported"); } } read: () => IdbKeyVal.get("secret") result, same first party: 04041701-114e-4ffa-a7c3-a94190db6435 result, different first party: undefined unsupported: false passed: true test failed: false |
write: async (secret) => { try { return await IdbKeyVal.set("secret", secret); } catch (e) { throw new Error("Unsupported"); } } read: () => IdbKeyVal.get("secret") result, same first party: 2c30e905-89f9-43e0-8121-691bfd8d8d4b result, different first party: undefined unsupported: false passed: true test failed: false |
write: async (secret) => { try { return await IdbKeyVal.set("secret", secret); } catch (e) { throw new Error("Unsupported"); } } read: () => IdbKeyVal.get("secret") result, same first party: 4de5d046-d641-4de4-853d-2deaee2f77a8 result, different first party: undefined unsupported: false passed: true test failed: false |
write: async (secret) => { try { return await IdbKeyVal.set("secret", secret); } catch (e) { throw new Error("Unsupported"); } } read: () => IdbKeyVal.get("secret") result, same first party: 5a50b218-e9bb-4d6c-ab8e-cdb6777c4ca6, 52109630-975b-4a25-b271-1b40345014b9, 09b12ba4-febb-406c-ae01-a3222c01e9d0, e31a8827-fbbc-4f17-8ff4-0dd018412883, 2e3465ba-9d71-4a78-956f-a7436760f50e result, different first party: 5a50b218-e9bb-4d6c-ab8e-cdb6777c4ca6, 52109630-975b-4a25-b271-1b40345014b9, 09b12ba4-febb-406c-ae01-a3222c01e9d0, e31a8827-fbbc-4f17-8ff4-0dd018412883, 2e3465ba-9d71-4a78-956f-a7436760f50e unsupported: false, false, false, false, false passed: false, false, false, false, false test failed: false, false, false, false, false |
write: async (secret) => { try { return await IdbKeyVal.set("secret", secret); } catch (e) { throw new Error("Unsupported"); } } read: () => IdbKeyVal.get("secret") result, same first party: a492ddfc-e63e-4699-9a36-ea3956f606c8 result, different first party: Error: The operation is insecure. unsupported: false passed: true test failed: false |
write: async (secret) => { try { return await IdbKeyVal.set("secret", secret); } catch (e) { throw new Error("Unsupported"); } } read: () => IdbKeyVal.get("secret") result, same first party: 6b2aeaa1-68b1-4cfa-8eb0-358668aeaf73 result, different first party: undefined unsupported: false passed: true test failed: false |
write: async (secret) => { try { return await IdbKeyVal.set("secret", secret); } catch (e) { throw new Error("Unsupported"); } } read: () => IdbKeyVal.get("secret") result, same first party: 83d2a636-d42f-4755-afec-86f894c67881 result, different first party: undefined unsupported: false passed: true test failed: false |
localStorage
The localStorage API gives websites access to a key-value database that will remain available across visits. If the localStorage API is not partitioned or blocked, it can also be used to track users across websites. |
write: (secret) => localStorage.setItem("secret", secret) read: () => localStorage.getItem("secret") result, same first party: 395728fd-45b1-483b-aae3-30840614c71f result, different first party: null unsupported: false passed: true test failed: false |
write: (secret) => localStorage.setItem("secret", secret) read: () => localStorage.getItem("secret") result, same first party: cfc01c4b-e9b0-4dd0-9e63-71dff9875002 result, different first party: null unsupported: false passed: true test failed: false |
write: (secret) => localStorage.setItem("secret", secret) read: () => localStorage.getItem("secret") result, same first party: 4dec08bb-3827-41ae-a277-c2b2a7f3093d result, different first party: 4dec08bb-3827-41ae-a277-c2b2a7f3093d unsupported: false passed: false test failed: false |
write: (secret) => localStorage.setItem("secret", secret) read: () => localStorage.getItem("secret") result, same first party: 4a6a9247-b4e1-4572-8e64-7cb95b774938 result, different first party: null unsupported: false passed: true test failed: false |
write: (secret) => localStorage.setItem("secret", secret) read: () => localStorage.getItem("secret") result, same first party: de15919a-59b1-4372-8d7e-4fe266a8dd81 result, different first party: null unsupported: false passed: true test failed: false |
write: (secret) => localStorage.setItem("secret", secret) read: () => localStorage.getItem("secret") result, same first party: 04041701-114e-4ffa-a7c3-a94190db6435 result, different first party: null unsupported: false passed: true test failed: false |
write: (secret) => localStorage.setItem("secret", secret) read: () => localStorage.getItem("secret") result, same first party: 2c30e905-89f9-43e0-8121-691bfd8d8d4b result, different first party: null unsupported: false passed: true test failed: false |
write: (secret) => localStorage.setItem("secret", secret) read: () => localStorage.getItem("secret") result, same first party: 4de5d046-d641-4de4-853d-2deaee2f77a8 result, different first party: null unsupported: false passed: true test failed: false |
write: (secret) => localStorage.setItem("secret", secret) read: () => localStorage.getItem("secret") result, same first party: 5a50b218-e9bb-4d6c-ab8e-cdb6777c4ca6, 52109630-975b-4a25-b271-1b40345014b9, 09b12ba4-febb-406c-ae01-a3222c01e9d0, e31a8827-fbbc-4f17-8ff4-0dd018412883, 2e3465ba-9d71-4a78-956f-a7436760f50e result, different first party: 5a50b218-e9bb-4d6c-ab8e-cdb6777c4ca6, 52109630-975b-4a25-b271-1b40345014b9, 09b12ba4-febb-406c-ae01-a3222c01e9d0, e31a8827-fbbc-4f17-8ff4-0dd018412883, 2e3465ba-9d71-4a78-956f-a7436760f50e unsupported: false, false, false, false, false passed: false, false, false, false, false test failed: false, false, false, false, false |
write: (secret) => localStorage.setItem("secret", secret) read: () => localStorage.getItem("secret") result, same first party: a492ddfc-e63e-4699-9a36-ea3956f606c8 result, different first party: Error: The operation is insecure. unsupported: false passed: true test failed: false |
write: (secret) => localStorage.setItem("secret", secret) read: () => localStorage.getItem("secret") result, same first party: 6b2aeaa1-68b1-4cfa-8eb0-358668aeaf73 result, different first party: null unsupported: false passed: true test failed: false |
write: (secret) => localStorage.setItem("secret", secret) read: () => localStorage.getItem("secret") result, same first party: 83d2a636-d42f-4755-afec-86f894c67881 result, different first party: null unsupported: false passed: true test failed: false |
locks
navigator.locks (only supported in some browsers) allows scripts on multiple tabs to coordinate. If this API is not partitioned, it can be used for cross-site tracking. |
write: async (key) => { if (navigator.locks) { navigator.locks.request(key, lock => new Promise((f,r) => {})); let queryResult = await navigator.locks.query(); return queryResult.held[0].clientId; } else { throw new Error("Unsupported"); } } read: async () => { if (navigator.locks) { let queryResult = await navigator.locks.query(); return queryResult.held[0].name; } } result, same first party: Error: Cannot read properties of undefined (reading 'name') result, different first party: Error: The request was denied. unsupported: false passed: undefined test failed: true |
write: async (key) => { if (navigator.locks) { navigator.locks.request(key, lock => new Promise((f,r) => {})); let queryResult = await navigator.locks.query(); return queryResult.held[0].clientId; } else { throw new Error("Unsupported"); } } read: async () => { if (navigator.locks) { let queryResult = await navigator.locks.query(); return queryResult.held[0].name; } } result, same first party: Error: Cannot read properties of undefined (reading 'name') result, different first party: Error: Cannot read properties of undefined (reading 'name') unsupported: false passed: undefined test failed: true |
write: async (key) => { if (navigator.locks) { navigator.locks.request(key, lock => new Promise((f,r) => {})); let queryResult = await navigator.locks.query(); return queryResult.held[0].clientId; } else { throw new Error("Unsupported"); } } read: async () => { if (navigator.locks) { let queryResult = await navigator.locks.query(); return queryResult.held[0].name; } } result, same first party: Error: Cannot read properties of undefined (reading 'name') result, different first party: Error: Cannot read properties of undefined (reading 'name') unsupported: false passed: undefined test failed: true |
write: async (key) => { if (navigator.locks) { navigator.locks.request(key, lock => new Promise((f,r) => {})); let queryResult = await navigator.locks.query(); return queryResult.held[0].clientId; } else { throw new Error("Unsupported"); } } read: async () => { if (navigator.locks) { let queryResult = await navigator.locks.query(); return queryResult.held[0].name; } } result, same first party: Error: Cannot read properties of undefined (reading 'name') result, different first party: Error: Cannot read properties of undefined (reading 'name') unsupported: false passed: undefined test failed: true |
write: async (key) => { if (navigator.locks) { navigator.locks.request(key, lock => new Promise((f,r) => {})); let queryResult = await navigator.locks.query(); return queryResult.held[0].clientId; } else { throw new Error("Unsupported"); } } read: async () => { if (navigator.locks) { let queryResult = await navigator.locks.query(); return queryResult.held[0].name; } } result, same first party: Error: queryResult.held[0] is undefined result, different first party: Error: LockManager.query: query() is not allowed in this context unsupported: false passed: undefined test failed: true |
write: async (key) => { if (navigator.locks) { navigator.locks.request(key, lock => new Promise((f,r) => {})); let queryResult = await navigator.locks.query(); return queryResult.held[0].clientId; } else { throw new Error("Unsupported"); } } read: async () => { if (navigator.locks) { let queryResult = await navigator.locks.query(); return queryResult.held[0].name; } } result, same first party: Error: queryResult.held[0] is undefined result, different first party: Error: LockManager.query: query() is not allowed in this context unsupported: false passed: undefined test failed: true |
write: async (key) => { if (navigator.locks) { navigator.locks.request(key, lock => new Promise((f,r) => {})); let queryResult = await navigator.locks.query(); return queryResult.held[0].clientId; } else { throw new Error("Unsupported"); } } read: async () => { if (navigator.locks) { let queryResult = await navigator.locks.query(); return queryResult.held[0].name; } } result, same first party: Error: queryResult.held[0] is undefined result, different first party: Error: queryResult.held[0] is undefined unsupported: false passed: undefined test failed: true |
write: async (key) => { if (navigator.locks) { navigator.locks.request(key, lock => new Promise((f,r) => {})); let queryResult = await navigator.locks.query(); return queryResult.held[0].clientId; } else { throw new Error("Unsupported"); } } read: async () => { if (navigator.locks) { let queryResult = await navigator.locks.query(); return queryResult.held[0].name; } } result, same first party: Error: Cannot read properties of undefined (reading 'name') result, different first party: Error: Cannot read properties of undefined (reading 'name') unsupported: false passed: undefined test failed: true |
write: async (key) => { if (navigator.locks) { navigator.locks.request(key, lock => new Promise((f,r) => {})); let queryResult = await navigator.locks.query(); return queryResult.held[0].clientId; } else { throw new Error("Unsupported"); } } read: async () => { if (navigator.locks) { let queryResult = await navigator.locks.query(); return queryResult.held[0].name; } } result, same first party: Error: Cannot read properties of undefined (reading 'name'), Error: Cannot read properties of undefined (reading 'name'), Error: Cannot read properties of undefined (reading 'name'), Error: Cannot read properties of undefined (reading 'name'), Error: Cannot read properties of undefined (reading 'name') result, different first party: Error: Cannot read properties of undefined (reading 'name'), Error: Cannot read properties of undefined (reading 'name'), Error: Cannot read properties of undefined (reading 'name'), Error: Cannot read properties of undefined (reading 'name'), Error: Cannot read properties of undefined (reading 'name') unsupported: false, false, false, false, false passed: undefined test failed: true, true, true, true, true |
write: async (key) => { if (navigator.locks) { navigator.locks.request(key, lock => new Promise((f,r) => {})); let queryResult = await navigator.locks.query(); return queryResult.held[0].clientId; } else { throw new Error("Unsupported"); } } read: async () => { if (navigator.locks) { let queryResult = await navigator.locks.query(); return queryResult.held[0].name; } } result, same first party: Error: queryResult.held[0] is undefined result, different first party: Error: LockManager.query: query() is not allowed in this context unsupported: false passed: undefined test failed: true |
write: async (key) => { if (navigator.locks) { navigator.locks.request(key, lock => new Promise((f,r) => {})); let queryResult = await navigator.locks.query(); return queryResult.held[0].clientId; } else { throw new Error("Unsupported"); } } read: async () => { if (navigator.locks) { let queryResult = await navigator.locks.query(); return queryResult.held[0].name; } } result, same first party: Error: Cannot read properties of undefined (reading 'name') result, different first party: Error: Cannot read properties of undefined (reading 'name') unsupported: false passed: undefined test failed: true |
write: async (key) => { if (navigator.locks) { navigator.locks.request(key, lock => new Promise((f,r) => {})); let queryResult = await navigator.locks.query(); return queryResult.held[0].clientId; } else { throw new Error("Unsupported"); } } read: async () => { if (navigator.locks) { let queryResult = await navigator.locks.query(); return queryResult.held[0].name; } } result, same first party: Error: Cannot read properties of undefined (reading 'name') result, different first party: Error: Cannot read properties of undefined (reading 'name') unsupported: false passed: undefined test failed: true |
prefetch cache
A <link rel='prefetch'...> suggests to browsers they should fetch a resource ahead of time and cache it. But if browsers don't partition this cache, it can be used to track users across websites. |
write: async (key) => { let link = document.createElement("link"); link.rel = "prefetch"; link.href = testURI("resource", "prefetch", key); document.getElementsByTagName("head")[0].appendChild(link); return key; } read: async (key) => { let link = document.createElement("link"); link.rel = "prefetch"; link.href = testURI("resource", "prefetch", key); document.getElementsByTagName("head")[0].appendChild(link); await sleepMs(500); let response = await fetch( testURI("ctr", "prefetch", key), {"cache": "reload"}); let countString = (await response.text()).trim(); if (parseInt(countString) === 0) { throw new Error("No requests received"); } return countString; } result, same first party: 1 result, different first party: 2 unsupported: false passed: true test failed: false |
write: async (key) => { let link = document.createElement("link"); link.rel = "prefetch"; link.href = testURI("resource", "prefetch", key); document.getElementsByTagName("head")[0].appendChild(link); return key; } read: async (key) => { let link = document.createElement("link"); link.rel = "prefetch"; link.href = testURI("resource", "prefetch", key); document.getElementsByTagName("head")[0].appendChild(link); await sleepMs(500); let response = await fetch( testURI("ctr", "prefetch", key), {"cache": "reload"}); let countString = (await response.text()).trim(); if (parseInt(countString) === 0) { throw new Error("No requests received"); } return countString; } result, same first party: 1 result, different first party: 2 unsupported: false passed: true test failed: false |
write: async (key) => { let link = document.createElement("link"); link.rel = "prefetch"; link.href = testURI("resource", "prefetch", key); document.getElementsByTagName("head")[0].appendChild(link); return key; } read: async (key) => { let link = document.createElement("link"); link.rel = "prefetch"; link.href = testURI("resource", "prefetch", key); document.getElementsByTagName("head")[0].appendChild(link); await sleepMs(500); let response = await fetch( testURI("ctr", "prefetch", key), {"cache": "reload"}); let countString = (await response.text()).trim(); if (parseInt(countString) === 0) { throw new Error("No requests received"); } return countString; } result, same first party: 1 result, different first party: 1 unsupported: false passed: false test failed: false |
write: async (key) => { let link = document.createElement("link"); link.rel = "prefetch"; link.href = testURI("resource", "prefetch", key); document.getElementsByTagName("head")[0].appendChild(link); return key; } read: async (key) => { let link = document.createElement("link"); link.rel = "prefetch"; link.href = testURI("resource", "prefetch", key); document.getElementsByTagName("head")[0].appendChild(link); await sleepMs(500); let response = await fetch( testURI("ctr", "prefetch", key), {"cache": "reload"}); let countString = (await response.text()).trim(); if (parseInt(countString) === 0) { throw new Error("No requests received"); } return countString; } result, same first party: 1 result, different first party: 2 unsupported: false passed: true test failed: false |
write: async (key) => { let link = document.createElement("link"); link.rel = "prefetch"; link.href = testURI("resource", "prefetch", key); document.getElementsByTagName("head")[0].appendChild(link); return key; } read: async (key) => { let link = document.createElement("link"); link.rel = "prefetch"; link.href = testURI("resource", "prefetch", key); document.getElementsByTagName("head")[0].appendChild(link); await sleepMs(500); let response = await fetch( testURI("ctr", "prefetch", key), {"cache": "reload"}); let countString = (await response.text()).trim(); if (parseInt(countString) === 0) { throw new Error("No requests received"); } return countString; } result, same first party: 1 result, different first party: 2 unsupported: false passed: true test failed: false |
write: async (key) => { let link = document.createElement("link"); link.rel = "prefetch"; link.href = testURI("resource", "prefetch", key); document.getElementsByTagName("head")[0].appendChild(link); return key; } read: async (key) => { let link = document.createElement("link"); link.rel = "prefetch"; link.href = testURI("resource", "prefetch", key); document.getElementsByTagName("head")[0].appendChild(link); await sleepMs(500); let response = await fetch( testURI("ctr", "prefetch", key), {"cache": "reload"}); let countString = (await response.text()).trim(); if (parseInt(countString) === 0) { throw new Error("No requests received"); } return countString; } result, same first party: 1 result, different first party: 2 unsupported: false passed: true test failed: false |
write: async (key) => { let link = document.createElement("link"); link.rel = "prefetch"; link.href = testURI("resource", "prefetch", key); document.getElementsByTagName("head")[0].appendChild(link); return key; } read: async (key) => { let link = document.createElement("link"); link.rel = "prefetch"; link.href = testURI("resource", "prefetch", key); document.getElementsByTagName("head")[0].appendChild(link); await sleepMs(500); let response = await fetch( testURI("ctr", "prefetch", key), {"cache": "reload"}); let countString = (await response.text()).trim(); if (parseInt(countString) === 0) { throw new Error("No requests received"); } return countString; } result, same first party: Error: No requests received result, different first party: Error: No requests received unsupported: true passed: undefined test failed: false |
write: async (key) => { let link = document.createElement("link"); link.rel = "prefetch"; link.href = testURI("resource", "prefetch", key); document.getElementsByTagName("head")[0].appendChild(link); return key; } read: async (key) => { let link = document.createElement("link"); link.rel = "prefetch"; link.href = testURI("resource", "prefetch", key); document.getElementsByTagName("head")[0].appendChild(link); await sleepMs(500); let response = await fetch( testURI("ctr", "prefetch", key), {"cache": "reload"}); let countString = (await response.text()).trim(); if (parseInt(countString) === 0) { throw new Error("No requests received"); } return countString; } result, same first party: 1 result, different first party: 2 unsupported: false passed: true test failed: false |
write: async (key) => { let link = document.createElement("link"); link.rel = "prefetch"; link.href = testURI("resource", "prefetch", key); document.getElementsByTagName("head")[0].appendChild(link); return key; } read: async (key) => { let link = document.createElement("link"); link.rel = "prefetch"; link.href = testURI("resource", "prefetch", key); document.getElementsByTagName("head")[0].appendChild(link); await sleepMs(500); let response = await fetch( testURI("ctr", "prefetch", key), {"cache": "reload"}); let countString = (await response.text()).trim(); if (parseInt(countString) === 0) { throw new Error("No requests received"); } return countString; } result, same first party: 1, 1, 1, 1, 1 result, different first party: 1, 1, 1, 1, 1 unsupported: false, false, false, false, false passed: false, false, false, false, false test failed: false, false, false, false, false |
write: async (key) => { let link = document.createElement("link"); link.rel = "prefetch"; link.href = testURI("resource", "prefetch", key); document.getElementsByTagName("head")[0].appendChild(link); return key; } read: async (key) => { let link = document.createElement("link"); link.rel = "prefetch"; link.href = testURI("resource", "prefetch", key); document.getElementsByTagName("head")[0].appendChild(link); await sleepMs(500); let response = await fetch( testURI("ctr", "prefetch", key), {"cache": "reload"}); let countString = (await response.text()).trim(); if (parseInt(countString) === 0) { throw new Error("No requests received"); } return countString; } result, same first party: Error: No requests received result, different first party: Error: No requests received unsupported: true passed: undefined test failed: false |
write: async (key) => { let link = document.createElement("link"); link.rel = "prefetch"; link.href = testURI("resource", "prefetch", key); document.getElementsByTagName("head")[0].appendChild(link); return key; } read: async (key) => { let link = document.createElement("link"); link.rel = "prefetch"; link.href = testURI("resource", "prefetch", key); document.getElementsByTagName("head")[0].appendChild(link); await sleepMs(500); let response = await fetch( testURI("ctr", "prefetch", key), {"cache": "reload"}); let countString = (await response.text()).trim(); if (parseInt(countString) === 0) { throw new Error("No requests received"); } return countString; } result, same first party: 1 result, different first party: 2 unsupported: false passed: true test failed: false |
write: async (key) => { let link = document.createElement("link"); link.rel = "prefetch"; link.href = testURI("resource", "prefetch", key); document.getElementsByTagName("head")[0].appendChild(link); return key; } read: async (key) => { let link = document.createElement("link"); link.rel = "prefetch"; link.href = testURI("resource", "prefetch", key); document.getElementsByTagName("head")[0].appendChild(link); await sleepMs(500); let response = await fetch( testURI("ctr", "prefetch", key), {"cache": "reload"}); let countString = (await response.text()).trim(); if (parseInt(countString) === 0) { throw new Error("No requests received"); } return countString; } result, same first party: 1 result, different first party: 2 unsupported: false passed: true test failed: false |
script cache
Caching of scripts in web browsers is a standard behavior. But if that cache leaks between websites, it can be abused for cross-site tracking. |
write: (key) => new Promise((resolve, reject) => { let script = document.createElement("script"); document.body.appendChild(script); script.addEventListener("load", () => resolve(key), {once: true}); script.src = testURI("resource", "script", key); }) read: async (key) => { let script = document.createElement("script"); document.body.appendChild(script); let scriptLoadPromise = new Promise((resolve, reject) => { script.addEventListener("load", resolve, {once: true}); }); script.src = testURI("resource", "script", key); await scriptLoadPromise; let response = await fetch( testURI("ctr", "script", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same first party: 1 result, different first party: 2 unsupported: false passed: true test failed: false |
write: (key) => new Promise((resolve, reject) => { let script = document.createElement("script"); document.body.appendChild(script); script.addEventListener("load", () => resolve(key), {once: true}); script.src = testURI("resource", "script", key); }) read: async (key) => { let script = document.createElement("script"); document.body.appendChild(script); let scriptLoadPromise = new Promise((resolve, reject) => { script.addEventListener("load", resolve, {once: true}); }); script.src = testURI("resource", "script", key); await scriptLoadPromise; let response = await fetch( testURI("ctr", "script", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same first party: 1 result, different first party: 2 unsupported: false passed: true test failed: false |
write: (key) => new Promise((resolve, reject) => { let script = document.createElement("script"); document.body.appendChild(script); script.addEventListener("load", () => resolve(key), {once: true}); script.src = testURI("resource", "script", key); }) read: async (key) => { let script = document.createElement("script"); document.body.appendChild(script); let scriptLoadPromise = new Promise((resolve, reject) => { script.addEventListener("load", resolve, {once: true}); }); script.src = testURI("resource", "script", key); await scriptLoadPromise; let response = await fetch( testURI("ctr", "script", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same first party: 1 result, different first party: 1 unsupported: false passed: false test failed: false |
write: (key) => new Promise((resolve, reject) => { let script = document.createElement("script"); document.body.appendChild(script); script.addEventListener("load", () => resolve(key), {once: true}); script.src = testURI("resource", "script", key); }) read: async (key) => { let script = document.createElement("script"); document.body.appendChild(script); let scriptLoadPromise = new Promise((resolve, reject) => { script.addEventListener("load", resolve, {once: true}); }); script.src = testURI("resource", "script", key); await scriptLoadPromise; let response = await fetch( testURI("ctr", "script", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same first party: 1 result, different first party: 2 unsupported: false passed: true test failed: false |
write: (key) => new Promise((resolve, reject) => { let script = document.createElement("script"); document.body.appendChild(script); script.addEventListener("load", () => resolve(key), {once: true}); script.src = testURI("resource", "script", key); }) read: async (key) => { let script = document.createElement("script"); document.body.appendChild(script); let scriptLoadPromise = new Promise((resolve, reject) => { script.addEventListener("load", resolve, {once: true}); }); script.src = testURI("resource", "script", key); await scriptLoadPromise; let response = await fetch( testURI("ctr", "script", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same first party: 1 result, different first party: 2 unsupported: false passed: true test failed: false |
write: (key) => new Promise((resolve, reject) => { let script = document.createElement("script"); document.body.appendChild(script); script.addEventListener("load", () => resolve(key), {once: true}); script.src = testURI("resource", "script", key); }) read: async (key) => { let script = document.createElement("script"); document.body.appendChild(script); let scriptLoadPromise = new Promise((resolve, reject) => { script.addEventListener("load", resolve, {once: true}); }); script.src = testURI("resource", "script", key); await scriptLoadPromise; let response = await fetch( testURI("ctr", "script", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same first party: 1 result, different first party: 2 unsupported: false passed: true test failed: false |
write: (key) => new Promise((resolve, reject) => { let script = document.createElement("script"); document.body.appendChild(script); script.addEventListener("load", () => resolve(key), {once: true}); script.src = testURI("resource", "script", key); }) read: async (key) => { let script = document.createElement("script"); document.body.appendChild(script); let scriptLoadPromise = new Promise((resolve, reject) => { script.addEventListener("load", resolve, {once: true}); }); script.src = testURI("resource", "script", key); await scriptLoadPromise; let response = await fetch( testURI("ctr", "script", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same first party: 1 result, different first party: 2 unsupported: false passed: true test failed: false |
write: (key) => new Promise((resolve, reject) => { let script = document.createElement("script"); document.body.appendChild(script); script.addEventListener("load", () => resolve(key), {once: true}); script.src = testURI("resource", "script", key); }) read: async (key) => { let script = document.createElement("script"); document.body.appendChild(script); let scriptLoadPromise = new Promise((resolve, reject) => { script.addEventListener("load", resolve, {once: true}); }); script.src = testURI("resource", "script", key); await scriptLoadPromise; let response = await fetch( testURI("ctr", "script", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same first party: 1 result, different first party: 2 unsupported: false passed: true test failed: false |
write: (key) => new Promise((resolve, reject) => { let script = document.createElement("script"); document.body.appendChild(script); script.addEventListener("load", () => resolve(key), {once: true}); script.src = testURI("resource", "script", key); }) read: async (key) => { let script = document.createElement("script"); document.body.appendChild(script); let scriptLoadPromise = new Promise((resolve, reject) => { script.addEventListener("load", resolve, {once: true}); }); script.src = testURI("resource", "script", key); await scriptLoadPromise; let response = await fetch( testURI("ctr", "script", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same first party: 1, 1, 1, 1, 1 result, different first party: 1, 1, 1, 1, 1 unsupported: false, false, false, false, false passed: false, false, false, false, false test failed: false, false, false, false, false |
write: (key) => new Promise((resolve, reject) => { let script = document.createElement("script"); document.body.appendChild(script); script.addEventListener("load", () => resolve(key), {once: true}); script.src = testURI("resource", "script", key); }) read: async (key) => { let script = document.createElement("script"); document.body.appendChild(script); let scriptLoadPromise = new Promise((resolve, reject) => { script.addEventListener("load", resolve, {once: true}); }); script.src = testURI("resource", "script", key); await scriptLoadPromise; let response = await fetch( testURI("ctr", "script", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same first party: 1 result, different first party: 2 unsupported: false passed: true test failed: false |
write: (key) => new Promise((resolve, reject) => { let script = document.createElement("script"); document.body.appendChild(script); script.addEventListener("load", () => resolve(key), {once: true}); script.src = testURI("resource", "script", key); }) read: async (key) => { let script = document.createElement("script"); document.body.appendChild(script); let scriptLoadPromise = new Promise((resolve, reject) => { script.addEventListener("load", resolve, {once: true}); }); script.src = testURI("resource", "script", key); await scriptLoadPromise; let response = await fetch( testURI("ctr", "script", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same first party: 1 result, different first party: 2 unsupported: false passed: true test failed: false |
write: (key) => new Promise((resolve, reject) => { let script = document.createElement("script"); document.body.appendChild(script); script.addEventListener("load", () => resolve(key), {once: true}); script.src = testURI("resource", "script", key); }) read: async (key) => { let script = document.createElement("script"); document.body.appendChild(script); let scriptLoadPromise = new Promise((resolve, reject) => { script.addEventListener("load", resolve, {once: true}); }); script.src = testURI("resource", "script", key); await scriptLoadPromise; let response = await fetch( testURI("ctr", "script", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same first party: 1 result, different first party: 2 unsupported: false passed: true test failed: false |
ServiceWorker
The ServiceWorker API allows websites to run code in the background and store content in the browser for offline use. If a ServiceWorker can be accessed from multiple websites, it can be abused to track users across sites. |
write: async (key) => { if (!navigator.serviceWorker) { throw new Error("Unsupported"); } let registration = await navigator.serviceWorker.register( 'serviceWorker.js'); console.log(registration); await navigator.serviceWorker.ready; console.log("service worker ready"); await sleepMs(100); await fetch(`serviceworker-write?secret=${key}`); } read: async () => { console.log("trying to register the serviceworker now..."); const registration = await Promise.race([ navigator.serviceWorker.register('serviceWorker.js'), sleepMs(500) ]); if (registration === undefined) { // We timed out or otherwise failed. throw new Error("ServiceWorker registration failed"); } console.log(registration); await navigator.serviceWorker.ready; console.log("service worker ready"); await sleepMs(100); let response = await fetch("serviceworker-read"); return await response.text(); } result, same first party: result, different first party: Error: Failed to register a ServiceWorker for scope ('https://test-pages.privacytests2.org/') with script ('https://test-pages.privacytests2.org/serviceWorker.js'): The user denied permission to use Service Worker. unsupported: false passed: undefined test failed: true |
write: async (key) => { if (!navigator.serviceWorker) { throw new Error("Unsupported"); } let registration = await navigator.serviceWorker.register( 'serviceWorker.js'); console.log(registration); await navigator.serviceWorker.ready; console.log("service worker ready"); await sleepMs(100); await fetch(`serviceworker-write?secret=${key}`); } read: async () => { console.log("trying to register the serviceworker now..."); const registration = await Promise.race([ navigator.serviceWorker.register('serviceWorker.js'), sleepMs(500) ]); if (registration === undefined) { // We timed out or otherwise failed. throw new Error("ServiceWorker registration failed"); } console.log(registration); await navigator.serviceWorker.ready; console.log("service worker ready"); await sleepMs(100); let response = await fetch("serviceworker-read"); return await response.text(); } result, same first party: result, different first party: unsupported: false passed: undefined test failed: true |
write: async (key) => { if (!navigator.serviceWorker) { throw new Error("Unsupported"); } let registration = await navigator.serviceWorker.register( 'serviceWorker.js'); console.log(registration); await navigator.serviceWorker.ready; console.log("service worker ready"); await sleepMs(100); await fetch(`serviceworker-write?secret=${key}`); } read: async () => { console.log("trying to register the serviceworker now..."); const registration = await Promise.race([ navigator.serviceWorker.register('serviceWorker.js'), sleepMs(500) ]); if (registration === undefined) { // We timed out or otherwise failed. throw new Error("ServiceWorker registration failed"); } console.log(registration); await navigator.serviceWorker.ready; console.log("service worker ready"); await sleepMs(100); let response = await fetch("serviceworker-read"); return await response.text(); } result, same first party: result, different first party: unsupported: false passed: undefined test failed: true |
write: async (key) => { if (!navigator.serviceWorker) { throw new Error("Unsupported"); } let registration = await navigator.serviceWorker.register( 'serviceWorker.js'); console.log(registration); await navigator.serviceWorker.ready; console.log("service worker ready"); await sleepMs(100); await fetch(`serviceworker-write?secret=${key}`); } read: async () => { console.log("trying to register the serviceworker now..."); const registration = await Promise.race([ navigator.serviceWorker.register('serviceWorker.js'), sleepMs(500) ]); if (registration === undefined) { // We timed out or otherwise failed. throw new Error("ServiceWorker registration failed"); } console.log(registration); await navigator.serviceWorker.ready; console.log("service worker ready"); await sleepMs(100); let response = await fetch("serviceworker-read"); return await response.text(); } result, same first party: result, different first party: unsupported: false passed: undefined test failed: true |
write: async (key) => { if (!navigator.serviceWorker) { throw new Error("Unsupported"); } let registration = await navigator.serviceWorker.register( 'serviceWorker.js'); console.log(registration); await navigator.serviceWorker.ready; console.log("service worker ready"); await sleepMs(100); await fetch(`serviceworker-write?secret=${key}`); } read: async () => { console.log("trying to register the serviceworker now..."); const registration = await Promise.race([ navigator.serviceWorker.register('serviceWorker.js'), sleepMs(500) ]); if (registration === undefined) { // We timed out or otherwise failed. throw new Error("ServiceWorker registration failed"); } console.log(registration); await navigator.serviceWorker.ready; console.log("service worker ready"); await sleepMs(100); let response = await fetch("serviceworker-read"); return await response.text(); } result, same first party: result, different first party: unsupported: false passed: undefined test failed: true |
write: async (key) => { if (!navigator.serviceWorker) { throw new Error("Unsupported"); } let registration = await navigator.serviceWorker.register( 'serviceWorker.js'); console.log(registration); await navigator.serviceWorker.ready; console.log("service worker ready"); await sleepMs(100); await fetch(`serviceworker-write?secret=${key}`); } read: async () => { console.log("trying to register the serviceworker now..."); const registration = await Promise.race([ navigator.serviceWorker.register('serviceWorker.js'), sleepMs(500) ]); if (registration === undefined) { // We timed out or otherwise failed. throw new Error("ServiceWorker registration failed"); } console.log(registration); await navigator.serviceWorker.ready; console.log("service worker ready"); await sleepMs(100); let response = await fetch("serviceworker-read"); return await response.text(); } result, same first party: Error: navigator.serviceWorker is undefined result, different first party: Error: navigator.serviceWorker is undefined unsupported: true passed: undefined test failed: false |
write: async (key) => { if (!navigator.serviceWorker) { throw new Error("Unsupported"); } let registration = await navigator.serviceWorker.register( 'serviceWorker.js'); console.log(registration); await navigator.serviceWorker.ready; console.log("service worker ready"); await sleepMs(100); await fetch(`serviceworker-write?secret=${key}`); } read: async () => { console.log("trying to register the serviceworker now..."); const registration = await Promise.race([ navigator.serviceWorker.register('serviceWorker.js'), sleepMs(500) ]); if (registration === undefined) { // We timed out or otherwise failed. throw new Error("ServiceWorker registration failed"); } console.log(registration); await navigator.serviceWorker.ready; console.log("service worker ready"); await sleepMs(100); let response = await fetch("serviceworker-read"); return await response.text(); } result, same first party: result, different first party: unsupported: false passed: undefined test failed: true |
write: async (key) => { if (!navigator.serviceWorker) { throw new Error("Unsupported"); } let registration = await navigator.serviceWorker.register( 'serviceWorker.js'); console.log(registration); await navigator.serviceWorker.ready; console.log("service worker ready"); await sleepMs(100); await fetch(`serviceworker-write?secret=${key}`); } read: async () => { console.log("trying to register the serviceworker now..."); const registration = await Promise.race([ navigator.serviceWorker.register('serviceWorker.js'), sleepMs(500) ]); if (registration === undefined) { // We timed out or otherwise failed. throw new Error("ServiceWorker registration failed"); } console.log(registration); await navigator.serviceWorker.ready; console.log("service worker ready"); await sleepMs(100); let response = await fetch("serviceworker-read"); return await response.text(); } result, same first party: result, different first party: unsupported: false passed: undefined test failed: true |
write: async (key) => { if (!navigator.serviceWorker) { throw new Error("Unsupported"); } let registration = await navigator.serviceWorker.register( 'serviceWorker.js'); console.log(registration); await navigator.serviceWorker.ready; console.log("service worker ready"); await sleepMs(100); await fetch(`serviceworker-write?secret=${key}`); } read: async () => { console.log("trying to register the serviceworker now..."); const registration = await Promise.race([ navigator.serviceWorker.register('serviceWorker.js'), sleepMs(500) ]); if (registration === undefined) { // We timed out or otherwise failed. throw new Error("ServiceWorker registration failed"); } console.log(registration); await navigator.serviceWorker.ready; console.log("service worker ready"); await sleepMs(100); let response = await fetch("serviceworker-read"); return await response.text(); } result, same first party: , , , , result, different first party: , , , , unsupported: false, false, false, false, false passed: undefined test failed: true, true, true, true, true |
write: async (key) => { if (!navigator.serviceWorker) { throw new Error("Unsupported"); } let registration = await navigator.serviceWorker.register( 'serviceWorker.js'); console.log(registration); await navigator.serviceWorker.ready; console.log("service worker ready"); await sleepMs(100); await fetch(`serviceworker-write?secret=${key}`); } read: async () => { console.log("trying to register the serviceworker now..."); const registration = await Promise.race([ navigator.serviceWorker.register('serviceWorker.js'), sleepMs(500) ]); if (registration === undefined) { // We timed out or otherwise failed. throw new Error("ServiceWorker registration failed"); } console.log(registration); await navigator.serviceWorker.ready; console.log("service worker ready"); await sleepMs(100); let response = await fetch("serviceworker-read"); return await response.text(); } result, same first party: Error: navigator.serviceWorker is undefined result, different first party: Error: navigator.serviceWorker is undefined unsupported: true passed: undefined test failed: false |
write: async (key) => { if (!navigator.serviceWorker) { throw new Error("Unsupported"); } let registration = await navigator.serviceWorker.register( 'serviceWorker.js'); console.log(registration); await navigator.serviceWorker.ready; console.log("service worker ready"); await sleepMs(100); await fetch(`serviceworker-write?secret=${key}`); } read: async () => { console.log("trying to register the serviceworker now..."); const registration = await Promise.race([ navigator.serviceWorker.register('serviceWorker.js'), sleepMs(500) ]); if (registration === undefined) { // We timed out or otherwise failed. throw new Error("ServiceWorker registration failed"); } console.log(registration); await navigator.serviceWorker.ready; console.log("service worker ready"); await sleepMs(100); let response = await fetch("serviceworker-read"); return await response.text(); } result, same first party: result, different first party: unsupported: false passed: undefined test failed: true |
write: async (key) => { if (!navigator.serviceWorker) { throw new Error("Unsupported"); } let registration = await navigator.serviceWorker.register( 'serviceWorker.js'); console.log(registration); await navigator.serviceWorker.ready; console.log("service worker ready"); await sleepMs(100); await fetch(`serviceworker-write?secret=${key}`); } read: async () => { console.log("trying to register the serviceworker now..."); const registration = await Promise.race([ navigator.serviceWorker.register('serviceWorker.js'), sleepMs(500) ]); if (registration === undefined) { // We timed out or otherwise failed. throw new Error("ServiceWorker registration failed"); } console.log(registration); await navigator.serviceWorker.ready; console.log("service worker ready"); await sleepMs(100); let response = await fetch("serviceworker-read"); return await response.text(); } result, same first party: result, different first party: unsupported: false passed: undefined test failed: true |
SharedWorker
The SharedWorker API allows scripts from multiple tabs to share a background thread of computation. If SharedWorker is not partitioned, then it can be abused to shared data between websites in your browser. |
write: async (secret) => { try { let worker = new SharedWorker("supercookies_sharedworker.js"); worker.port.start(); // console.log("worker", worker); const messagePromise = new Promise((resolve) => { worker.port.onmessage = (e) => resolve(e.data); }); worker.port.postMessage(secret); await messagePromise; } catch (e) { throw new Error("Unsupported"); } } read: async () => { let worker = new SharedWorker("supercookies_sharedworker.js"); worker.port.start(); const messagePromise = new Promise((resolve, reject) => { worker.port.onmessage = (e) => resolve(e.data); setTimeout(() => reject(new Error("no SharedWorker message received")), 200); }); worker.port.postMessage("request"); const message = await messagePromise; if (message === "none") { throw new Error("Unsupported"); } return message; } result, same first party: Error: SharedWorker is not defined result, different first party: Error: SharedWorker is not defined unsupported: true passed: undefined test failed: false |
write: async (secret) => { try { let worker = new SharedWorker("supercookies_sharedworker.js"); worker.port.start(); // console.log("worker", worker); const messagePromise = new Promise((resolve) => { worker.port.onmessage = (e) => resolve(e.data); }); worker.port.postMessage(secret); await messagePromise; } catch (e) { throw new Error("Unsupported"); } } read: async () => { let worker = new SharedWorker("supercookies_sharedworker.js"); worker.port.start(); const messagePromise = new Promise((resolve, reject) => { worker.port.onmessage = (e) => resolve(e.data); setTimeout(() => reject(new Error("no SharedWorker message received")), 200); }); worker.port.postMessage("request"); const message = await messagePromise; if (message === "none") { throw new Error("Unsupported"); } return message; } result, same first party: Error: SharedWorker is not defined result, different first party: Error: SharedWorker is not defined unsupported: true passed: undefined test failed: false |
write: async (secret) => { try { let worker = new SharedWorker("supercookies_sharedworker.js"); worker.port.start(); // console.log("worker", worker); const messagePromise = new Promise((resolve) => { worker.port.onmessage = (e) => resolve(e.data); }); worker.port.postMessage(secret); await messagePromise; } catch (e) { throw new Error("Unsupported"); } } read: async () => { let worker = new SharedWorker("supercookies_sharedworker.js"); worker.port.start(); const messagePromise = new Promise((resolve, reject) => { worker.port.onmessage = (e) => resolve(e.data); setTimeout(() => reject(new Error("no SharedWorker message received")), 200); }); worker.port.postMessage("request"); const message = await messagePromise; if (message === "none") { throw new Error("Unsupported"); } return message; } result, same first party: Error: SharedWorker is not defined result, different first party: Error: SharedWorker is not defined unsupported: true passed: undefined test failed: false |
write: async (secret) => { try { let worker = new SharedWorker("supercookies_sharedworker.js"); worker.port.start(); // console.log("worker", worker); const messagePromise = new Promise((resolve) => { worker.port.onmessage = (e) => resolve(e.data); }); worker.port.postMessage(secret); await messagePromise; } catch (e) { throw new Error("Unsupported"); } } read: async () => { let worker = new SharedWorker("supercookies_sharedworker.js"); worker.port.start(); const messagePromise = new Promise((resolve, reject) => { worker.port.onmessage = (e) => resolve(e.data); setTimeout(() => reject(new Error("no SharedWorker message received")), 200); }); worker.port.postMessage("request"); const message = await messagePromise; if (message === "none") { throw new Error("Unsupported"); } return message; } result, same first party: Error: SharedWorker is not defined result, different first party: Error: SharedWorker is not defined unsupported: true passed: undefined test failed: false |
write: async (secret) => { try { let worker = new SharedWorker("supercookies_sharedworker.js"); worker.port.start(); // console.log("worker", worker); const messagePromise = new Promise((resolve) => { worker.port.onmessage = (e) => resolve(e.data); }); worker.port.postMessage(secret); await messagePromise; } catch (e) { throw new Error("Unsupported"); } } read: async () => { let worker = new SharedWorker("supercookies_sharedworker.js"); worker.port.start(); const messagePromise = new Promise((resolve, reject) => { worker.port.onmessage = (e) => resolve(e.data); setTimeout(() => reject(new Error("no SharedWorker message received")), 200); }); worker.port.postMessage("request"); const message = await messagePromise; if (message === "none") { throw new Error("Unsupported"); } return message; } result, same first party: Error: Unsupported result, different first party: Error: Unsupported unsupported: true passed: undefined test failed: false |
write: async (secret) => { try { let worker = new SharedWorker("supercookies_sharedworker.js"); worker.port.start(); // console.log("worker", worker); const messagePromise = new Promise((resolve) => { worker.port.onmessage = (e) => resolve(e.data); }); worker.port.postMessage(secret); await messagePromise; } catch (e) { throw new Error("Unsupported"); } } read: async () => { let worker = new SharedWorker("supercookies_sharedworker.js"); worker.port.start(); const messagePromise = new Promise((resolve, reject) => { worker.port.onmessage = (e) => resolve(e.data); setTimeout(() => reject(new Error("no SharedWorker message received")), 200); }); worker.port.postMessage("request"); const message = await messagePromise; if (message === "none") { throw new Error("Unsupported"); } return message; } result, same first party: Error: Unsupported result, different first party: Error: Unsupported unsupported: true passed: undefined test failed: false |
write: async (secret) => { try { let worker = new SharedWorker("supercookies_sharedworker.js"); worker.port.start(); // console.log("worker", worker); const messagePromise = new Promise((resolve) => { worker.port.onmessage = (e) => resolve(e.data); }); worker.port.postMessage(secret); await messagePromise; } catch (e) { throw new Error("Unsupported"); } } read: async () => { let worker = new SharedWorker("supercookies_sharedworker.js"); worker.port.start(); const messagePromise = new Promise((resolve, reject) => { worker.port.onmessage = (e) => resolve(e.data); setTimeout(() => reject(new Error("no SharedWorker message received")), 200); }); worker.port.postMessage("request"); const message = await messagePromise; if (message === "none") { throw new Error("Unsupported"); } return message; } result, same first party: Error: Unsupported result, different first party: Error: Unsupported unsupported: true passed: undefined test failed: false |
write: async (secret) => { try { let worker = new SharedWorker("supercookies_sharedworker.js"); worker.port.start(); // console.log("worker", worker); const messagePromise = new Promise((resolve) => { worker.port.onmessage = (e) => resolve(e.data); }); worker.port.postMessage(secret); await messagePromise; } catch (e) { throw new Error("Unsupported"); } } read: async () => { let worker = new SharedWorker("supercookies_sharedworker.js"); worker.port.start(); const messagePromise = new Promise((resolve, reject) => { worker.port.onmessage = (e) => resolve(e.data); setTimeout(() => reject(new Error("no SharedWorker message received")), 200); }); worker.port.postMessage("request"); const message = await messagePromise; if (message === "none") { throw new Error("Unsupported"); } return message; } result, same first party: Error: SharedWorker is not defined result, different first party: Error: SharedWorker is not defined unsupported: true passed: undefined test failed: false |
write: async (secret) => { try { let worker = new SharedWorker("supercookies_sharedworker.js"); worker.port.start(); // console.log("worker", worker); const messagePromise = new Promise((resolve) => { worker.port.onmessage = (e) => resolve(e.data); }); worker.port.postMessage(secret); await messagePromise; } catch (e) { throw new Error("Unsupported"); } } read: async () => { let worker = new SharedWorker("supercookies_sharedworker.js"); worker.port.start(); const messagePromise = new Promise((resolve, reject) => { worker.port.onmessage = (e) => resolve(e.data); setTimeout(() => reject(new Error("no SharedWorker message received")), 200); }); worker.port.postMessage("request"); const message = await messagePromise; if (message === "none") { throw new Error("Unsupported"); } return message; } result, same first party: Error: SharedWorker is not defined, Error: SharedWorker is not defined, Error: SharedWorker is not defined, Error: SharedWorker is not defined, Error: SharedWorker is not defined result, different first party: Error: SharedWorker is not defined, Error: SharedWorker is not defined, Error: SharedWorker is not defined, Error: SharedWorker is not defined, Error: SharedWorker is not defined unsupported: true, true, true, true, true passed: undefined test failed: false, false, false, false, false |
write: async (secret) => { try { let worker = new SharedWorker("supercookies_sharedworker.js"); worker.port.start(); // console.log("worker", worker); const messagePromise = new Promise((resolve) => { worker.port.onmessage = (e) => resolve(e.data); }); worker.port.postMessage(secret); await messagePromise; } catch (e) { throw new Error("Unsupported"); } } read: async () => { let worker = new SharedWorker("supercookies_sharedworker.js"); worker.port.start(); const messagePromise = new Promise((resolve, reject) => { worker.port.onmessage = (e) => resolve(e.data); setTimeout(() => reject(new Error("no SharedWorker message received")), 200); }); worker.port.postMessage("request"); const message = await messagePromise; if (message === "none") { throw new Error("Unsupported"); } return message; } result, same first party: Error: no SharedWorker message received result, different first party: Error: The operation is insecure. unsupported: false passed: undefined test failed: true |
write: async (secret) => { try { let worker = new SharedWorker("supercookies_sharedworker.js"); worker.port.start(); // console.log("worker", worker); const messagePromise = new Promise((resolve) => { worker.port.onmessage = (e) => resolve(e.data); }); worker.port.postMessage(secret); await messagePromise; } catch (e) { throw new Error("Unsupported"); } } read: async () => { let worker = new SharedWorker("supercookies_sharedworker.js"); worker.port.start(); const messagePromise = new Promise((resolve, reject) => { worker.port.onmessage = (e) => resolve(e.data); setTimeout(() => reject(new Error("no SharedWorker message received")), 200); }); worker.port.postMessage("request"); const message = await messagePromise; if (message === "none") { throw new Error("Unsupported"); } return message; } result, same first party: Error: SharedWorker is not defined result, different first party: Error: SharedWorker is not defined unsupported: true passed: undefined test failed: false |
write: async (secret) => { try { let worker = new SharedWorker("supercookies_sharedworker.js"); worker.port.start(); // console.log("worker", worker); const messagePromise = new Promise((resolve) => { worker.port.onmessage = (e) => resolve(e.data); }); worker.port.postMessage(secret); await messagePromise; } catch (e) { throw new Error("Unsupported"); } } read: async () => { let worker = new SharedWorker("supercookies_sharedworker.js"); worker.port.start(); const messagePromise = new Promise((resolve, reject) => { worker.port.onmessage = (e) => resolve(e.data); setTimeout(() => reject(new Error("no SharedWorker message received")), 200); }); worker.port.postMessage("request"); const message = await messagePromise; if (message === "none") { throw new Error("Unsupported"); } return message; } result, same first party: Error: SharedWorker is not defined result, different first party: Error: SharedWorker is not defined unsupported: true passed: undefined test failed: false |
TLS Session ID
The TLS protocol is used by HTTPS to make connections secure. If the browser were to re-use a TLS session, then the session ID could be used to track users across websites. |
write: async () => { let results = await fetch("https://tls.privacytests2.org:8900/"); return (await results.json()).sessionId; } read: async () => { let results = await fetch("https://tls.privacytests2.org:8900/"); return (await results.json()).sessionId; } result, same first party: c9381321a48a7caae4b9730c7ace70db626666e02e96693e8a7f784378752da4 result, different first party: 3a6ddfdb6b3de4987e9d233a3cd79d73370062e8154a43c0df05a748c5b477fb unsupported: false passed: true test failed: false |
write: async () => { let results = await fetch("https://tls.privacytests2.org:8900/"); return (await results.json()).sessionId; } read: async () => { let results = await fetch("https://tls.privacytests2.org:8900/"); return (await results.json()).sessionId; } result, same first party: 4f4d50784b001bf7c0f74dbc9abc17ad922b9118e059d1a16e1510ad621af68f result, different first party: 8ac143c2b39bc40ce4848b8a1f942c005425eaa042e7060ed97344287530b224 unsupported: false passed: true test failed: false |
write: async () => { let results = await fetch("https://tls.privacytests2.org:8900/"); return (await results.json()).sessionId; } read: async () => { let results = await fetch("https://tls.privacytests2.org:8900/"); return (await results.json()).sessionId; } result, same first party: 4b27d135dd680978710259c2968cb12248c728712739375dd19b902b1dbfbf46 result, different first party: 759fb8ecc005d9fcd667163fdf621c1598d4944c6b61dd02f74ecadfc818b531 unsupported: false passed: true test failed: false |
write: async () => { let results = await fetch("https://tls.privacytests2.org:8900/"); return (await results.json()).sessionId; } read: async () => { let results = await fetch("https://tls.privacytests2.org:8900/"); return (await results.json()).sessionId; } result, same first party: 80266c227eec655003db0a346d10f3e0d004c0b5275c2fd44c8a2e7676ab410a result, different first party: 48e0c9e39401cc18f07dc6ce64e960c6693e5e55e8f040e87440ceff8722c486 unsupported: false passed: true test failed: false |
write: async () => { let results = await fetch("https://tls.privacytests2.org:8900/"); return (await results.json()).sessionId; } read: async () => { let results = await fetch("https://tls.privacytests2.org:8900/"); return (await results.json()).sessionId; } result, same first party: 71dec076c979e71869aee8ced5ef8f2e03614ca6cd9c0743789be732c4727fae result, different first party: 06dc54e896a5000e5f410acc72fdd6094c25573e47de35f8b01dd9d96d202dc4 unsupported: false passed: true test failed: false |
write: async () => { let results = await fetch("https://tls.privacytests2.org:8900/"); return (await results.json()).sessionId; } read: async () => { let results = await fetch("https://tls.privacytests2.org:8900/"); return (await results.json()).sessionId; } result, same first party: b3f0d79197788e1421bb102390b457cf5723ce0d96ef96b808798854a565e466 result, different first party: a2081bc42c1f5d9797f6bf4bcae132811b264ac27e834ba20a950a56191e10a4 unsupported: false passed: true test failed: false |
write: async () => { let results = await fetch("https://tls.privacytests2.org:8900/"); return (await results.json()).sessionId; } read: async () => { let results = await fetch("https://tls.privacytests2.org:8900/"); return (await results.json()).sessionId; } result, same first party: f9fe6b572c86991a2ba14ffc3aecf75c0b267ec8c2158e639e14532c233310b3 result, different first party: c01372244f251189915565a40daf80210f10d29d362acc5c782311afbe6c329b unsupported: false passed: true test failed: false |
write: async () => { let results = await fetch("https://tls.privacytests2.org:8900/"); return (await results.json()).sessionId; } read: async () => { let results = await fetch("https://tls.privacytests2.org:8900/"); return (await results.json()).sessionId; } result, same first party: 0916e4b812ed7141e918447fc81f5779f0b7b2f1e8cbf535ca5561b5b4b82d18 result, different first party: 8f85b5a8107ffd1f00a595313eddb029acb376dc6517d20c1d90cb4531052fe3 unsupported: false passed: true test failed: false |
write: async () => { let results = await fetch("https://tls.privacytests2.org:8900/"); return (await results.json()).sessionId; } read: async () => { let results = await fetch("https://tls.privacytests2.org:8900/"); return (await results.json()).sessionId; } result, same first party: fb57492d1a8e6c7fe42b5909afaa7495df0823e5978923c5b26db132d64963a4, 06edc964e9f8d47cc7927805cb9d829dd1cb9968da52acd29b5e40f2ad8875f2, c96e0f8748b84390de8c731f907450395b6a1a0b2e70b21ed176953e578f48df, 4d59355f4aabea61ec02ae26ab361a7be8741b01867ebc8d56e5fcb96c0efa17, 81806ba99049f3e03eada9de198c246dcc3671c90c61834a8de0bd7c9a72c458 result, different first party: 91d9e67e22b8b5d661334ba14eb81158720fc32c2424ce6126a21db69c4794b4, 6d6aee2635b351d6c89eea2e6c08c2c0da82983e71741aecb5f195004ce5a515, 82d5068363bbf7b934c1d90182ef8f0410c07b8a57c702e6709316f53eafc625, 8e46f5779efe32e75b50fa13387f235992de97db76fdc5450722fb2a3029ab5c, 1e1322dd57f392389b1fc91b9fa20e655cd4111ccccbd7430be28f52b4f859be unsupported: false, false, false, false, false passed: true, true, true, true, true test failed: false, false, false, false, false |
write: async () => { let results = await fetch("https://tls.privacytests2.org:8900/"); return (await results.json()).sessionId; } read: async () => { let results = await fetch("https://tls.privacytests2.org:8900/"); return (await results.json()).sessionId; } result, same first party: 128b7784ec7d401f7e244b5192a968b67f92556772ccd0427f630c702ba035e3 result, different first party: db120010f53023f4381c21607e5efeb48fa11dc57660f9af837f336cd307a7fd unsupported: false passed: true test failed: false |
write: async () => { let results = await fetch("https://tls.privacytests2.org:8900/"); return (await results.json()).sessionId; } read: async () => { let results = await fetch("https://tls.privacytests2.org:8900/"); return (await results.json()).sessionId; } result, same first party: fc24a5ab08e244559cb538ed16df8b4bf52de992e8515eedba21f4ec4ebb40a5 result, different first party: 64b29a93eb26d4764286c952859d1301dfd64e7007902dfd86da5654373020fd unsupported: false passed: true test failed: false |
write: async () => { let results = await fetch("https://tls.privacytests2.org:8900/"); return (await results.json()).sessionId; } read: async () => { let results = await fetch("https://tls.privacytests2.org:8900/"); return (await results.json()).sessionId; } result, same first party: d12a5add6b16f27f95ef42f17f129299ac49fe52832f17eaeb4aac866cc53e95 result, different first party: 82854bd2535eb15433e7c0e9c9f665b1fd9fc469b8ef6ef07f3e99da0cbdc5f1 unsupported: false passed: true test failed: false |
XMLHttpRequest cache
Similar to the newer Fetch API, any resource received may be cached by the browser. The cache is potentially vulnerable to cross-site tracking attack. |
write: async (key) => { const req = new XMLHttpRequest(); const loadPromise = new Promise(resolve => req.addEventListener("load", resolve)); req.open("GET", testURI("resource", "xhr", key)); req.send(); await loadPromise; return key; } read: async (key) => { const req = new XMLHttpRequest(); const loadPromise = new Promise(resolve => req.addEventListener("load", resolve)); req.open("GET", testURI("resource", "xhr", key)); req.send(); await loadPromise; let countResponse = await fetch(testURI("ctr", "xhr", key), {cache: "reload"}); return (await countResponse.text()).trim(); } result, same first party: 1 result, different first party: 2 unsupported: false passed: true test failed: false |
write: async (key) => { const req = new XMLHttpRequest(); const loadPromise = new Promise(resolve => req.addEventListener("load", resolve)); req.open("GET", testURI("resource", "xhr", key)); req.send(); await loadPromise; return key; } read: async (key) => { const req = new XMLHttpRequest(); const loadPromise = new Promise(resolve => req.addEventListener("load", resolve)); req.open("GET", testURI("resource", "xhr", key)); req.send(); await loadPromise; let countResponse = await fetch(testURI("ctr", "xhr", key), {cache: "reload"}); return (await countResponse.text()).trim(); } result, same first party: 1 result, different first party: 2 unsupported: false passed: true test failed: false |
write: async (key) => { const req = new XMLHttpRequest(); const loadPromise = new Promise(resolve => req.addEventListener("load", resolve)); req.open("GET", testURI("resource", "xhr", key)); req.send(); await loadPromise; return key; } read: async (key) => { const req = new XMLHttpRequest(); const loadPromise = new Promise(resolve => req.addEventListener("load", resolve)); req.open("GET", testURI("resource", "xhr", key)); req.send(); await loadPromise; let countResponse = await fetch(testURI("ctr", "xhr", key), {cache: "reload"}); return (await countResponse.text()).trim(); } result, same first party: 1 result, different first party: 1 unsupported: false passed: false test failed: false |
write: async (key) => { const req = new XMLHttpRequest(); const loadPromise = new Promise(resolve => req.addEventListener("load", resolve)); req.open("GET", testURI("resource", "xhr", key)); req.send(); await loadPromise; return key; } read: async (key) => { const req = new XMLHttpRequest(); const loadPromise = new Promise(resolve => req.addEventListener("load", resolve)); req.open("GET", testURI("resource", "xhr", key)); req.send(); await loadPromise; let countResponse = await fetch(testURI("ctr", "xhr", key), {cache: "reload"}); return (await countResponse.text()).trim(); } result, same first party: 1 result, different first party: 2 unsupported: false passed: true test failed: false |
write: async (key) => { const req = new XMLHttpRequest(); const loadPromise = new Promise(resolve => req.addEventListener("load", resolve)); req.open("GET", testURI("resource", "xhr", key)); req.send(); await loadPromise; return key; } read: async (key) => { const req = new XMLHttpRequest(); const loadPromise = new Promise(resolve => req.addEventListener("load", resolve)); req.open("GET", testURI("resource", "xhr", key)); req.send(); await loadPromise; let countResponse = await fetch(testURI("ctr", "xhr", key), {cache: "reload"}); return (await countResponse.text()).trim(); } result, same first party: 1 result, different first party: 2 unsupported: false passed: true test failed: false |
write: async (key) => { const req = new XMLHttpRequest(); const loadPromise = new Promise(resolve => req.addEventListener("load", resolve)); req.open("GET", testURI("resource", "xhr", key)); req.send(); await loadPromise; return key; } read: async (key) => { const req = new XMLHttpRequest(); const loadPromise = new Promise(resolve => req.addEventListener("load", resolve)); req.open("GET", testURI("resource", "xhr", key)); req.send(); await loadPromise; let countResponse = await fetch(testURI("ctr", "xhr", key), {cache: "reload"}); return (await countResponse.text()).trim(); } result, same first party: 1 result, different first party: 2 unsupported: false passed: true test failed: false |
write: async (key) => { const req = new XMLHttpRequest(); const loadPromise = new Promise(resolve => req.addEventListener("load", resolve)); req.open("GET", testURI("resource", "xhr", key)); req.send(); await loadPromise; return key; } read: async (key) => { const req = new XMLHttpRequest(); const loadPromise = new Promise(resolve => req.addEventListener("load", resolve)); req.open("GET", testURI("resource", "xhr", key)); req.send(); await loadPromise; let countResponse = await fetch(testURI("ctr", "xhr", key), {cache: "reload"}); return (await countResponse.text()).trim(); } result, same first party: 1 result, different first party: 2 unsupported: false passed: true test failed: false |
write: async (key) => { const req = new XMLHttpRequest(); const loadPromise = new Promise(resolve => req.addEventListener("load", resolve)); req.open("GET", testURI("resource", "xhr", key)); req.send(); await loadPromise; return key; } read: async (key) => { const req = new XMLHttpRequest(); const loadPromise = new Promise(resolve => req.addEventListener("load", resolve)); req.open("GET", testURI("resource", "xhr", key)); req.send(); await loadPromise; let countResponse = await fetch(testURI("ctr", "xhr", key), {cache: "reload"}); return (await countResponse.text()).trim(); } result, same first party: 1 result, different first party: 2 unsupported: false passed: true test failed: false |
write: async (key) => { const req = new XMLHttpRequest(); const loadPromise = new Promise(resolve => req.addEventListener("load", resolve)); req.open("GET", testURI("resource", "xhr", key)); req.send(); await loadPromise; return key; } read: async (key) => { const req = new XMLHttpRequest(); const loadPromise = new Promise(resolve => req.addEventListener("load", resolve)); req.open("GET", testURI("resource", "xhr", key)); req.send(); await loadPromise; let countResponse = await fetch(testURI("ctr", "xhr", key), {cache: "reload"}); return (await countResponse.text()).trim(); } result, same first party: 1, 1, 1, 1, 1 result, different first party: 2, 2, 2, 2, 2 unsupported: false, false, false, false, false passed: true, true, true, true, true test failed: false, false, false, false, false |
write: async (key) => { const req = new XMLHttpRequest(); const loadPromise = new Promise(resolve => req.addEventListener("load", resolve)); req.open("GET", testURI("resource", "xhr", key)); req.send(); await loadPromise; return key; } read: async (key) => { const req = new XMLHttpRequest(); const loadPromise = new Promise(resolve => req.addEventListener("load", resolve)); req.open("GET", testURI("resource", "xhr", key)); req.send(); await loadPromise; let countResponse = await fetch(testURI("ctr", "xhr", key), {cache: "reload"}); return (await countResponse.text()).trim(); } result, same first party: 1 result, different first party: 2 unsupported: false passed: true test failed: false |
write: async (key) => { const req = new XMLHttpRequest(); const loadPromise = new Promise(resolve => req.addEventListener("load", resolve)); req.open("GET", testURI("resource", "xhr", key)); req.send(); await loadPromise; return key; } read: async (key) => { const req = new XMLHttpRequest(); const loadPromise = new Promise(resolve => req.addEventListener("load", resolve)); req.open("GET", testURI("resource", "xhr", key)); req.send(); await loadPromise; let countResponse = await fetch(testURI("ctr", "xhr", key), {cache: "reload"}); return (await countResponse.text()).trim(); } result, same first party: 1 result, different first party: 2 unsupported: false passed: true test failed: false |
write: async (key) => { const req = new XMLHttpRequest(); const loadPromise = new Promise(resolve => req.addEventListener("load", resolve)); req.open("GET", testURI("resource", "xhr", key)); req.send(); await loadPromise; return key; } read: async (key) => { const req = new XMLHttpRequest(); const loadPromise = new Promise(resolve => req.addEventListener("load", resolve)); req.open("GET", testURI("resource", "xhr", key)); req.send(); await loadPromise; let countResponse = await fetch(testURI("ctr", "xhr", key), {cache: "reload"}); return (await countResponse.text()).trim(); } result, same first party: 1 result, different first party: 2 unsupported: false passed: true test failed: false |
Navigation testsWhich browsers prevent websites from sharing tracking data when you click on a link?
When you click a hyperlink to navigate your browser from one site to another, certain browser APIs allow the first site to communicate to the second site. These privacy vulnerabilities can be fixed by introducing new limits on how much data is transfered between sites.', | ||||||||||||
document.referrer
The Referer [sic] request header is a mechanism used by browsers to let a website know where the user is visiting from. This header is inherently tracking users across websites. In recent times, browsers have switched to a policy of trimming a referrer to convey less tracking information, but Referer continues to convey cross-site tracking data by default. |
write: (secret) => { /* do nothing */ } read: () => document.referrer result, same first party: https://test-pages.privacytests2.org/ result, different first party: https://test-pages.privacytests2.org/ unsupported: false passed: false test failed: false |
write: (secret) => { /* do nothing */ } read: () => document.referrer result, same first party: https://test-pages.privacytests2.org/ result, different first party: https://test-pages.privacytests2.org/ unsupported: false passed: false test failed: false |
write: (secret) => { /* do nothing */ } read: () => document.referrer result, same first party: https://test-pages.privacytests2.org/ result, different first party: https://test-pages.privacytests2.org/ unsupported: false passed: false test failed: false |
write: (secret) => { /* do nothing */ } read: () => document.referrer result, same first party: https://test-pages.privacytests2.org/ result, different first party: https://test-pages.privacytests2.org/ unsupported: false passed: false test failed: false |
write: (secret) => { /* do nothing */ } read: () => document.referrer result, same first party: https://test-pages.privacytests2.org/ result, different first party: https://test-pages.privacytests2.org/ unsupported: false passed: false test failed: false |
write: (secret) => { /* do nothing */ } read: () => document.referrer result, same first party: https://test-pages.privacytests2.org/ result, different first party: https://test-pages.privacytests2.org/ unsupported: false passed: false test failed: false |
write: (secret) => { /* do nothing */ } read: () => document.referrer result, same first party: https://test-pages.privacytests2.org/ result, different first party: unsupported: false passed: true test failed: false |
write: (secret) => { /* do nothing */ } read: () => document.referrer result, same first party: https://test-pages.privacytests2.org/ result, different first party: https://test-pages.privacytests2.org/ unsupported: false passed: false test failed: false |
write: (secret) => { /* do nothing */ } read: () => document.referrer result, same first party: https://test-pages.privacytests2.org/, https://test-pages.privacytests2.org/, https://test-pages.privacytests2.org/, https://test-pages.privacytests2.org/, https://test-pages.privacytests2.org/ result, different first party: https://test-pages.privacytests2.org/, https://test-pages.privacytests2.org/, https://test-pages.privacytests2.org/, https://test-pages.privacytests2.org/, https://test-pages.privacytests2.org/ unsupported: false, false, false, false, false passed: false, false, false, false, false test failed: false, false, false, false, false |
write: (secret) => { /* do nothing */ } read: () => document.referrer result, same first party: https://test-pages.privacytests2.org/ result, different first party: https://test-pages.privacytests2.org/ unsupported: false passed: false test failed: false |
write: (secret) => { /* do nothing */ } read: () => document.referrer result, same first party: https://test-pages.privacytests2.org/ result, different first party: https://test-pages.privacytests2.org/ unsupported: false passed: false test failed: false |
write: (secret) => { /* do nothing */ } read: () => document.referrer result, same first party: https://test-pages.privacytests2.org/ result, different first party: https://test-pages.privacytests2.org/ unsupported: false passed: false test failed: false |
sessionStorage
The sessionStorage API is similar to the localStorage API, but it does not persist across tabs or across browser sessions. Nonetheless, it can be used to track users if they navigate from one website to another. This tracking can be thwarted by partitioning sessionStorage between websites. |
write: (secret) => sessionStorage.setItem("secret", secret) read: () => sessionStorage.getItem("secret") result, same first party: 395728fd-45b1-483b-aae3-30840614c71f result, different first party: null unsupported: false passed: true test failed: false |
write: (secret) => sessionStorage.setItem("secret", secret) read: () => sessionStorage.getItem("secret") result, same first party: cfc01c4b-e9b0-4dd0-9e63-71dff9875002 result, different first party: null unsupported: false passed: true test failed: false |
write: (secret) => sessionStorage.setItem("secret", secret) read: () => sessionStorage.getItem("secret") result, same first party: 4dec08bb-3827-41ae-a277-c2b2a7f3093d result, different first party: 4dec08bb-3827-41ae-a277-c2b2a7f3093d unsupported: false passed: false test failed: false |
write: (secret) => sessionStorage.setItem("secret", secret) read: () => sessionStorage.getItem("secret") result, same first party: 4a6a9247-b4e1-4572-8e64-7cb95b774938 result, different first party: null unsupported: false passed: true test failed: false |
write: (secret) => sessionStorage.setItem("secret", secret) read: () => sessionStorage.getItem("secret") result, same first party: de15919a-59b1-4372-8d7e-4fe266a8dd81 result, different first party: null unsupported: false passed: true test failed: false |
write: (secret) => sessionStorage.setItem("secret", secret) read: () => sessionStorage.getItem("secret") result, same first party: 04041701-114e-4ffa-a7c3-a94190db6435 result, different first party: null unsupported: false passed: true test failed: false |
write: (secret) => sessionStorage.setItem("secret", secret) read: () => sessionStorage.getItem("secret") result, same first party: 2c30e905-89f9-43e0-8121-691bfd8d8d4b result, different first party: null unsupported: false passed: true test failed: false |
write: (secret) => sessionStorage.setItem("secret", secret) read: () => sessionStorage.getItem("secret") result, same first party: 4de5d046-d641-4de4-853d-2deaee2f77a8 result, different first party: null unsupported: false passed: true test failed: false |
write: (secret) => sessionStorage.setItem("secret", secret) read: () => sessionStorage.getItem("secret") result, same first party: 5a50b218-e9bb-4d6c-ab8e-cdb6777c4ca6, 52109630-975b-4a25-b271-1b40345014b9, 09b12ba4-febb-406c-ae01-a3222c01e9d0, e31a8827-fbbc-4f17-8ff4-0dd018412883, 2e3465ba-9d71-4a78-956f-a7436760f50e result, different first party: 5a50b218-e9bb-4d6c-ab8e-cdb6777c4ca6, 52109630-975b-4a25-b271-1b40345014b9, 09b12ba4-febb-406c-ae01-a3222c01e9d0, e31a8827-fbbc-4f17-8ff4-0dd018412883, 2e3465ba-9d71-4a78-956f-a7436760f50e unsupported: false, false, false, false, false passed: false, false, false, false, false test failed: false, false, false, false, false |
write: (secret) => sessionStorage.setItem("secret", secret) read: () => sessionStorage.getItem("secret") result, same first party: a492ddfc-e63e-4699-9a36-ea3956f606c8 result, different first party: null unsupported: false passed: true test failed: false |
write: (secret) => sessionStorage.setItem("secret", secret) read: () => sessionStorage.getItem("secret") result, same first party: 6b2aeaa1-68b1-4cfa-8eb0-358668aeaf73 result, different first party: null unsupported: false passed: true test failed: false |
write: (secret) => sessionStorage.setItem("secret", secret) read: () => sessionStorage.getItem("secret") result, same first party: 83d2a636-d42f-4755-afec-86f894c67881 result, different first party: null unsupported: false passed: true test failed: false |
window.name
The window.name API allows websites to store data that will persist after the user has navigated the tab to a different website. This mechanism could be partitioned so that data is not allowed to persist between websites. |
write: (secret) => window.name = "name_" + secret read: () => window.name result, same first party: name_395728fd-45b1-483b-aae3-30840614c71f result, different first party: unsupported: false passed: true test failed: false |
write: (secret) => window.name = "name_" + secret read: () => window.name result, same first party: name_cfc01c4b-e9b0-4dd0-9e63-71dff9875002 result, different first party: name_cfc01c4b-e9b0-4dd0-9e63-71dff9875002 unsupported: false passed: false test failed: false |
write: (secret) => window.name = "name_" + secret read: () => window.name result, same first party: name_4dec08bb-3827-41ae-a277-c2b2a7f3093d result, different first party: name_4dec08bb-3827-41ae-a277-c2b2a7f3093d unsupported: false passed: false test failed: false |
write: (secret) => window.name = "name_" + secret read: () => window.name result, same first party: name_4a6a9247-b4e1-4572-8e64-7cb95b774938 result, different first party: name_4a6a9247-b4e1-4572-8e64-7cb95b774938 unsupported: false passed: false test failed: false |
write: (secret) => window.name = "name_" + secret read: () => window.name result, same first party: name_de15919a-59b1-4372-8d7e-4fe266a8dd81 result, different first party: unsupported: false passed: true test failed: false |
write: (secret) => window.name = "name_" + secret read: () => window.name result, same first party: name_04041701-114e-4ffa-a7c3-a94190db6435 result, different first party: unsupported: false passed: true test failed: false |
write: (secret) => window.name = "name_" + secret read: () => window.name result, same first party: name_2c30e905-89f9-43e0-8121-691bfd8d8d4b result, different first party: unsupported: false passed: true test failed: false |
write: (secret) => window.name = "name_" + secret read: () => window.name result, same first party: name_4de5d046-d641-4de4-853d-2deaee2f77a8 result, different first party: name_4de5d046-d641-4de4-853d-2deaee2f77a8 unsupported: false passed: false test failed: false |
write: (secret) => window.name = "name_" + secret read: () => window.name result, same first party: name_5a50b218-e9bb-4d6c-ab8e-cdb6777c4ca6, name_52109630-975b-4a25-b271-1b40345014b9, name_09b12ba4-febb-406c-ae01-a3222c01e9d0, name_e31a8827-fbbc-4f17-8ff4-0dd018412883, name_2e3465ba-9d71-4a78-956f-a7436760f50e result, different first party: , , , , unsupported: false, false, false, false, false passed: true, true, true, true, true test failed: false, false, false, false, false |
write: (secret) => window.name = "name_" + secret read: () => window.name result, same first party: name_a492ddfc-e63e-4699-9a36-ea3956f606c8 result, different first party: unsupported: false passed: true test failed: false |
write: (secret) => window.name = "name_" + secret read: () => window.name result, same first party: name_6b2aeaa1-68b1-4cfa-8eb0-358668aeaf73 result, different first party: name_6b2aeaa1-68b1-4cfa-8eb0-358668aeaf73 unsupported: false passed: false test failed: false |
write: (secret) => window.name = "name_" + secret read: () => window.name result, same first party: name_83d2a636-d42f-4755-afec-86f894c67881 result, different first party: name_83d2a636-d42f-4755-afec-86f894c67881 unsupported: false passed: false test failed: false |
HTTPS testsWhich browsers prevent unencrypted network connections?
HTTPS is the protocol that web browsers use to connect securely to websites. When HTTPS is being used, the connection is encrypted so that third parties on the network cannot read content being sent between the server and your browser. In the past, insecure connections were the default and websites would need to actively request that a browser use HTTPS. Now the status quo is shifting, and browser makers are moving toward a world where HTTPS is the default protocol.` | ||||||||||||
Insecure website warning
Checks to see if the browser stops loading an insecure website and warns the user before giving them the option to continue. Known as HTTPS-Only Mode in some browsers. |
passed: false result: Insecure website loaded |
passed: false result: Insecure website loaded |
passed: false result: Insecure website loaded |
passed: false result: Insecure website loaded |
passed: false result: Insecure website loaded |
passed: true result: Insecure website never loaded |
passed: true result: Insecure website never loaded |
passed: false result: Insecure website loaded |
passed: false, false, false, false, false result: Insecure website loaded, Insecure website loaded, Insecure website loaded, Insecure website loaded, Insecure website loaded |
passed: true result: Insecure website never loaded |
passed: false result: Insecure website loaded |
passed: false result: Insecure website loaded |
Upgradable address
Checks to see if an insecure address entered into the browser's address bar is upgraded to HTTPS whenever possible. |
upgraded: true passed: true |
upgraded: true passed: true |
upgraded: false passed: false |
upgraded: true passed: true |
upgraded: false passed: false |
upgraded: true passed: true |
upgraded: true passed: true |
upgraded: false passed: false |
upgraded: false, false, false, false, false passed: false, false, false, false, false |
upgraded: true passed: true |
upgraded: true passed: true |
upgraded: false passed: false |
Upgradable hyperlink
Checks to see if the user has clicked on a hyperlink to an insecure address, if the browser upgrades that address to HTTPS whenever possible. |
upgraded: true passed: true |
upgraded: true passed: true |
upgraded: false passed: false |
upgraded: true passed: true |
upgraded: false passed: false |
upgraded: true passed: true |
upgraded: true passed: true |
upgraded: false passed: false |
upgraded: true, true, true, true, true passed: true, true, true, true, true |
upgraded: true passed: true |
upgraded: true passed: true |
upgraded: false passed: false |
Upgradable image
Checks to see if the browser attempts to upgrade an insecure address for an image to HTTPS whenever possible. |
passed: true result: upgraded |
passed: true result: upgraded |
passed: false result: loaded insecurely |
passed: true result: upgraded |
passed: false result: loaded insecurely |
passed: true result: upgraded |
passed: true result: upgraded |
passed: true result: upgraded |
passed: true, true, true, true, true result: upgraded, upgraded, upgraded, upgraded, upgraded |
passed: true result: upgraded |
passed: true result: upgraded |
passed: true result: upgraded |
Upgradable script
Checks to see if the browser attempts to upgrade an insecure address for an script to HTTPS whenever possible. |
passed: true result: blocked |
passed: true result: blocked |
passed: true result: blocked |
passed: true result: blocked |
passed: true result: blocked |
passed: true result: upgraded |
passed: true result: upgraded |
passed: true result: blocked |
passed: true, true, true, true, true result: blocked, blocked, blocked, blocked, blocked |
passed: true result: upgraded |
passed: true result: blocked |
passed: true result: blocked |
Misc testsWhich browsers provide additional assorted privacy protections?
This category includes tests for the presence of miscellaneous privacy features | ||||||||||||
ECH enabled
Encrypted Client Hello (ECH) is a new protocol that hides the website you are visiting from third-party network eavesdroppers. |
SNI_status: encrypted passed: true |
SNI_status: encrypted passed: true |
SNI_status: plaintext passed: false |
SNI_status: encrypted passed: true |
SNI_status: plaintext passed: false |
SNI_status: plaintext passed: false |
SNI_status: plaintext passed: false |
SNI_status: plaintext passed: false |
SNI_status: plaintext passed: false, false, false, false, false |
SNI_status: plaintext passed: false |
SNI_status: encrypted passed: true |
SNI_status: encrypted passed: true |
GPC enabled first-party
The Global Privacy Control is an HTTP header that can be sent by a browser to instruct a website not to sell the user's personal data to third parties. This test checks to see if the GPC header is sent by default to the top-level website. |
header value: 1 passed: true |
header value: undefined passed: false |
header value: 1 passed: true |
header value: undefined passed: false |
header value: undefined passed: false |
header value: 1 passed: true |
header value: undefined passed: false |
header value: undefined passed: false |
header value: undefined passed: false, false, false, false, false |
header value: undefined passed: false |
header value: undefined passed: false |
header value: undefined passed: false |
GPC enabled third-party
The Global Privacy Control is an HTTP header that can be sent by a browser to instruct a visited website not to sell the user's personal data to other parties. This test checks to see if the GPC header is sent to third-party elements on the web page. |
sec-gpc: 1 passed: true |
passed: false |
passed: false |
passed: false |
passed: false |
sec-gpc: 1 passed: true |
passed: false |
passed: false |
passed: false, false, false, false, false |
passed: false |
passed: false |
passed: false |
IP address leak
IP addresses can be used to uniquely identify a large percentage of users. A proxy, VPN, or Tor can mask a user's IP address. |
passed: false |
passed: false |
passed: false |
passed: false |
passed: false |
passed: false |
passed: false |
passed: false |
passed: false, false, false, false, false |
passed: true |
passed: false |
passed: false |
Stream isolation
Browsers that use Tor can use a different Tor circuit per top-level website. |
write: () => { if (!usingTor) { throw new Error("Unsupported"); } } read: async () => { if (usingTor) { return ipAddress; } else { throw new Error("Unsupported"); } } unsupported: true readSameFirstParty: Error: Unsupported readDifferentFirstParty: Error: Unsupported testFailed: false |
write: () => { if (!usingTor) { throw new Error("Unsupported"); } } read: async () => { if (usingTor) { return ipAddress; } else { throw new Error("Unsupported"); } } unsupported: true readSameFirstParty: Error: Unsupported readDifferentFirstParty: Error: Unsupported testFailed: false |
write: () => { if (!usingTor) { throw new Error("Unsupported"); } } read: async () => { if (usingTor) { return ipAddress; } else { throw new Error("Unsupported"); } } unsupported: true readSameFirstParty: Error: Unsupported readDifferentFirstParty: Error: Unsupported testFailed: false |
write: () => { if (!usingTor) { throw new Error("Unsupported"); } } read: async () => { if (usingTor) { return ipAddress; } else { throw new Error("Unsupported"); } } unsupported: true readSameFirstParty: Error: Unsupported readDifferentFirstParty: Error: Unsupported testFailed: false |
write: () => { if (!usingTor) { throw new Error("Unsupported"); } } read: async () => { if (usingTor) { return ipAddress; } else { throw new Error("Unsupported"); } } unsupported: true readSameFirstParty: Error: Unsupported readDifferentFirstParty: Error: Unsupported testFailed: false |
write: () => { if (!usingTor) { throw new Error("Unsupported"); } } read: async () => { if (usingTor) { return ipAddress; } else { throw new Error("Unsupported"); } } unsupported: true readSameFirstParty: Error: Unsupported readDifferentFirstParty: Error: Unsupported testFailed: false |
write: () => { if (!usingTor) { throw new Error("Unsupported"); } } read: async () => { if (usingTor) { return ipAddress; } else { throw new Error("Unsupported"); } } unsupported: true readSameFirstParty: Error: Unsupported readDifferentFirstParty: Error: Unsupported testFailed: false |
write: () => { if (!usingTor) { throw new Error("Unsupported"); } } read: async () => { if (usingTor) { return ipAddress; } else { throw new Error("Unsupported"); } } unsupported: true readSameFirstParty: Error: Unsupported readDifferentFirstParty: Error: Unsupported testFailed: false |
write: () => { if (!usingTor) { throw new Error("Unsupported"); } } read: async () => { if (usingTor) { return ipAddress; } else { throw new Error("Unsupported"); } } unsupported: true, true, true, true, true readSameFirstParty: Error: Unsupported, Error: Unsupported, Error: Unsupported, Error: Unsupported, Error: Unsupported readDifferentFirstParty: Error: Unsupported, Error: Unsupported, Error: Unsupported, Error: Unsupported, Error: Unsupported testFailed: false, false, false, false, false |
write: () => { if (!usingTor) { throw new Error("Unsupported"); } } read: async () => { if (usingTor) { return ipAddress; } else { throw new Error("Unsupported"); } } unsupported: false readSameFirstParty: 2a0b:f4c2::2 readDifferentFirstParty: 2001:67c:6ec:203:192:42:116:195 passed: true testFailed: false |
write: () => { if (!usingTor) { throw new Error("Unsupported"); } } read: async () => { if (usingTor) { return ipAddress; } else { throw new Error("Unsupported"); } } unsupported: true readSameFirstParty: Error: Unsupported readDifferentFirstParty: Error: Unsupported testFailed: false |
write: () => { if (!usingTor) { throw new Error("Unsupported"); } } read: async () => { if (usingTor) { return ipAddress; } else { throw new Error("Unsupported"); } } unsupported: true readSameFirstParty: Error: Unsupported readDifferentFirstParty: Error: Unsupported testFailed: false |
Tor enabled
The Tor network sends the browser's web requests through a series of relays to hide a user's IP address, thereby helping to mask their identity and location. This test checks to see if the Tor network is being used by default. |
IsTorExit: false passed: false |
IsTorExit: false passed: false |
IsTorExit: false passed: false |
IsTorExit: false passed: false |
IsTorExit: false passed: false |
IsTorExit: false passed: false |
IsTorExit: false passed: false |
IsTorExit: false passed: false |
IsTorExit: false, false, false, false, false passed: false, false, false, false, false |
IsTorExit: true passed: true |
IsTorExit: false passed: false |
IsTorExit: false passed: false |
Fingerprinting resistance testsWhich browsers hide what's unique about your device?
Fingerprinting is a technique trackers use to uniquely identify you as you browse the web. A fingerprinting script will measure several characteristics of your browser and, combining this data, will build a fingerprint that may uniquely identify you among web users. Browsers can introduce countermeasures, such as minimizing the distinguishing information disclosed by certain web APIs so your browser is harder to pick out from the crowd (so-called 'fingerprinting resistance').`, | ||||||||||||
Media query screen height
Height of the user's screen in pixels. |
expression: undefined desired expression: undefined actual value: 800 desired value: undefined passed: false |
expression: undefined desired expression: undefined actual value: 800 desired value: undefined passed: false |
expression: undefined desired expression: undefined actual value: 800 desired value: undefined passed: false |
expression: undefined desired expression: undefined actual value: 800 desired value: undefined passed: false |
expression: undefined desired expression: undefined actual value: 800 desired value: undefined passed: false |
expression: undefined desired expression: undefined actual value: 800 desired value: undefined passed: false |
expression: undefined desired expression: undefined actual value: undefined desired value: undefined passed: false |
expression: undefined desired expression: undefined actual value: 800 desired value: undefined passed: false |
expression: undefined desired expression: undefined actual value: 800,800,800,800,800 desired value: undefined passed: false,false,false,false,false |
expression: undefined desired expression: undefined actual value: undefined desired value: undefined passed: false |
expression: undefined desired expression: undefined actual value: 800 desired value: undefined passed: false |
expression: undefined desired expression: undefined actual value: 800 desired value: undefined passed: false |
Media query screen width
Width of the user's screen in pixels. |
expression: undefined desired expression: undefined actual value: 360 desired value: undefined passed: false |
expression: undefined desired expression: undefined actual value: 360 desired value: undefined passed: false |
expression: undefined desired expression: undefined actual value: 360 desired value: undefined passed: false |
expression: undefined desired expression: undefined actual value: 360 desired value: undefined passed: false |
expression: undefined desired expression: undefined actual value: 360 desired value: undefined passed: false |
expression: undefined desired expression: undefined actual value: 360 desired value: undefined passed: false |
expression: undefined desired expression: undefined actual value: 980 desired value: undefined passed: true |
expression: undefined desired expression: undefined actual value: 360 desired value: undefined passed: false |
expression: undefined desired expression: undefined actual value: 360,360,360,360,360 desired value: undefined passed: false,false,false,false,false |
expression: undefined desired expression: undefined actual value: 980 desired value: undefined passed: true |
expression: undefined desired expression: undefined actual value: 360 desired value: undefined passed: false |
expression: undefined desired expression: undefined actual value: 360 desired value: undefined passed: false |
outerHeight
Height of the browser window in pixels, including browser chrome. |
expression: outerHeight desired expression: undefined actual value: 622 desired value: undefined passed: false |
expression: outerHeight desired expression: undefined actual value: 670 desired value: undefined passed: false |
expression: outerHeight desired expression: undefined actual value: 670 desired value: undefined passed: false |
expression: outerHeight desired expression: undefined actual value: 622 desired value: undefined passed: false |
expression: outerHeight desired expression: undefined actual value: 725 desired value: undefined passed: false |
expression: outerHeight desired expression: undefined actual value: 725 desired value: undefined passed: false |
expression: outerHeight desired expression: undefined actual value: 1822 desired value: undefined passed: true |
expression: outerHeight desired expression: undefined actual value: 614 desired value: undefined passed: false |
expression: outerHeight desired expression: undefined actual value: 630,630,630,630,630 desired value: undefined passed: false,false,false,false,false |
expression: outerHeight desired expression: undefined actual value: 1822 desired value: undefined passed: true |
expression: outerHeight desired expression: undefined actual value: 582 desired value: undefined passed: false |
expression: outerHeight desired expression: undefined actual value: 618 desired value: undefined passed: false |
screen.height
Height of the user's screen, in pixels. |
expression: screen.height desired expression: undefined actual value: 800 desired value: undefined passed: false |
expression: screen.height desired expression: undefined actual value: 800 desired value: undefined passed: false |
expression: screen.height desired expression: undefined actual value: 800 desired value: undefined passed: false |
expression: screen.height desired expression: undefined actual value: 800 desired value: undefined passed: false |
expression: screen.height desired expression: undefined actual value: 800 desired value: undefined passed: false |
expression: screen.height desired expression: undefined actual value: 800 desired value: undefined passed: false |
expression: screen.height desired expression: undefined actual value: 1822 desired value: undefined passed: true |
expression: screen.height desired expression: undefined actual value: 800 desired value: undefined passed: false |
expression: screen.height desired expression: undefined actual value: 800,800,800,800,800 desired value: undefined passed: false,false,false,false,false |
expression: screen.height desired expression: undefined actual value: 1822 desired value: undefined passed: true |
expression: screen.height desired expression: undefined actual value: 800 desired value: undefined passed: false |
expression: screen.height desired expression: undefined actual value: 800 desired value: undefined passed: false |
screen.width
Width of the user's screen, in pixels. |
expression: screen.width desired expression: undefined actual value: 360 desired value: undefined passed: false |
expression: screen.width desired expression: undefined actual value: 360 desired value: undefined passed: false |
expression: screen.width desired expression: undefined actual value: 360 desired value: undefined passed: false |
expression: screen.width desired expression: undefined actual value: 360 desired value: undefined passed: false |
expression: screen.width desired expression: undefined actual value: 360 desired value: undefined passed: false |
expression: screen.width desired expression: undefined actual value: 360 desired value: undefined passed: false |
expression: screen.width desired expression: undefined actual value: 980 desired value: undefined passed: true |
expression: screen.width desired expression: undefined actual value: 360 desired value: undefined passed: false |
expression: screen.width desired expression: undefined actual value: 360,360,360,360,360 desired value: undefined passed: false,false,false,false,false |
expression: screen.width desired expression: undefined actual value: 980 desired value: undefined passed: true |
expression: screen.width desired expression: undefined actual value: 360 desired value: undefined passed: false |
expression: screen.width desired expression: undefined actual value: 360 desired value: undefined passed: false |
screenX
Position, in pixels, of the left edge of the browser window on screen. |
expression: screenX desired expression: undefined actual value: 0 desired value: undefined passed: true |
expression: screenX desired expression: undefined actual value: 0 desired value: undefined passed: true |
expression: screenX desired expression: undefined actual value: 0 desired value: undefined passed: true |
expression: screenX desired expression: undefined actual value: 0 desired value: undefined passed: true |
expression: screenX desired expression: undefined actual value: 0 desired value: undefined passed: true |
expression: screenX desired expression: undefined actual value: 0 desired value: undefined passed: true |
expression: screenX desired expression: undefined actual value: 0 desired value: undefined passed: true |
expression: screenX desired expression: undefined actual value: 0 desired value: undefined passed: true |
expression: screenX desired expression: undefined actual value: 0,0,0,0,0 desired value: undefined passed: true,true,true,true,true |
expression: screenX desired expression: undefined actual value: 0 desired value: undefined passed: true |
expression: screenX desired expression: undefined actual value: 0 desired value: undefined passed: true |
expression: screenX desired expression: undefined actual value: 0 desired value: undefined passed: true |
screenY
Position, in pixels, of the top edge of the browser window on screen. |
expression: screenY desired expression: undefined actual value: 0 desired value: undefined passed: true |
expression: screenY desired expression: undefined actual value: 0 desired value: undefined passed: true |
expression: screenY desired expression: undefined actual value: 0 desired value: undefined passed: true |
expression: screenY desired expression: undefined actual value: 0 desired value: undefined passed: true |
expression: screenY desired expression: undefined actual value: 83 desired value: undefined passed: false |
expression: screenY desired expression: undefined actual value: 83 desired value: undefined passed: false |
expression: screenY desired expression: undefined actual value: 0 desired value: undefined passed: true |
expression: screenY desired expression: undefined actual value: 0 desired value: undefined passed: true |
expression: screenY desired expression: undefined actual value: 0,0,0,0,0 desired value: undefined passed: true,true,true,true,true |
expression: screenY desired expression: undefined actual value: 0 desired value: undefined passed: true |
expression: screenY desired expression: undefined actual value: 0 desired value: undefined passed: true |
expression: screenY desired expression: undefined actual value: 0 desired value: undefined passed: true |
Tracking query parameter testsWhich browsers remove URL parameters that can track you?
When you browse from one web page to another, tracking companies will frequently attach a 'tracking query parameter' to the address of the second web page. That query parameter may contain a unique identifier that tracks you individually as you browse the web. And these query parameters are frequently synchronized with cookies, making them a powerful tracking vector. Web browsers can protect you from known tracking query parameters by stripping them from web addresses before your browser sends them. (The set of tracking query parameters tested here was largely borrowed from Brave.)` | ||||||||||||
__hsfp
HubSpot tracking parameter |
passed: true |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 6158048751336804 passed: false, false, false, false, false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
__hssc
HubSpot tracking parameter |
passed: true |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 6158048751336804 passed: false, false, false, false, false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
__hstc
HubSpot tracking parameter |
passed: true |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 6158048751336804 passed: false, false, false, false, false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
__s
Drip.com email address tracking parameter |
passed: true |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 6158048751336804 passed: false, false, false, false, false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
_hsenc
HubSpot tracking parameter |
passed: true |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 6158048751336804 passed: false, false, false, false, false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
_openstat
Yandex tracking parameter |
passed: true |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 6158048751336804 passed: false, false, false, false, false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
dclid
DoubleClick Click ID (Google) |
passed: true |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 6158048751336804 passed: false, false, false, false, false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
fbclid
Facebook Click Identifier |
passed: true |
value: 5456301701128969 passed: false |
passed: true |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 6158048751336804 passed: false, false, false, false, false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
gclid
Google Click Identifier |
passed: true |
value: 5456301701128969 passed: false |
passed: true |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 6158048751336804 passed: false, false, false, false, false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
hsCtaTracking
HubSpot tracking parameter |
passed: true |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 6158048751336804 passed: false, false, false, false, false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
mc_eid
Mailchimp Email ID (email recipient's address) |
passed: true |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 6158048751336804 passed: false, false, false, false, false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
mkt_tok
Adobe Marketo tracking parameter |
passed: true |
value: 5456301701128969 passed: false |
passed: true |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 6158048751336804 passed: false, false, false, false, false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
ml_subscriber
MailerLite email tracking |
passed: true |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 6158048751336804 passed: false, false, false, false, false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
ml_subscriber_hash
MailerLite email tracking |
passed: true |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 6158048751336804 passed: false, false, false, false, false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
msclkid
Microsoft Click ID |
passed: true |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 6158048751336804 passed: false, false, false, false, false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
oly_anon_id
Omeda marketing 'anonymous' customer id |
passed: true |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 6158048751336804 passed: false, false, false, false, false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
oly_enc_id
Omeda marketing 'known' customer id |
passed: true |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 6158048751336804 passed: false, false, false, false, false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
rb_clickid
Unknown high-entropy tracking parameter |
passed: true |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 6158048751336804 passed: false, false, false, false, false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
s_cid
Adobe Site Catalyst tracking parameter |
passed: true |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 6158048751336804 passed: false, false, false, false, false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
vero_conv
Vero tracking parameter |
passed: true |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 6158048751336804 passed: false, false, false, false, false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
vero_id
Vero tracking parameter |
passed: true |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 6158048751336804 passed: false, false, false, false, false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
wickedid
Wicked Reports e-commerce tracking |
passed: true |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 6158048751336804 passed: false, false, false, false, false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
yclid
Yandex Click ID |
passed: true |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 6158048751336804 passed: false, false, false, false, false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
value: 5456301701128969 passed: false |
Tracker content blocking testsWhich browsers block important known tracking scripts and pixels?
When you visit a web page, it frequently has third-party embedded tracking content, such as scripts and tracking pixels. These embedded components spy on you. Some browsers and browser extensions maintain list of tracking companies and block their content from being loaded. This section checks to see if a browser blocks 20 of the largest trackers listed by https://whotracks.me.` | ||||||||||||
Adobe
Tests whether the browser blocks the page from loading the tracker at https://munchkin.marketo.net/munchkin.js |
url: https://munchkin.marketo.net/munchkin.js passed: true |
url: https://munchkin.marketo.net/munchkin.js passed: false |
url: https://munchkin.marketo.net/munchkin.js passed: true |
url: https://munchkin.marketo.net/munchkin.js passed: false |
url: https://munchkin.marketo.net/munchkin.js passed: false |
url: https://munchkin.marketo.net/munchkin.js passed: true |
url: https://munchkin.marketo.net/munchkin.js passed: true |
url: https://munchkin.marketo.net/munchkin.js passed: false |
url: https://munchkin.marketo.net/munchkin.js passed: false, false, false, false, false |
url: https://munchkin.marketo.net/munchkin.js passed: false |
url: https://munchkin.marketo.net/munchkin.js passed: false |
url: https://munchkin.marketo.net/munchkin.js passed: false |
Adobe Audience Manager
Tests whether the browser blocks the page from loading the tracker at https://dpm.demdex.net/ibs |
url: https://dpm.demdex.net/ibs passed: true |
url: https://dpm.demdex.net/ibs passed: false |
url: https://dpm.demdex.net/ibs passed: true |
url: https://dpm.demdex.net/ibs passed: false |
url: https://dpm.demdex.net/ibs passed: false |
url: https://dpm.demdex.net/ibs passed: true |
url: https://dpm.demdex.net/ibs passed: true |
url: https://dpm.demdex.net/ibs passed: false |
url: https://dpm.demdex.net/ibs passed: false, false, false, false, false |
url: https://dpm.demdex.net/ibs passed: false |
url: https://dpm.demdex.net/ibs passed: false |
url: https://dpm.demdex.net/ibs passed: false |
Amazon adsystem
Tests whether the browser blocks the page from loading the tracker at https://s.amazon-adsystem.com/dcm |
url: https://s.amazon-adsystem.com/dcm passed: true |
url: https://s.amazon-adsystem.com/dcm passed: false |
url: https://s.amazon-adsystem.com/dcm passed: true |
url: https://s.amazon-adsystem.com/dcm passed: false |
url: https://s.amazon-adsystem.com/dcm passed: false |
url: https://s.amazon-adsystem.com/dcm passed: true |
url: https://s.amazon-adsystem.com/dcm passed: true |
url: https://s.amazon-adsystem.com/dcm passed: true |
url: https://s.amazon-adsystem.com/dcm passed: false, false, false, false, false |
url: https://s.amazon-adsystem.com/dcm passed: false |
url: https://s.amazon-adsystem.com/dcm passed: false |
url: https://s.amazon-adsystem.com/dcm passed: false |
AppNexus
Tests whether the browser blocks the page from loading the tracker at https://ib.adnxs.com/px?id=178248&t=1 |
url: https://ib.adnxs.com/px?id=178248&t=1 passed: true |
url: https://ib.adnxs.com/px?id=178248&t=1 passed: false |
url: https://ib.adnxs.com/px?id=178248&t=1 passed: true |
url: https://ib.adnxs.com/px?id=178248&t=1 passed: false |
url: https://ib.adnxs.com/px?id=178248&t=1 passed: false |
url: https://ib.adnxs.com/px?id=178248&t=1 passed: true |
url: https://ib.adnxs.com/px?id=178248&t=1 passed: true |
url: https://ib.adnxs.com/px?id=178248&t=1 passed: true |
url: https://ib.adnxs.com/px?id=178248&t=1 passed: false, false, false, false, false |
url: https://ib.adnxs.com/px?id=178248&t=1 passed: false |
url: https://ib.adnxs.com/px?id=178248&t=1 passed: false |
url: https://ib.adnxs.com/px?id=178248&t=1 passed: false |
Bing Ads
Tests whether the browser blocks the page from loading the tracker at https://bat.bing.com/bat.js |
url: https://bat.bing.com/bat.js passed: true |
url: https://bat.bing.com/bat.js passed: false |
url: https://bat.bing.com/bat.js passed: true |
url: https://bat.bing.com/bat.js passed: false |
url: https://bat.bing.com/bat.js passed: false |
url: https://bat.bing.com/bat.js passed: true |
url: https://bat.bing.com/bat.js passed: true |
url: https://bat.bing.com/bat.js passed: false |
url: https://bat.bing.com/bat.js passed: false, false, false, false, false |
url: https://bat.bing.com/bat.js passed: false |
url: https://bat.bing.com/bat.js passed: false |
url: https://bat.bing.com/bat.js passed: false |
Chartbeat
Tests whether the browser blocks the page from loading the tracker at https://static.chartbeat.com/js/chartbeat.js |
url: https://static.chartbeat.com/js/chartbeat.js passed: true |
url: https://static.chartbeat.com/js/chartbeat.js passed: false |
url: https://static.chartbeat.com/js/chartbeat.js passed: true |
url: https://static.chartbeat.com/js/chartbeat.js passed: false |
url: https://static.chartbeat.com/js/chartbeat.js passed: false |
url: https://static.chartbeat.com/js/chartbeat.js passed: true |
url: https://static.chartbeat.com/js/chartbeat.js passed: true |
url: https://static.chartbeat.com/js/chartbeat.js passed: false |
url: https://static.chartbeat.com/js/chartbeat.js passed: false, false, false, false, false |
url: https://static.chartbeat.com/js/chartbeat.js passed: false |
url: https://static.chartbeat.com/js/chartbeat.js passed: false |
url: https://static.chartbeat.com/js/chartbeat.js passed: false |
Criteo
Tests whether the browser blocks the page from loading the tracker at https://dis.criteo.com/dis/rtb/appnexus/cookiematch.aspx |
url: https://dis.criteo.com/dis/rtb/appnexus/cookiematch.aspx passed: true |
url: https://dis.criteo.com/dis/rtb/appnexus/cookiematch.aspx passed: false |
url: https://dis.criteo.com/dis/rtb/appnexus/cookiematch.aspx passed: true |
url: https://dis.criteo.com/dis/rtb/appnexus/cookiematch.aspx passed: false |
url: https://dis.criteo.com/dis/rtb/appnexus/cookiematch.aspx passed: false |
url: https://dis.criteo.com/dis/rtb/appnexus/cookiematch.aspx passed: true |
url: https://dis.criteo.com/dis/rtb/appnexus/cookiematch.aspx passed: true |
url: https://dis.criteo.com/dis/rtb/appnexus/cookiematch.aspx passed: false |
url: https://dis.criteo.com/dis/rtb/appnexus/cookiematch.aspx passed: false, false, false, false, false |
url: https://dis.criteo.com/dis/rtb/appnexus/cookiematch.aspx passed: false |
url: https://dis.criteo.com/dis/rtb/appnexus/cookiematch.aspx passed: false |
url: https://dis.criteo.com/dis/rtb/appnexus/cookiematch.aspx passed: false |
DoubleClick (Google)
Tests whether the browser blocks the page from loading the tracker at https://securepubads.g.doubleclick.net/static/glade.js |
url: https://securepubads.g.doubleclick.net/static/glade.js passed: true |
url: https://securepubads.g.doubleclick.net/static/glade.js passed: false |
url: https://securepubads.g.doubleclick.net/static/glade.js passed: true |
url: https://securepubads.g.doubleclick.net/static/glade.js passed: false |
url: https://securepubads.g.doubleclick.net/static/glade.js passed: false |
url: https://securepubads.g.doubleclick.net/static/glade.js passed: true |
url: https://securepubads.g.doubleclick.net/static/glade.js passed: true |
url: https://securepubads.g.doubleclick.net/static/glade.js passed: true |
url: https://securepubads.g.doubleclick.net/static/glade.js passed: false, false, false, false, false |
url: https://securepubads.g.doubleclick.net/static/glade.js passed: false |
url: https://securepubads.g.doubleclick.net/static/glade.js passed: false |
url: https://securepubads.g.doubleclick.net/static/glade.js passed: false |
Facebook tracking
Tests whether the browser blocks the page from loading the tracker at https://connect.facebook.net/en_US/fbevents.js |
url: https://connect.facebook.net/en_US/fbevents.js passed: true |
url: https://connect.facebook.net/en_US/fbevents.js passed: false |
url: https://connect.facebook.net/en_US/fbevents.js passed: true |
url: https://connect.facebook.net/en_US/fbevents.js passed: false |
url: https://connect.facebook.net/en_US/fbevents.js passed: false |
url: https://connect.facebook.net/en_US/fbevents.js passed: true |
url: https://connect.facebook.net/en_US/fbevents.js passed: true |
url: https://connect.facebook.net/en_US/fbevents.js passed: false |
url: https://connect.facebook.net/en_US/fbevents.js passed: false, false, false, false, false |
url: https://connect.facebook.net/en_US/fbevents.js passed: false |
url: https://connect.facebook.net/en_US/fbevents.js passed: false |
url: https://connect.facebook.net/en_US/fbevents.js passed: false |
Google (third-party ad pixel)
Tests whether the browser blocks the page from loading the tracker at https://www.google.com/pagead/1p-user-list/ |
url: https://www.google.com/pagead/1p-user-list/ passed: true |
url: https://www.google.com/pagead/1p-user-list/ passed: false |
url: https://www.google.com/pagead/1p-user-list/ passed: true |
url: https://www.google.com/pagead/1p-user-list/ passed: false |
url: https://www.google.com/pagead/1p-user-list/ passed: false |
url: https://www.google.com/pagead/1p-user-list/ passed: false |
url: https://www.google.com/pagead/1p-user-list/ passed: false |
url: https://www.google.com/pagead/1p-user-list/ passed: false |
url: https://www.google.com/pagead/1p-user-list/ passed: false, false, false, false, false |
url: https://www.google.com/pagead/1p-user-list/ passed: false |
url: https://www.google.com/pagead/1p-user-list/ passed: false |
url: https://www.google.com/pagead/1p-user-list/ passed: false |
Google Analytics
Tests whether the browser blocks the page from loading the tracker at https://google-analytics.com/urchin.js |
url: https://google-analytics.com/urchin.js passed: true |
url: https://google-analytics.com/urchin.js passed: false |
url: https://google-analytics.com/urchin.js passed: true |
url: https://google-analytics.com/urchin.js passed: false |
url: https://google-analytics.com/urchin.js passed: false |
url: https://google-analytics.com/urchin.js passed: true |
url: https://google-analytics.com/urchin.js passed: true |
url: https://google-analytics.com/urchin.js passed: false |
url: https://google-analytics.com/urchin.js passed: false, false, false, false, false |
url: https://google-analytics.com/urchin.js passed: false |
url: https://google-analytics.com/urchin.js passed: false |
url: https://google-analytics.com/urchin.js passed: false |
Google Tag Manager
Tests whether the browser blocks the page from loading the tracker at https://www.googletagmanager.com/gtag.js?id=GTM-NX4SMZL |
url: https://www.googletagmanager.com/gtag.js?id=GTM-NX4SMZL passed: true |
url: https://www.googletagmanager.com/gtag.js?id=GTM-NX4SMZL passed: false |
url: https://www.googletagmanager.com/gtag.js?id=GTM-NX4SMZL passed: true |
url: https://www.googletagmanager.com/gtag.js?id=GTM-NX4SMZL passed: false |
url: https://www.googletagmanager.com/gtag.js?id=GTM-NX4SMZL passed: false |
url: https://www.googletagmanager.com/gtag.js?id=GTM-NX4SMZL passed: false |
url: https://www.googletagmanager.com/gtag.js?id=GTM-NX4SMZL passed: false |
url: https://www.googletagmanager.com/gtag.js?id=GTM-NX4SMZL passed: false |
url: https://www.googletagmanager.com/gtag.js?id=GTM-NX4SMZL passed: false, false, false, false, false |
url: https://www.googletagmanager.com/gtag.js?id=GTM-NX4SMZL passed: false |
url: https://www.googletagmanager.com/gtag.js?id=GTM-NX4SMZL passed: false |
url: https://www.googletagmanager.com/gtag.js?id=GTM-NX4SMZL passed: false |
Index Exchange
Tests whether the browser blocks the page from loading the tracker at https://dsum-sec.casalemedia.com/crum?cm_dsp_id=10&external_user_id=629685505537&C=1 |
url: https://dsum-sec.casalemedia.com/crum?cm_dsp_id=10&external_user_id=629685505537&C=1 passed: true |
url: https://dsum-sec.casalemedia.com/crum?cm_dsp_id=10&external_user_id=629685505537&C=1 passed: false |
url: https://dsum-sec.casalemedia.com/crum?cm_dsp_id=10&external_user_id=629685505537&C=1 passed: true |
url: https://dsum-sec.casalemedia.com/crum?cm_dsp_id=10&external_user_id=629685505537&C=1 passed: false |
url: https://dsum-sec.casalemedia.com/crum?cm_dsp_id=10&external_user_id=629685505537&C=1 passed: false |
url: https://dsum-sec.casalemedia.com/crum?cm_dsp_id=10&external_user_id=629685505537&C=1 passed: true |
url: https://dsum-sec.casalemedia.com/crum?cm_dsp_id=10&external_user_id=629685505537&C=1 passed: true |
url: https://dsum-sec.casalemedia.com/crum?cm_dsp_id=10&external_user_id=629685505537&C=1 passed: true |
url: https://dsum-sec.casalemedia.com/crum?cm_dsp_id=10&external_user_id=629685505537&C=1 passed: false, false, false, false, false |
url: https://dsum-sec.casalemedia.com/crum?cm_dsp_id=10&external_user_id=629685505537&C=1 passed: false |
url: https://dsum-sec.casalemedia.com/crum?cm_dsp_id=10&external_user_id=629685505537&C=1 passed: false |
url: https://dsum-sec.casalemedia.com/crum?cm_dsp_id=10&external_user_id=629685505537&C=1 passed: false |
New Relic
Tests whether the browser blocks the page from loading the tracker at https://js-agent.newrelic.com/nr-1212.min.js |
url: https://js-agent.newrelic.com/nr-1212.min.js passed: true |
url: https://js-agent.newrelic.com/nr-1212.min.js passed: false |
url: https://js-agent.newrelic.com/nr-1212.min.js passed: true |
url: https://js-agent.newrelic.com/nr-1212.min.js passed: false |
url: https://js-agent.newrelic.com/nr-1212.min.js passed: false |
url: https://js-agent.newrelic.com/nr-1212.min.js passed: true |
url: https://js-agent.newrelic.com/nr-1212.min.js passed: true |
url: https://js-agent.newrelic.com/nr-1212.min.js passed: false |
url: https://js-agent.newrelic.com/nr-1212.min.js passed: false, false, false, false, false |
url: https://js-agent.newrelic.com/nr-1212.min.js passed: false |
url: https://js-agent.newrelic.com/nr-1212.min.js passed: false |
url: https://js-agent.newrelic.com/nr-1212.min.js passed: false |
Quantcast
Tests whether the browser blocks the page from loading the tracker at https://pixel.quantserve.com/pixel |
url: https://pixel.quantserve.com/pixel passed: true |
url: https://pixel.quantserve.com/pixel passed: false |
url: https://pixel.quantserve.com/pixel passed: true |
url: https://pixel.quantserve.com/pixel passed: false |
url: https://pixel.quantserve.com/pixel passed: false |
url: https://pixel.quantserve.com/pixel passed: true |
url: https://pixel.quantserve.com/pixel passed: true |
url: https://pixel.quantserve.com/pixel passed: false |
url: https://pixel.quantserve.com/pixel passed: false, false, false, false, false |
url: https://pixel.quantserve.com/pixel passed: false |
url: https://pixel.quantserve.com/pixel passed: false |
url: https://pixel.quantserve.com/pixel passed: false |
Scorecard Research Beacon
Tests whether the browser blocks the page from loading the tracker at https://sb.scorecardresearch.com/internal-c2/default/cs.js |
url: https://sb.scorecardresearch.com/internal-c2/default/cs.js passed: true |
url: https://sb.scorecardresearch.com/internal-c2/default/cs.js passed: false |
url: https://sb.scorecardresearch.com/internal-c2/default/cs.js passed: true |
url: https://sb.scorecardresearch.com/internal-c2/default/cs.js passed: false |
url: https://sb.scorecardresearch.com/internal-c2/default/cs.js passed: false |
url: https://sb.scorecardresearch.com/internal-c2/default/cs.js passed: true |
url: https://sb.scorecardresearch.com/internal-c2/default/cs.js passed: true |
url: https://sb.scorecardresearch.com/internal-c2/default/cs.js passed: false |
url: https://sb.scorecardresearch.com/internal-c2/default/cs.js passed: false, false, false, false, false |
url: https://sb.scorecardresearch.com/internal-c2/default/cs.js passed: false |
url: https://sb.scorecardresearch.com/internal-c2/default/cs.js passed: false |
url: https://sb.scorecardresearch.com/internal-c2/default/cs.js passed: false |
Taboola
Tests whether the browser blocks the page from loading the tracker at https://trc.taboola.com/futureplc-tomsguide/trc/3/json |
url: https://trc.taboola.com/futureplc-tomsguide/trc/3/json passed: true |
url: https://trc.taboola.com/futureplc-tomsguide/trc/3/json passed: false |
url: https://trc.taboola.com/futureplc-tomsguide/trc/3/json passed: true |
url: https://trc.taboola.com/futureplc-tomsguide/trc/3/json passed: false |
url: https://trc.taboola.com/futureplc-tomsguide/trc/3/json passed: false |
url: https://trc.taboola.com/futureplc-tomsguide/trc/3/json passed: true |
url: https://trc.taboola.com/futureplc-tomsguide/trc/3/json passed: true |
url: https://trc.taboola.com/futureplc-tomsguide/trc/3/json passed: false |
url: https://trc.taboola.com/futureplc-tomsguide/trc/3/json passed: false, false, false, false, false |
url: https://trc.taboola.com/futureplc-tomsguide/trc/3/json passed: false |
url: https://trc.taboola.com/futureplc-tomsguide/trc/3/json passed: false |
url: https://trc.taboola.com/futureplc-tomsguide/trc/3/json passed: false |
Twitter pixel
Tests whether the browser blocks the page from loading the tracker at https://t.co/i/adsct |
url: https://t.co/i/adsct passed: true |
url: https://t.co/i/adsct passed: false |
url: https://t.co/i/adsct passed: true |
url: https://t.co/i/adsct passed: false |
url: https://t.co/i/adsct passed: false |
url: https://t.co/i/adsct passed: true |
url: https://t.co/i/adsct passed: true |
url: https://t.co/i/adsct passed: false |
url: https://t.co/i/adsct passed: false, false, false, false, false |
url: https://t.co/i/adsct passed: false |
url: https://t.co/i/adsct passed: false |
url: https://t.co/i/adsct passed: false |
Yandex Ads
Tests whether the browser blocks the page from loading the tracker at https://yandex.ru/ads/system/header-bidding.js |
url: https://yandex.ru/ads/system/header-bidding.js passed: true |
url: https://yandex.ru/ads/system/header-bidding.js passed: false |
url: https://yandex.ru/ads/system/header-bidding.js passed: true |
url: https://yandex.ru/ads/system/header-bidding.js passed: false |
url: https://yandex.ru/ads/system/header-bidding.js passed: false |
url: https://yandex.ru/ads/system/header-bidding.js passed: false |
url: https://yandex.ru/ads/system/header-bidding.js passed: false |
url: https://yandex.ru/ads/system/header-bidding.js passed: true |
url: https://yandex.ru/ads/system/header-bidding.js passed: false, false, false, false, false |
url: https://yandex.ru/ads/system/header-bidding.js passed: false |
url: https://yandex.ru/ads/system/header-bidding.js passed: false |
url: https://yandex.ru/ads/system/header-bidding.js passed: false |
Cross-session first-party tracking testsWhich browsers prevent websites from tracking you across browser sessions?
A common vulnerability of web browsers is that they allow websites ("first parties") to 'tag' your browser with some tracking data. This tag can be used to re-identify you when you return to a website you visited before. This category of leaks can be prevented by browser if they clean or isolate data between browser sessions. (In cases where a user has logged into a website or entered detailed information, it may be justifiable for a browser to retain information across sessions. These tests check when no such justification exists: when you have entered no significant information into a website, will the browser still retain data that allows you to be tracked across sessions?) | ||||||||||||
Alt-Svc
Alt-Svc allows the server to indicate to the web browser that a resource should be loaded on a different server. Because this is a persistent setting, it could be used to track users across websites if it is not correctly partitioned. |
write: async () => { // Clear Alt-Svc caching first. let responseText = ""; for (let i = 0; i < 3; ++i) { await fetch(altSvcOrigin + "/clear"); await sleepMs(100); } responseText = await fetchText(altSvcOrigin + "/protocol"); console.log("after clear:", responseText); // Store "h3" state in Alt-Svc cache for (let i = 0; i < 3; ++i) { await fetch(altSvcOrigin + "/set"); await sleepMs(100); } responseText = await fetchText(altSvcOrigin + "/protocol"); console.log("after set:", responseText); } read: async () => { const protocol = await fetchText(altSvcOrigin + "/protocol"); if ((new URL(location)).searchParams.get("thirdparty") === "same") { if (protocol !== "h3") { throw new Error("Unsupported"); } } return protocol; } result, same session: h3 result, different session: h2 unsupported: false passed: true test failed: false |
write: async () => { // Clear Alt-Svc caching first. let responseText = ""; for (let i = 0; i < 3; ++i) { await fetch(altSvcOrigin + "/clear"); await sleepMs(100); } responseText = await fetchText(altSvcOrigin + "/protocol"); console.log("after clear:", responseText); // Store "h3" state in Alt-Svc cache for (let i = 0; i < 3; ++i) { await fetch(altSvcOrigin + "/set"); await sleepMs(100); } responseText = await fetchText(altSvcOrigin + "/protocol"); console.log("after set:", responseText); } read: async () => { const protocol = await fetchText(altSvcOrigin + "/protocol"); if ((new URL(location)).searchParams.get("thirdparty") === "same") { if (protocol !== "h3") { throw new Error("Unsupported"); } } return protocol; } result, same session: h3 result, different session: h2 unsupported: false passed: true test failed: false |
write: async () => { // Clear Alt-Svc caching first. let responseText = ""; for (let i = 0; i < 3; ++i) { await fetch(altSvcOrigin + "/clear"); await sleepMs(100); } responseText = await fetchText(altSvcOrigin + "/protocol"); console.log("after clear:", responseText); // Store "h3" state in Alt-Svc cache for (let i = 0; i < 3; ++i) { await fetch(altSvcOrigin + "/set"); await sleepMs(100); } responseText = await fetchText(altSvcOrigin + "/protocol"); console.log("after set:", responseText); } read: async () => { const protocol = await fetchText(altSvcOrigin + "/protocol"); if ((new URL(location)).searchParams.get("thirdparty") === "same") { if (protocol !== "h3") { throw new Error("Unsupported"); } } return protocol; } result, same session: h3 result, different session: h2 unsupported: false passed: true test failed: false |
write: async () => { // Clear Alt-Svc caching first. let responseText = ""; for (let i = 0; i < 3; ++i) { await fetch(altSvcOrigin + "/clear"); await sleepMs(100); } responseText = await fetchText(altSvcOrigin + "/protocol"); console.log("after clear:", responseText); // Store "h3" state in Alt-Svc cache for (let i = 0; i < 3; ++i) { await fetch(altSvcOrigin + "/set"); await sleepMs(100); } responseText = await fetchText(altSvcOrigin + "/protocol"); console.log("after set:", responseText); } read: async () => { const protocol = await fetchText(altSvcOrigin + "/protocol"); if ((new URL(location)).searchParams.get("thirdparty") === "same") { if (protocol !== "h3") { throw new Error("Unsupported"); } } return protocol; } result, same session: h3 result, different session: h2 unsupported: false passed: true test failed: false |
write: async () => { // Clear Alt-Svc caching first. let responseText = ""; for (let i = 0; i < 3; ++i) { await fetch(altSvcOrigin + "/clear"); await sleepMs(100); } responseText = await fetchText(altSvcOrigin + "/protocol"); console.log("after clear:", responseText); // Store "h3" state in Alt-Svc cache for (let i = 0; i < 3; ++i) { await fetch(altSvcOrigin + "/set"); await sleepMs(100); } responseText = await fetchText(altSvcOrigin + "/protocol"); console.log("after set:", responseText); } read: async () => { const protocol = await fetchText(altSvcOrigin + "/protocol"); if ((new URL(location)).searchParams.get("thirdparty") === "same") { if (protocol !== "h3") { throw new Error("Unsupported"); } } return protocol; } result, same session: h3 result, different session: h2 unsupported: false passed: true test failed: false |
write: async () => { // Clear Alt-Svc caching first. let responseText = ""; for (let i = 0; i < 3; ++i) { await fetch(altSvcOrigin + "/clear"); await sleepMs(100); } responseText = await fetchText(altSvcOrigin + "/protocol"); console.log("after clear:", responseText); // Store "h3" state in Alt-Svc cache for (let i = 0; i < 3; ++i) { await fetch(altSvcOrigin + "/set"); await sleepMs(100); } responseText = await fetchText(altSvcOrigin + "/protocol"); console.log("after set:", responseText); } read: async () => { const protocol = await fetchText(altSvcOrigin + "/protocol"); if ((new URL(location)).searchParams.get("thirdparty") === "same") { if (protocol !== "h3") { throw new Error("Unsupported"); } } return protocol; } result, same session: h3 result, different session: h2 unsupported: false passed: true test failed: false |
write: async () => { // Clear Alt-Svc caching first. let responseText = ""; for (let i = 0; i < 3; ++i) { await fetch(altSvcOrigin + "/clear"); await sleepMs(100); } responseText = await fetchText(altSvcOrigin + "/protocol"); console.log("after clear:", responseText); // Store "h3" state in Alt-Svc cache for (let i = 0; i < 3; ++i) { await fetch(altSvcOrigin + "/set"); await sleepMs(100); } responseText = await fetchText(altSvcOrigin + "/protocol"); console.log("after set:", responseText); } read: async () => { const protocol = await fetchText(altSvcOrigin + "/protocol"); if ((new URL(location)).searchParams.get("thirdparty") === "same") { if (protocol !== "h3") { throw new Error("Unsupported"); } } return protocol; } result, same session: h3 result, different session: h2 unsupported: false passed: true test failed: false |
write: async () => { // Clear Alt-Svc caching first. let responseText = ""; for (let i = 0; i < 3; ++i) { await fetch(altSvcOrigin + "/clear"); await sleepMs(100); } responseText = await fetchText(altSvcOrigin + "/protocol"); console.log("after clear:", responseText); // Store "h3" state in Alt-Svc cache for (let i = 0; i < 3; ++i) { await fetch(altSvcOrigin + "/set"); await sleepMs(100); } responseText = await fetchText(altSvcOrigin + "/protocol"); console.log("after set:", responseText); } read: async () => { const protocol = await fetchText(altSvcOrigin + "/protocol"); if ((new URL(location)).searchParams.get("thirdparty") === "same") { if (protocol !== "h3") { throw new Error("Unsupported"); } } return protocol; } result, same session: h3 result, different session: h2 unsupported: false passed: true test failed: false |
write: async () => { // Clear Alt-Svc caching first. let responseText = ""; for (let i = 0; i < 3; ++i) { await fetch(altSvcOrigin + "/clear"); await sleepMs(100); } responseText = await fetchText(altSvcOrigin + "/protocol"); console.log("after clear:", responseText); // Store "h3" state in Alt-Svc cache for (let i = 0; i < 3; ++i) { await fetch(altSvcOrigin + "/set"); await sleepMs(100); } responseText = await fetchText(altSvcOrigin + "/protocol"); console.log("after set:", responseText); } read: async () => { const protocol = await fetchText(altSvcOrigin + "/protocol"); if ((new URL(location)).searchParams.get("thirdparty") === "same") { if (protocol !== "h3") { throw new Error("Unsupported"); } } return protocol; } result, same session: h2, h2, h2, h2, h2 result, different session: h2, h2, h2, h2, h2 unsupported: true, true, true, true, true passed: undefined test failed: false, false, false, false, false |
write: async () => { // Clear Alt-Svc caching first. let responseText = ""; for (let i = 0; i < 3; ++i) { await fetch(altSvcOrigin + "/clear"); await sleepMs(100); } responseText = await fetchText(altSvcOrigin + "/protocol"); console.log("after clear:", responseText); // Store "h3" state in Alt-Svc cache for (let i = 0; i < 3; ++i) { await fetch(altSvcOrigin + "/set"); await sleepMs(100); } responseText = await fetchText(altSvcOrigin + "/protocol"); console.log("after set:", responseText); } read: async () => { const protocol = await fetchText(altSvcOrigin + "/protocol"); if ((new URL(location)).searchParams.get("thirdparty") === "same") { if (protocol !== "h3") { throw new Error("Unsupported"); } } return protocol; } result, same session: h2 result, different session: h2 unsupported: true passed: undefined test failed: false |
write: async () => { // Clear Alt-Svc caching first. let responseText = ""; for (let i = 0; i < 3; ++i) { await fetch(altSvcOrigin + "/clear"); await sleepMs(100); } responseText = await fetchText(altSvcOrigin + "/protocol"); console.log("after clear:", responseText); // Store "h3" state in Alt-Svc cache for (let i = 0; i < 3; ++i) { await fetch(altSvcOrigin + "/set"); await sleepMs(100); } responseText = await fetchText(altSvcOrigin + "/protocol"); console.log("after set:", responseText); } read: async () => { const protocol = await fetchText(altSvcOrigin + "/protocol"); if ((new URL(location)).searchParams.get("thirdparty") === "same") { if (protocol !== "h3") { throw new Error("Unsupported"); } } return protocol; } result, same session: h3 result, different session: h2 unsupported: false passed: true test failed: false |
write: async () => { // Clear Alt-Svc caching first. let responseText = ""; for (let i = 0; i < 3; ++i) { await fetch(altSvcOrigin + "/clear"); await sleepMs(100); } responseText = await fetchText(altSvcOrigin + "/protocol"); console.log("after clear:", responseText); // Store "h3" state in Alt-Svc cache for (let i = 0; i < 3; ++i) { await fetch(altSvcOrigin + "/set"); await sleepMs(100); } responseText = await fetchText(altSvcOrigin + "/protocol"); console.log("after set:", responseText); } read: async () => { const protocol = await fetchText(altSvcOrigin + "/protocol"); if ((new URL(location)).searchParams.get("thirdparty") === "same") { if (protocol !== "h3") { throw new Error("Unsupported"); } } return protocol; } result, same session: h3 result, different session: h2 unsupported: false passed: true test failed: false |
CacheStorage
The Cache API is a content storage mechanism originally introduced to support ServiceWorkers. If the same Cache object is accessible to multiple websites, it can be abused to track users. |
write: async (key) => { try { let cache = await caches.open("supercookies"); cache.addAll([`test.css?key=${key}`]); } catch (e) { throw new Error("Unsupported"); } } read: async () => { let cache = await caches.open("supercookies"); let cacheKeys = await cache.keys(); let url = cacheKeys[0].url; return (new URL(url)).searchParams.get("key"); } result, same session: 143d61f8-2894-4529-ad80-0a53e9ebc6cc_1p result, different session: 143d61f8-2894-4529-ad80-0a53e9ebc6cc_1p unsupported: false passed: false test failed: false |
write: async (key) => { try { let cache = await caches.open("supercookies"); cache.addAll([`test.css?key=${key}`]); } catch (e) { throw new Error("Unsupported"); } } read: async () => { let cache = await caches.open("supercookies"); let cacheKeys = await cache.keys(); let url = cacheKeys[0].url; return (new URL(url)).searchParams.get("key"); } result, same session: c745bf91-cf98-4e5f-8375-d1de83cf19d5_1p result, different session: c745bf91-cf98-4e5f-8375-d1de83cf19d5_1p unsupported: false passed: false test failed: false |
write: async (key) => { try { let cache = await caches.open("supercookies"); cache.addAll([`test.css?key=${key}`]); } catch (e) { throw new Error("Unsupported"); } } read: async () => { let cache = await caches.open("supercookies"); let cacheKeys = await cache.keys(); let url = cacheKeys[0].url; return (new URL(url)).searchParams.get("key"); } result, same session: 15571fa3-0642-4589-90a9-ec73a7a073d9_1p result, different session: 15571fa3-0642-4589-90a9-ec73a7a073d9_1p unsupported: false passed: false test failed: false |
write: async (key) => { try { let cache = await caches.open("supercookies"); cache.addAll([`test.css?key=${key}`]); } catch (e) { throw new Error("Unsupported"); } } read: async () => { let cache = await caches.open("supercookies"); let cacheKeys = await cache.keys(); let url = cacheKeys[0].url; return (new URL(url)).searchParams.get("key"); } result, same session: 4aca6bfb-ecb4-47d0-bce6-bb64559cf8a0_1p result, different session: 4aca6bfb-ecb4-47d0-bce6-bb64559cf8a0_1p unsupported: false passed: false test failed: false |
write: async (key) => { try { let cache = await caches.open("supercookies"); cache.addAll([`test.css?key=${key}`]); } catch (e) { throw new Error("Unsupported"); } } read: async () => { let cache = await caches.open("supercookies"); let cacheKeys = await cache.keys(); let url = cacheKeys[0].url; return (new URL(url)).searchParams.get("key"); } result, same session: 6b80d03e-105e-4201-b76d-0596f346aaac_1p result, different session: 6b80d03e-105e-4201-b76d-0596f346aaac_1p unsupported: false passed: false test failed: false |
write: async (key) => { try { let cache = await caches.open("supercookies"); cache.addAll([`test.css?key=${key}`]); } catch (e) { throw new Error("Unsupported"); } } read: async () => { let cache = await caches.open("supercookies"); let cacheKeys = await cache.keys(); let url = cacheKeys[0].url; return (new URL(url)).searchParams.get("key"); } result, same session: 04041701-114e-4ffa-a7c3-a94190db6435_1p result, different session: Error: cacheKeys[0] is undefined unsupported: false passed: true test failed: false |
write: async (key) => { try { let cache = await caches.open("supercookies"); cache.addAll([`test.css?key=${key}`]); } catch (e) { throw new Error("Unsupported"); } } read: async () => { let cache = await caches.open("supercookies"); let cacheKeys = await cache.keys(); let url = cacheKeys[0].url; return (new URL(url)).searchParams.get("key"); } result, same session: ec26e749-9cec-4f7a-98e6-641c090e7817_1p result, different session: ec26e749-9cec-4f7a-98e6-641c090e7817_1p unsupported: false passed: false test failed: false |
write: async (key) => { try { let cache = await caches.open("supercookies"); cache.addAll([`test.css?key=${key}`]); } catch (e) { throw new Error("Unsupported"); } } read: async () => { let cache = await caches.open("supercookies"); let cacheKeys = await cache.keys(); let url = cacheKeys[0].url; return (new URL(url)).searchParams.get("key"); } result, same session: c97b5d06-2396-4bb1-9f7d-6fde65072b04_1p result, different session: c97b5d06-2396-4bb1-9f7d-6fde65072b04_1p unsupported: false passed: false test failed: false |
write: async (key) => { try { let cache = await caches.open("supercookies"); cache.addAll([`test.css?key=${key}`]); } catch (e) { throw new Error("Unsupported"); } } read: async () => { let cache = await caches.open("supercookies"); let cacheKeys = await cache.keys(); let url = cacheKeys[0].url; return (new URL(url)).searchParams.get("key"); } result, same session: a31f089a-366d-46aa-8a3d-39c59eae3ef3_1p, a31f089a-366d-46aa-8a3d-39c59eae3ef3_1p, a31f089a-366d-46aa-8a3d-39c59eae3ef3_1p, a31f089a-366d-46aa-8a3d-39c59eae3ef3_1p, a31f089a-366d-46aa-8a3d-39c59eae3ef3_1p result, different session: a31f089a-366d-46aa-8a3d-39c59eae3ef3_1p, a31f089a-366d-46aa-8a3d-39c59eae3ef3_1p, a31f089a-366d-46aa-8a3d-39c59eae3ef3_1p, a31f089a-366d-46aa-8a3d-39c59eae3ef3_1p, a31f089a-366d-46aa-8a3d-39c59eae3ef3_1p unsupported: false, false, false, false, false passed: false, false, false, false, false test failed: false, false, false, false, false |
write: async (key) => { try { let cache = await caches.open("supercookies"); cache.addAll([`test.css?key=${key}`]); } catch (e) { throw new Error("Unsupported"); } } read: async () => { let cache = await caches.open("supercookies"); let cacheKeys = await cache.keys(); let url = cacheKeys[0].url; return (new URL(url)).searchParams.get("key"); } result, same session: Error: The operation is insecure. result, different session: Error: The operation is insecure. unsupported: true passed: undefined test failed: false |
write: async (key) => { try { let cache = await caches.open("supercookies"); cache.addAll([`test.css?key=${key}`]); } catch (e) { throw new Error("Unsupported"); } } read: async () => { let cache = await caches.open("supercookies"); let cacheKeys = await cache.keys(); let url = cacheKeys[0].url; return (new URL(url)).searchParams.get("key"); } result, same session: 1af58a1e-55c5-4125-ba6b-5729d21fd23c_1p result, different session: 1af58a1e-55c5-4125-ba6b-5729d21fd23c_1p unsupported: false passed: false test failed: false |
write: async (key) => { try { let cache = await caches.open("supercookies"); cache.addAll([`test.css?key=${key}`]); } catch (e) { throw new Error("Unsupported"); } } read: async () => { let cache = await caches.open("supercookies"); let cacheKeys = await cache.keys(); let url = cacheKeys[0].url; return (new URL(url)).searchParams.get("key"); } result, same session: 4f69eb13-b603-4269-81bb-78ce896b6e33_1p result, different session: 4f69eb13-b603-4269-81bb-78ce896b6e33_1p unsupported: false passed: false test failed: false |
cookie (HTTP)
The cookie, first introduced by Netscape in 1994, is a small amount of data stored by your browser on a website's behalf. It has legitimate uses, but it is also the classic cross-site tracking mechanism, and today still the most popular method of tracking users across websites. Browsers can stop cookies from being used for cross-site tracking by either blocking or partitioning them. |
write: async (secret) => { // Request a page that will send an HTTPOnly 'set-cookie' response header with secret value. await fetch(`${baseURI}cookie?secret=${secret}_http`); } read: async () => { // Test if we now send a requests with a 'cookie' header containing the secret. let response = await fetch(`${baseURI}headers`); let cookie = (await response.json())["cookie"]; return cookie ? cookie.match(/secret=([\w-]+)/)[1]: null; } result, same session: 395728fd-45b1-483b-aae3-30840614c71f_1p_http result, different session: null unsupported: false passed: true test failed: false |
write: async (secret) => { // Request a page that will send an HTTPOnly 'set-cookie' response header with secret value. await fetch(`${baseURI}cookie?secret=${secret}_http`); } read: async () => { // Test if we now send a requests with a 'cookie' header containing the secret. let response = await fetch(`${baseURI}headers`); let cookie = (await response.json())["cookie"]; return cookie ? cookie.match(/secret=([\w-]+)/)[1]: null; } result, same session: cfc01c4b-e9b0-4dd0-9e63-71dff9875002_1p_http result, different session: cfc01c4b-e9b0-4dd0-9e63-71dff9875002_1p_http unsupported: false passed: false test failed: false |
write: async (secret) => { // Request a page that will send an HTTPOnly 'set-cookie' response header with secret value. await fetch(`${baseURI}cookie?secret=${secret}_http`); } read: async () => { // Test if we now send a requests with a 'cookie' header containing the secret. let response = await fetch(`${baseURI}headers`); let cookie = (await response.json())["cookie"]; return cookie ? cookie.match(/secret=([\w-]+)/)[1]: null; } result, same session: 4dec08bb-3827-41ae-a277-c2b2a7f3093d_1p_http result, different session: 4dec08bb-3827-41ae-a277-c2b2a7f3093d_1p_http unsupported: false passed: false test failed: false |
write: async (secret) => { // Request a page that will send an HTTPOnly 'set-cookie' response header with secret value. await fetch(`${baseURI}cookie?secret=${secret}_http`); } read: async () => { // Test if we now send a requests with a 'cookie' header containing the secret. let response = await fetch(`${baseURI}headers`); let cookie = (await response.json())["cookie"]; return cookie ? cookie.match(/secret=([\w-]+)/)[1]: null; } result, same session: 4a6a9247-b4e1-4572-8e64-7cb95b774938_1p_http result, different session: 4a6a9247-b4e1-4572-8e64-7cb95b774938_1p_http unsupported: false passed: false test failed: false |
write: async (secret) => { // Request a page that will send an HTTPOnly 'set-cookie' response header with secret value. await fetch(`${baseURI}cookie?secret=${secret}_http`); } read: async () => { // Test if we now send a requests with a 'cookie' header containing the secret. let response = await fetch(`${baseURI}headers`); let cookie = (await response.json())["cookie"]; return cookie ? cookie.match(/secret=([\w-]+)/)[1]: null; } result, same session: de15919a-59b1-4372-8d7e-4fe266a8dd81_1p_http result, different session: de15919a-59b1-4372-8d7e-4fe266a8dd81_1p_http unsupported: false passed: false test failed: false |
write: async (secret) => { // Request a page that will send an HTTPOnly 'set-cookie' response header with secret value. await fetch(`${baseURI}cookie?secret=${secret}_http`); } read: async () => { // Test if we now send a requests with a 'cookie' header containing the secret. let response = await fetch(`${baseURI}headers`); let cookie = (await response.json())["cookie"]; return cookie ? cookie.match(/secret=([\w-]+)/)[1]: null; } result, same session: 04041701-114e-4ffa-a7c3-a94190db6435_1p_http result, different session: null unsupported: false passed: true test failed: false |
write: async (secret) => { // Request a page that will send an HTTPOnly 'set-cookie' response header with secret value. await fetch(`${baseURI}cookie?secret=${secret}_http`); } read: async () => { // Test if we now send a requests with a 'cookie' header containing the secret. let response = await fetch(`${baseURI}headers`); let cookie = (await response.json())["cookie"]; return cookie ? cookie.match(/secret=([\w-]+)/)[1]: null; } result, same session: 2c30e905-89f9-43e0-8121-691bfd8d8d4b_1p_http result, different session: 2c30e905-89f9-43e0-8121-691bfd8d8d4b_1p_http unsupported: false passed: false test failed: false |
write: async (secret) => { // Request a page that will send an HTTPOnly 'set-cookie' response header with secret value. await fetch(`${baseURI}cookie?secret=${secret}_http`); } read: async () => { // Test if we now send a requests with a 'cookie' header containing the secret. let response = await fetch(`${baseURI}headers`); let cookie = (await response.json())["cookie"]; return cookie ? cookie.match(/secret=([\w-]+)/)[1]: null; } result, same session: 4de5d046-d641-4de4-853d-2deaee2f77a8_1p_http result, different session: 4de5d046-d641-4de4-853d-2deaee2f77a8_1p_http unsupported: false passed: false test failed: false |
write: async (secret) => { // Request a page that will send an HTTPOnly 'set-cookie' response header with secret value. await fetch(`${baseURI}cookie?secret=${secret}_http`); } read: async () => { // Test if we now send a requests with a 'cookie' header containing the secret. let response = await fetch(`${baseURI}headers`); let cookie = (await response.json())["cookie"]; return cookie ? cookie.match(/secret=([\w-]+)/)[1]: null; } result, same session: 5a50b218-e9bb-4d6c-ab8e-cdb6777c4ca6_1p_http, 52109630-975b-4a25-b271-1b40345014b9_1p_http, 09b12ba4-febb-406c-ae01-a3222c01e9d0_1p_http, e31a8827-fbbc-4f17-8ff4-0dd018412883_1p_http, 2e3465ba-9d71-4a78-956f-a7436760f50e_1p_http result, different session: 5a50b218-e9bb-4d6c-ab8e-cdb6777c4ca6_1p_http, 52109630-975b-4a25-b271-1b40345014b9_1p_http, 09b12ba4-febb-406c-ae01-a3222c01e9d0_1p_http, e31a8827-fbbc-4f17-8ff4-0dd018412883_1p_http, 2e3465ba-9d71-4a78-956f-a7436760f50e_1p_http unsupported: false, false, false, false, false passed: false, false, false, false, false test failed: false, false, false, false, false |
write: async (secret) => { // Request a page that will send an HTTPOnly 'set-cookie' response header with secret value. await fetch(`${baseURI}cookie?secret=${secret}_http`); } read: async () => { // Test if we now send a requests with a 'cookie' header containing the secret. let response = await fetch(`${baseURI}headers`); let cookie = (await response.json())["cookie"]; return cookie ? cookie.match(/secret=([\w-]+)/)[1]: null; } result, same session: a492ddfc-e63e-4699-9a36-ea3956f606c8_1p_http result, different session: null unsupported: false passed: true test failed: false |
write: async (secret) => { // Request a page that will send an HTTPOnly 'set-cookie' response header with secret value. await fetch(`${baseURI}cookie?secret=${secret}_http`); } read: async () => { // Test if we now send a requests with a 'cookie' header containing the secret. let response = await fetch(`${baseURI}headers`); let cookie = (await response.json())["cookie"]; return cookie ? cookie.match(/secret=([\w-]+)/)[1]: null; } result, same session: 6b2aeaa1-68b1-4cfa-8eb0-358668aeaf73_1p_http result, different session: null unsupported: false passed: true test failed: false |
write: async (secret) => { // Request a page that will send an HTTPOnly 'set-cookie' response header with secret value. await fetch(`${baseURI}cookie?secret=${secret}_http`); } read: async () => { // Test if we now send a requests with a 'cookie' header containing the secret. let response = await fetch(`${baseURI}headers`); let cookie = (await response.json())["cookie"]; return cookie ? cookie.match(/secret=([\w-]+)/)[1]: null; } result, same session: 83d2a636-d42f-4755-afec-86f894c67881_1p_http result, different session: 83d2a636-d42f-4755-afec-86f894c67881_1p_http unsupported: false passed: false test failed: false |
cookie (JS)
The cookie, first introduced by Netscape in 1994, is a small amount of data stored by your browser on a website's behalf. It has legitimate uses, but it is also the classic cross-site tracking mechanism, and today still the most popular method of tracking users across websites. Browsers can stop cookies from being used for cross-site tracking by either blocking or partitioning them. |
write: (secret) => { document.cookie = `secret=${secret}_js; max-age=3600; SameSite=None; Secure`; } read: () => document.cookie ? document.cookie.match(/secret=([\w-]+)/)[1] : null result, same session: 395728fd-45b1-483b-aae3-30840614c71f_1p_js result, different session: null unsupported: false passed: true test failed: false |
write: (secret) => { document.cookie = `secret=${secret}_js; max-age=3600; SameSite=None; Secure`; } read: () => document.cookie ? document.cookie.match(/secret=([\w-]+)/)[1] : null result, same session: cfc01c4b-e9b0-4dd0-9e63-71dff9875002_1p_js result, different session: cfc01c4b-e9b0-4dd0-9e63-71dff9875002_1p_js unsupported: false passed: false test failed: false |
write: (secret) => { document.cookie = `secret=${secret}_js; max-age=3600; SameSite=None; Secure`; } read: () => document.cookie ? document.cookie.match(/secret=([\w-]+)/)[1] : null result, same session: 4dec08bb-3827-41ae-a277-c2b2a7f3093d_1p_js result, different session: 4dec08bb-3827-41ae-a277-c2b2a7f3093d_1p_js unsupported: false passed: false test failed: false |
write: (secret) => { document.cookie = `secret=${secret}_js; max-age=3600; SameSite=None; Secure`; } read: () => document.cookie ? document.cookie.match(/secret=([\w-]+)/)[1] : null result, same session: 4a6a9247-b4e1-4572-8e64-7cb95b774938_1p_js result, different session: 4a6a9247-b4e1-4572-8e64-7cb95b774938_1p_js unsupported: false passed: false test failed: false |
write: (secret) => { document.cookie = `secret=${secret}_js; max-age=3600; SameSite=None; Secure`; } read: () => document.cookie ? document.cookie.match(/secret=([\w-]+)/)[1] : null result, same session: de15919a-59b1-4372-8d7e-4fe266a8dd81_1p_js result, different session: de15919a-59b1-4372-8d7e-4fe266a8dd81_1p_js unsupported: false passed: false test failed: false |
write: (secret) => { document.cookie = `secret=${secret}_js; max-age=3600; SameSite=None; Secure`; } read: () => document.cookie ? document.cookie.match(/secret=([\w-]+)/)[1] : null result, same session: 04041701-114e-4ffa-a7c3-a94190db6435_1p_js result, different session: null unsupported: false passed: true test failed: false |
write: (secret) => { document.cookie = `secret=${secret}_js; max-age=3600; SameSite=None; Secure`; } read: () => document.cookie ? document.cookie.match(/secret=([\w-]+)/)[1] : null result, same session: 2c30e905-89f9-43e0-8121-691bfd8d8d4b_1p_js result, different session: 2c30e905-89f9-43e0-8121-691bfd8d8d4b_1p_js unsupported: false passed: false test failed: false |
write: (secret) => { document.cookie = `secret=${secret}_js; max-age=3600; SameSite=None; Secure`; } read: () => document.cookie ? document.cookie.match(/secret=([\w-]+)/)[1] : null result, same session: 4de5d046-d641-4de4-853d-2deaee2f77a8_1p_js result, different session: 4de5d046-d641-4de4-853d-2deaee2f77a8_1p_js unsupported: false passed: false test failed: false |
write: (secret) => { document.cookie = `secret=${secret}_js; max-age=3600; SameSite=None; Secure`; } read: () => document.cookie ? document.cookie.match(/secret=([\w-]+)/)[1] : null result, same session: 5a50b218-e9bb-4d6c-ab8e-cdb6777c4ca6_1p_js, 52109630-975b-4a25-b271-1b40345014b9_1p_js, 09b12ba4-febb-406c-ae01-a3222c01e9d0_1p_js, e31a8827-fbbc-4f17-8ff4-0dd018412883_1p_js, 2e3465ba-9d71-4a78-956f-a7436760f50e_1p_js result, different session: 5a50b218-e9bb-4d6c-ab8e-cdb6777c4ca6_1p_js, 52109630-975b-4a25-b271-1b40345014b9_1p_js, 09b12ba4-febb-406c-ae01-a3222c01e9d0_1p_js, e31a8827-fbbc-4f17-8ff4-0dd018412883_1p_js, 2e3465ba-9d71-4a78-956f-a7436760f50e_1p_js unsupported: false, false, false, false, false passed: false, false, false, false, false test failed: false, false, false, false, false |
write: (secret) => { document.cookie = `secret=${secret}_js; max-age=3600; SameSite=None; Secure`; } read: () => document.cookie ? document.cookie.match(/secret=([\w-]+)/)[1] : null result, same session: a492ddfc-e63e-4699-9a36-ea3956f606c8_1p_js result, different session: null unsupported: false passed: true test failed: false |
write: (secret) => { document.cookie = `secret=${secret}_js; max-age=3600; SameSite=None; Secure`; } read: () => document.cookie ? document.cookie.match(/secret=([\w-]+)/)[1] : null result, same session: 6b2aeaa1-68b1-4cfa-8eb0-358668aeaf73_1p_js result, different session: null unsupported: false passed: true test failed: false |
write: (secret) => { document.cookie = `secret=${secret}_js; max-age=3600; SameSite=None; Secure`; } read: () => document.cookie ? document.cookie.match(/secret=([\w-]+)/)[1] : null result, same session: 83d2a636-d42f-4755-afec-86f894c67881_1p_js result, different session: 83d2a636-d42f-4755-afec-86f894c67881_1p_js unsupported: false passed: false test failed: false |
CookieStore
The Cookie Store API is an alternative asynchronous API for managing cookies, supported by some browsers. |
write: (data) => { const msPerHour = 60 * 60 * 1000; if (!window.cookieStore) { throw new Error("Unsupported"); } window.cookieStore.set({ name: "partition_test", value: data, expires: Date.now() + msPerHour, sameSite: "none" }); } read: async () => { if (!window.cookieStore) { throw new Error("Unsupported"); } const cookie = await window.cookieStore.get("partition_test"); if (!cookie) { return null; } return cookie.value; } result, same session: 395728fd-45b1-483b-aae3-30840614c71f_1p result, different session: null unsupported: false passed: true test failed: false |
write: (data) => { const msPerHour = 60 * 60 * 1000; if (!window.cookieStore) { throw new Error("Unsupported"); } window.cookieStore.set({ name: "partition_test", value: data, expires: Date.now() + msPerHour, sameSite: "none" }); } read: async () => { if (!window.cookieStore) { throw new Error("Unsupported"); } const cookie = await window.cookieStore.get("partition_test"); if (!cookie) { return null; } return cookie.value; } result, same session: cfc01c4b-e9b0-4dd0-9e63-71dff9875002_1p result, different session: cfc01c4b-e9b0-4dd0-9e63-71dff9875002_1p unsupported: false passed: false test failed: false |
write: (data) => { const msPerHour = 60 * 60 * 1000; if (!window.cookieStore) { throw new Error("Unsupported"); } window.cookieStore.set({ name: "partition_test", value: data, expires: Date.now() + msPerHour, sameSite: "none" }); } read: async () => { if (!window.cookieStore) { throw new Error("Unsupported"); } const cookie = await window.cookieStore.get("partition_test"); if (!cookie) { return null; } return cookie.value; } result, same session: 4dec08bb-3827-41ae-a277-c2b2a7f3093d_1p result, different session: 4dec08bb-3827-41ae-a277-c2b2a7f3093d_1p unsupported: false passed: false test failed: false |
write: (data) => { const msPerHour = 60 * 60 * 1000; if (!window.cookieStore) { throw new Error("Unsupported"); } window.cookieStore.set({ name: "partition_test", value: data, expires: Date.now() + msPerHour, sameSite: "none" }); } read: async () => { if (!window.cookieStore) { throw new Error("Unsupported"); } const cookie = await window.cookieStore.get("partition_test"); if (!cookie) { return null; } return cookie.value; } result, same session: 4a6a9247-b4e1-4572-8e64-7cb95b774938_1p result, different session: 4a6a9247-b4e1-4572-8e64-7cb95b774938_1p unsupported: false passed: false test failed: false |
write: (data) => { const msPerHour = 60 * 60 * 1000; if (!window.cookieStore) { throw new Error("Unsupported"); } window.cookieStore.set({ name: "partition_test", value: data, expires: Date.now() + msPerHour, sameSite: "none" }); } read: async () => { if (!window.cookieStore) { throw new Error("Unsupported"); } const cookie = await window.cookieStore.get("partition_test"); if (!cookie) { return null; } return cookie.value; } result, same session: Error: Unsupported result, different session: Error: Unsupported unsupported: true passed: undefined test failed: false |
write: (data) => { const msPerHour = 60 * 60 * 1000; if (!window.cookieStore) { throw new Error("Unsupported"); } window.cookieStore.set({ name: "partition_test", value: data, expires: Date.now() + msPerHour, sameSite: "none" }); } read: async () => { if (!window.cookieStore) { throw new Error("Unsupported"); } const cookie = await window.cookieStore.get("partition_test"); if (!cookie) { return null; } return cookie.value; } result, same session: Error: Unsupported result, different session: Error: Unsupported unsupported: true passed: undefined test failed: false |
write: (data) => { const msPerHour = 60 * 60 * 1000; if (!window.cookieStore) { throw new Error("Unsupported"); } window.cookieStore.set({ name: "partition_test", value: data, expires: Date.now() + msPerHour, sameSite: "none" }); } read: async () => { if (!window.cookieStore) { throw new Error("Unsupported"); } const cookie = await window.cookieStore.get("partition_test"); if (!cookie) { return null; } return cookie.value; } result, same session: Error: Unsupported result, different session: Error: Unsupported unsupported: true passed: undefined test failed: false |
write: (data) => { const msPerHour = 60 * 60 * 1000; if (!window.cookieStore) { throw new Error("Unsupported"); } window.cookieStore.set({ name: "partition_test", value: data, expires: Date.now() + msPerHour, sameSite: "none" }); } read: async () => { if (!window.cookieStore) { throw new Error("Unsupported"); } const cookie = await window.cookieStore.get("partition_test"); if (!cookie) { return null; } return cookie.value; } result, same session: 4de5d046-d641-4de4-853d-2deaee2f77a8_1p result, different session: 4de5d046-d641-4de4-853d-2deaee2f77a8_1p unsupported: false passed: false test failed: false |
write: (data) => { const msPerHour = 60 * 60 * 1000; if (!window.cookieStore) { throw new Error("Unsupported"); } window.cookieStore.set({ name: "partition_test", value: data, expires: Date.now() + msPerHour, sameSite: "none" }); } read: async () => { if (!window.cookieStore) { throw new Error("Unsupported"); } const cookie = await window.cookieStore.get("partition_test"); if (!cookie) { return null; } return cookie.value; } result, same session: 5a50b218-e9bb-4d6c-ab8e-cdb6777c4ca6_1p, 52109630-975b-4a25-b271-1b40345014b9_1p, 09b12ba4-febb-406c-ae01-a3222c01e9d0_1p, e31a8827-fbbc-4f17-8ff4-0dd018412883_1p, 2e3465ba-9d71-4a78-956f-a7436760f50e_1p result, different session: 5a50b218-e9bb-4d6c-ab8e-cdb6777c4ca6_1p, 52109630-975b-4a25-b271-1b40345014b9_1p, 09b12ba4-febb-406c-ae01-a3222c01e9d0_1p, e31a8827-fbbc-4f17-8ff4-0dd018412883_1p, 2e3465ba-9d71-4a78-956f-a7436760f50e_1p unsupported: false, false, false, false, false passed: false, false, false, false, false test failed: false, false, false, false, false |
write: (data) => { const msPerHour = 60 * 60 * 1000; if (!window.cookieStore) { throw new Error("Unsupported"); } window.cookieStore.set({ name: "partition_test", value: data, expires: Date.now() + msPerHour, sameSite: "none" }); } read: async () => { if (!window.cookieStore) { throw new Error("Unsupported"); } const cookie = await window.cookieStore.get("partition_test"); if (!cookie) { return null; } return cookie.value; } result, same session: Error: Unsupported result, different session: Error: Unsupported unsupported: true passed: undefined test failed: false |
write: (data) => { const msPerHour = 60 * 60 * 1000; if (!window.cookieStore) { throw new Error("Unsupported"); } window.cookieStore.set({ name: "partition_test", value: data, expires: Date.now() + msPerHour, sameSite: "none" }); } read: async () => { if (!window.cookieStore) { throw new Error("Unsupported"); } const cookie = await window.cookieStore.get("partition_test"); if (!cookie) { return null; } return cookie.value; } result, same session: 6b2aeaa1-68b1-4cfa-8eb0-358668aeaf73_1p result, different session: null unsupported: false passed: true test failed: false |
write: (data) => { const msPerHour = 60 * 60 * 1000; if (!window.cookieStore) { throw new Error("Unsupported"); } window.cookieStore.set({ name: "partition_test", value: data, expires: Date.now() + msPerHour, sameSite: "none" }); } read: async () => { if (!window.cookieStore) { throw new Error("Unsupported"); } const cookie = await window.cookieStore.get("partition_test"); if (!cookie) { return null; } return cookie.value; } result, same session: 83d2a636-d42f-4755-afec-86f894c67881_1p result, different session: 83d2a636-d42f-4755-afec-86f894c67881_1p unsupported: false passed: false test failed: false |
CSS cache
CSS stylesheets are cached, and if that cache is shared between websites, it can be used to track users across sites. |
write: async (key) => { const href = testURI("resource", "css", key); const head = document.getElementsByTagName("head")[0]; head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`; const testElement = document.querySelector("#css"); let fontFamily; while (true) { await sleepMs(100); fontFamily = getComputedStyle(testElement).fontFamily; if (fontFamily.startsWith("fake")) { break; } } console.log(fontFamily); return key; } read: async (key) => { const href = testURI("resource", "css", key); const head = document.getElementsByTagName("head")[0]; head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`; const testElement = document.querySelector("#css"); let fontFamily; while (true) { await sleepMs(100); fontFamily = getComputedStyle(testElement).fontFamily; if (fontFamily.startsWith("fake")) { break; } } console.log(fontFamily); return fontFamily; } result, same session: fake_19965654523531295 result, different session: fake_19965654523531295 unsupported: false passed: false test failed: false |
write: async (key) => { const href = testURI("resource", "css", key); const head = document.getElementsByTagName("head")[0]; head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`; const testElement = document.querySelector("#css"); let fontFamily; while (true) { await sleepMs(100); fontFamily = getComputedStyle(testElement).fontFamily; if (fontFamily.startsWith("fake")) { break; } } console.log(fontFamily); return key; } read: async (key) => { const href = testURI("resource", "css", key); const head = document.getElementsByTagName("head")[0]; head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`; const testElement = document.querySelector("#css"); let fontFamily; while (true) { await sleepMs(100); fontFamily = getComputedStyle(testElement).fontFamily; if (fontFamily.startsWith("fake")) { break; } } console.log(fontFamily); return fontFamily; } result, same session: fake_9840437356353915 result, different session: fake_9840437356353915 unsupported: false passed: false test failed: false |
write: async (key) => { const href = testURI("resource", "css", key); const head = document.getElementsByTagName("head")[0]; head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`; const testElement = document.querySelector("#css"); let fontFamily; while (true) { await sleepMs(100); fontFamily = getComputedStyle(testElement).fontFamily; if (fontFamily.startsWith("fake")) { break; } } console.log(fontFamily); return key; } read: async (key) => { const href = testURI("resource", "css", key); const head = document.getElementsByTagName("head")[0]; head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`; const testElement = document.querySelector("#css"); let fontFamily; while (true) { await sleepMs(100); fontFamily = getComputedStyle(testElement).fontFamily; if (fontFamily.startsWith("fake")) { break; } } console.log(fontFamily); return fontFamily; } result, same session: fake_35128155816073514 result, different session: fake_35128155816073514 unsupported: false passed: false test failed: false |
write: async (key) => { const href = testURI("resource", "css", key); const head = document.getElementsByTagName("head")[0]; head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`; const testElement = document.querySelector("#css"); let fontFamily; while (true) { await sleepMs(100); fontFamily = getComputedStyle(testElement).fontFamily; if (fontFamily.startsWith("fake")) { break; } } console.log(fontFamily); return key; } read: async (key) => { const href = testURI("resource", "css", key); const head = document.getElementsByTagName("head")[0]; head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`; const testElement = document.querySelector("#css"); let fontFamily; while (true) { await sleepMs(100); fontFamily = getComputedStyle(testElement).fontFamily; if (fontFamily.startsWith("fake")) { break; } } console.log(fontFamily); return fontFamily; } result, same session: fake_6334240651037206 result, different session: fake_6334240651037206 unsupported: false passed: false test failed: false |
write: async (key) => { const href = testURI("resource", "css", key); const head = document.getElementsByTagName("head")[0]; head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`; const testElement = document.querySelector("#css"); let fontFamily; while (true) { await sleepMs(100); fontFamily = getComputedStyle(testElement).fontFamily; if (fontFamily.startsWith("fake")) { break; } } console.log(fontFamily); return key; } read: async (key) => { const href = testURI("resource", "css", key); const head = document.getElementsByTagName("head")[0]; head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`; const testElement = document.querySelector("#css"); let fontFamily; while (true) { await sleepMs(100); fontFamily = getComputedStyle(testElement).fontFamily; if (fontFamily.startsWith("fake")) { break; } } console.log(fontFamily); return fontFamily; } result, same session: fake_03196346228129476 result, different session: fake_03196346228129476 unsupported: false passed: false test failed: false |
write: async (key) => { const href = testURI("resource", "css", key); const head = document.getElementsByTagName("head")[0]; head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`; const testElement = document.querySelector("#css"); let fontFamily; while (true) { await sleepMs(100); fontFamily = getComputedStyle(testElement).fontFamily; if (fontFamily.startsWith("fake")) { break; } } console.log(fontFamily); return key; } read: async (key) => { const href = testURI("resource", "css", key); const head = document.getElementsByTagName("head")[0]; head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`; const testElement = document.querySelector("#css"); let fontFamily; while (true) { await sleepMs(100); fontFamily = getComputedStyle(testElement).fontFamily; if (fontFamily.startsWith("fake")) { break; } } console.log(fontFamily); return fontFamily; } result, same session: fake_4243228945455726 result, different session: fake_37320794038951854 unsupported: false passed: true test failed: false |
write: async (key) => { const href = testURI("resource", "css", key); const head = document.getElementsByTagName("head")[0]; head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`; const testElement = document.querySelector("#css"); let fontFamily; while (true) { await sleepMs(100); fontFamily = getComputedStyle(testElement).fontFamily; if (fontFamily.startsWith("fake")) { break; } } console.log(fontFamily); return key; } read: async (key) => { const href = testURI("resource", "css", key); const head = document.getElementsByTagName("head")[0]; head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`; const testElement = document.querySelector("#css"); let fontFamily; while (true) { await sleepMs(100); fontFamily = getComputedStyle(testElement).fontFamily; if (fontFamily.startsWith("fake")) { break; } } console.log(fontFamily); return fontFamily; } result, same session: fake_35923521330886654 result, different session: fake_35923521330886654 unsupported: false passed: false test failed: false |
write: async (key) => { const href = testURI("resource", "css", key); const head = document.getElementsByTagName("head")[0]; head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`; const testElement = document.querySelector("#css"); let fontFamily; while (true) { await sleepMs(100); fontFamily = getComputedStyle(testElement).fontFamily; if (fontFamily.startsWith("fake")) { break; } } console.log(fontFamily); return key; } read: async (key) => { const href = testURI("resource", "css", key); const head = document.getElementsByTagName("head")[0]; head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`; const testElement = document.querySelector("#css"); let fontFamily; while (true) { await sleepMs(100); fontFamily = getComputedStyle(testElement).fontFamily; if (fontFamily.startsWith("fake")) { break; } } console.log(fontFamily); return fontFamily; } result, same session: fake_6562838941552027 result, different session: fake_6562838941552027 unsupported: false passed: false test failed: false |
write: async (key) => { const href = testURI("resource", "css", key); const head = document.getElementsByTagName("head")[0]; head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`; const testElement = document.querySelector("#css"); let fontFamily; while (true) { await sleepMs(100); fontFamily = getComputedStyle(testElement).fontFamily; if (fontFamily.startsWith("fake")) { break; } } console.log(fontFamily); return key; } read: async (key) => { const href = testURI("resource", "css", key); const head = document.getElementsByTagName("head")[0]; head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`; const testElement = document.querySelector("#css"); let fontFamily; while (true) { await sleepMs(100); fontFamily = getComputedStyle(testElement).fontFamily; if (fontFamily.startsWith("fake")) { break; } } console.log(fontFamily); return fontFamily; } result, same session: fake_04942054233238902, fake_1877720549345807, fake_061149120459345285, fake_29261481124263566, fake_20871135808692176 result, different session: fake_04942054233238902, fake_1877720549345807, fake_061149120459345285, fake_29261481124263566, fake_20871135808692176 unsupported: false, false, false, false, false passed: false, false, false, false, false test failed: false, false, false, false, false |
write: async (key) => { const href = testURI("resource", "css", key); const head = document.getElementsByTagName("head")[0]; head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`; const testElement = document.querySelector("#css"); let fontFamily; while (true) { await sleepMs(100); fontFamily = getComputedStyle(testElement).fontFamily; if (fontFamily.startsWith("fake")) { break; } } console.log(fontFamily); return key; } read: async (key) => { const href = testURI("resource", "css", key); const head = document.getElementsByTagName("head")[0]; head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`; const testElement = document.querySelector("#css"); let fontFamily; while (true) { await sleepMs(100); fontFamily = getComputedStyle(testElement).fontFamily; if (fontFamily.startsWith("fake")) { break; } } console.log(fontFamily); return fontFamily; } result, same session: fake_45671442522742156 result, different session: fake_8797248573189913 unsupported: false passed: true test failed: false |
write: async (key) => { const href = testURI("resource", "css", key); const head = document.getElementsByTagName("head")[0]; head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`; const testElement = document.querySelector("#css"); let fontFamily; while (true) { await sleepMs(100); fontFamily = getComputedStyle(testElement).fontFamily; if (fontFamily.startsWith("fake")) { break; } } console.log(fontFamily); return key; } read: async (key) => { const href = testURI("resource", "css", key); const head = document.getElementsByTagName("head")[0]; head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`; const testElement = document.querySelector("#css"); let fontFamily; while (true) { await sleepMs(100); fontFamily = getComputedStyle(testElement).fontFamily; if (fontFamily.startsWith("fake")) { break; } } console.log(fontFamily); return fontFamily; } result, same session: fake_3450933757192056 result, different session: fake_3450933757192056 unsupported: false passed: false test failed: false |
write: async (key) => { const href = testURI("resource", "css", key); const head = document.getElementsByTagName("head")[0]; head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`; const testElement = document.querySelector("#css"); let fontFamily; while (true) { await sleepMs(100); fontFamily = getComputedStyle(testElement).fontFamily; if (fontFamily.startsWith("fake")) { break; } } console.log(fontFamily); return key; } read: async (key) => { const href = testURI("resource", "css", key); const head = document.getElementsByTagName("head")[0]; head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`; const testElement = document.querySelector("#css"); let fontFamily; while (true) { await sleepMs(100); fontFamily = getComputedStyle(testElement).fontFamily; if (fontFamily.startsWith("fake")) { break; } } console.log(fontFamily); return fontFamily; } result, same session: fake_7510284483938403 result, different session: fake_7510284483938403 unsupported: false passed: false test failed: false |
favicon cache
A favicon is an icon that represents a website, typically shown in browser tab and bookmarks menu. If the favicon cache is not partitioned, it can be used to track users across websites. |
write: (key) => key read: async (key) => { // Wait for the favicon to load (defined in supercookies.html) await sleepMs(2000); let response = await fetch( testURI("ctr", "favicon", key), {"cache": "reload"}); let count = (await response.text()).trim(); if (count === "0") { throw new Error("No requests received"); } return count; } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: (key) => key read: async (key) => { // Wait for the favicon to load (defined in supercookies.html) await sleepMs(2000); let response = await fetch( testURI("ctr", "favicon", key), {"cache": "reload"}); let count = (await response.text()).trim(); if (count === "0") { throw new Error("No requests received"); } return count; } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: (key) => key read: async (key) => { // Wait for the favicon to load (defined in supercookies.html) await sleepMs(2000); let response = await fetch( testURI("ctr", "favicon", key), {"cache": "reload"}); let count = (await response.text()).trim(); if (count === "0") { throw new Error("No requests received"); } return count; } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: (key) => key read: async (key) => { // Wait for the favicon to load (defined in supercookies.html) await sleepMs(2000); let response = await fetch( testURI("ctr", "favicon", key), {"cache": "reload"}); let count = (await response.text()).trim(); if (count === "0") { throw new Error("No requests received"); } return count; } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: (key) => key read: async (key) => { // Wait for the favicon to load (defined in supercookies.html) await sleepMs(2000); let response = await fetch( testURI("ctr", "favicon", key), {"cache": "reload"}); let count = (await response.text()).trim(); if (count === "0") { throw new Error("No requests received"); } return count; } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: (key) => key read: async (key) => { // Wait for the favicon to load (defined in supercookies.html) await sleepMs(2000); let response = await fetch( testURI("ctr", "favicon", key), {"cache": "reload"}); let count = (await response.text()).trim(); if (count === "0") { throw new Error("No requests received"); } return count; } result, same session: Error: No requests received result, different session: Error: No requests received unsupported: true passed: undefined test failed: false |
write: (key) => key read: async (key) => { // Wait for the favicon to load (defined in supercookies.html) await sleepMs(2000); let response = await fetch( testURI("ctr", "favicon", key), {"cache": "reload"}); let count = (await response.text()).trim(); if (count === "0") { throw new Error("No requests received"); } return count; } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: (key) => key read: async (key) => { // Wait for the favicon to load (defined in supercookies.html) await sleepMs(2000); let response = await fetch( testURI("ctr", "favicon", key), {"cache": "reload"}); let count = (await response.text()).trim(); if (count === "0") { throw new Error("No requests received"); } return count; } result, same session: Error: No requests received result, different session: Error: No requests received unsupported: true passed: undefined test failed: false |
write: (key) => key read: async (key) => { // Wait for the favicon to load (defined in supercookies.html) await sleepMs(2000); let response = await fetch( testURI("ctr", "favicon", key), {"cache": "reload"}); let count = (await response.text()).trim(); if (count === "0") { throw new Error("No requests received"); } return count; } result, same session: 1, 1, 1, 1, 1 result, different session: 1, 1, 1, 1, 1 unsupported: false, false, false, false, false passed: false, false, false, false, false test failed: false, false, false, false, false |
write: (key) => key read: async (key) => { // Wait for the favicon to load (defined in supercookies.html) await sleepMs(2000); let response = await fetch( testURI("ctr", "favicon", key), {"cache": "reload"}); let count = (await response.text()).trim(); if (count === "0") { throw new Error("No requests received"); } return count; } result, same session: 1 result, different session: 2 unsupported: false passed: true test failed: false |
write: (key) => key read: async (key) => { // Wait for the favicon to load (defined in supercookies.html) await sleepMs(2000); let response = await fetch( testURI("ctr", "favicon", key), {"cache": "reload"}); let count = (await response.text()).trim(); if (count === "0") { throw new Error("No requests received"); } return count; } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: (key) => key read: async (key) => { // Wait for the favicon to load (defined in supercookies.html) await sleepMs(2000); let response = await fetch( testURI("ctr", "favicon", key), {"cache": "reload"}); let count = (await response.text()).trim(); if (count === "0") { throw new Error("No requests received"); } return count; } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
fetch cache
When a resource is received via the Fetch API, it is frequently cached. That cache can potentially be abused for cross-site tracking. |
write: async (key) => { let response = await fetch(testURI("resource", "fetch", key), {cache: "force-cache"}); return key; } read: async (key) => { let response = await fetch(testURI("resource", "fetch", key), {cache: "force-cache"}); let countResponse = await fetch(testURI("ctr", "fetch", key), {cache: "reload"}); return (await countResponse.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: async (key) => { let response = await fetch(testURI("resource", "fetch", key), {cache: "force-cache"}); return key; } read: async (key) => { let response = await fetch(testURI("resource", "fetch", key), {cache: "force-cache"}); let countResponse = await fetch(testURI("ctr", "fetch", key), {cache: "reload"}); return (await countResponse.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: async (key) => { let response = await fetch(testURI("resource", "fetch", key), {cache: "force-cache"}); return key; } read: async (key) => { let response = await fetch(testURI("resource", "fetch", key), {cache: "force-cache"}); let countResponse = await fetch(testURI("ctr", "fetch", key), {cache: "reload"}); return (await countResponse.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: async (key) => { let response = await fetch(testURI("resource", "fetch", key), {cache: "force-cache"}); return key; } read: async (key) => { let response = await fetch(testURI("resource", "fetch", key), {cache: "force-cache"}); let countResponse = await fetch(testURI("ctr", "fetch", key), {cache: "reload"}); return (await countResponse.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: async (key) => { let response = await fetch(testURI("resource", "fetch", key), {cache: "force-cache"}); return key; } read: async (key) => { let response = await fetch(testURI("resource", "fetch", key), {cache: "force-cache"}); let countResponse = await fetch(testURI("ctr", "fetch", key), {cache: "reload"}); return (await countResponse.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: async (key) => { let response = await fetch(testURI("resource", "fetch", key), {cache: "force-cache"}); return key; } read: async (key) => { let response = await fetch(testURI("resource", "fetch", key), {cache: "force-cache"}); let countResponse = await fetch(testURI("ctr", "fetch", key), {cache: "reload"}); return (await countResponse.text()).trim(); } result, same session: 1 result, different session: 2 unsupported: false passed: true test failed: false |
write: async (key) => { let response = await fetch(testURI("resource", "fetch", key), {cache: "force-cache"}); return key; } read: async (key) => { let response = await fetch(testURI("resource", "fetch", key), {cache: "force-cache"}); let countResponse = await fetch(testURI("ctr", "fetch", key), {cache: "reload"}); return (await countResponse.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: async (key) => { let response = await fetch(testURI("resource", "fetch", key), {cache: "force-cache"}); return key; } read: async (key) => { let response = await fetch(testURI("resource", "fetch", key), {cache: "force-cache"}); let countResponse = await fetch(testURI("ctr", "fetch", key), {cache: "reload"}); return (await countResponse.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: async (key) => { let response = await fetch(testURI("resource", "fetch", key), {cache: "force-cache"}); return key; } read: async (key) => { let response = await fetch(testURI("resource", "fetch", key), {cache: "force-cache"}); let countResponse = await fetch(testURI("ctr", "fetch", key), {cache: "reload"}); return (await countResponse.text()).trim(); } result, same session: 1, 1, 1, 1, 1 result, different session: 1, 1, 1, 1, 1 unsupported: false, false, false, false, false passed: false, false, false, false, false test failed: false, false, false, false, false |
write: async (key) => { let response = await fetch(testURI("resource", "fetch", key), {cache: "force-cache"}); return key; } read: async (key) => { let response = await fetch(testURI("resource", "fetch", key), {cache: "force-cache"}); let countResponse = await fetch(testURI("ctr", "fetch", key), {cache: "reload"}); return (await countResponse.text()).trim(); } result, same session: 1 result, different session: 2 unsupported: false passed: true test failed: false |
write: async (key) => { let response = await fetch(testURI("resource", "fetch", key), {cache: "force-cache"}); return key; } read: async (key) => { let response = await fetch(testURI("resource", "fetch", key), {cache: "force-cache"}); let countResponse = await fetch(testURI("ctr", "fetch", key), {cache: "reload"}); return (await countResponse.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: async (key) => { let response = await fetch(testURI("resource", "fetch", key), {cache: "force-cache"}); return key; } read: async (key) => { let response = await fetch(testURI("resource", "fetch", key), {cache: "force-cache"}); let countResponse = await fetch(testURI("ctr", "fetch", key), {cache: "reload"}); return (await countResponse.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
font cache
Web fonts are sometimes stored in their own cache, which is vulnerable to being abused for cross-site tracking. |
write: async (key) => { let style = document.createElement("style"); style.type='text/css'; let fontURI = testURI("resource", "font", key); style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } body { font-family: "myFont" }`; document.getElementsByTagName("head")[0].appendChild(style); return key; } read: async (key) => { const text = document.createElement("span"); text.id = "text"; text.innerText = "test"; document.body.appendChild(text); const originalWidth = text.getBoundingClientRect().width; let style = document.createElement("style"); style.type='text/css'; let fontURI = testURI("resource", "font", key); style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } #text { font-family: "myFont" }`; document.getElementsByTagName("head")[0].appendChild(style); let newWidth; do { await sleepMs(100); newWidth = text.getBoundingClientRect().width; } while (newWidth < 0 || newWidth === originalWidth) let response = await fetch( testURI("ctr", "font", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: async (key) => { let style = document.createElement("style"); style.type='text/css'; let fontURI = testURI("resource", "font", key); style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } body { font-family: "myFont" }`; document.getElementsByTagName("head")[0].appendChild(style); return key; } read: async (key) => { const text = document.createElement("span"); text.id = "text"; text.innerText = "test"; document.body.appendChild(text); const originalWidth = text.getBoundingClientRect().width; let style = document.createElement("style"); style.type='text/css'; let fontURI = testURI("resource", "font", key); style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } #text { font-family: "myFont" }`; document.getElementsByTagName("head")[0].appendChild(style); let newWidth; do { await sleepMs(100); newWidth = text.getBoundingClientRect().width; } while (newWidth < 0 || newWidth === originalWidth) let response = await fetch( testURI("ctr", "font", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: async (key) => { let style = document.createElement("style"); style.type='text/css'; let fontURI = testURI("resource", "font", key); style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } body { font-family: "myFont" }`; document.getElementsByTagName("head")[0].appendChild(style); return key; } read: async (key) => { const text = document.createElement("span"); text.id = "text"; text.innerText = "test"; document.body.appendChild(text); const originalWidth = text.getBoundingClientRect().width; let style = document.createElement("style"); style.type='text/css'; let fontURI = testURI("resource", "font", key); style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } #text { font-family: "myFont" }`; document.getElementsByTagName("head")[0].appendChild(style); let newWidth; do { await sleepMs(100); newWidth = text.getBoundingClientRect().width; } while (newWidth < 0 || newWidth === originalWidth) let response = await fetch( testURI("ctr", "font", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: async (key) => { let style = document.createElement("style"); style.type='text/css'; let fontURI = testURI("resource", "font", key); style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } body { font-family: "myFont" }`; document.getElementsByTagName("head")[0].appendChild(style); return key; } read: async (key) => { const text = document.createElement("span"); text.id = "text"; text.innerText = "test"; document.body.appendChild(text); const originalWidth = text.getBoundingClientRect().width; let style = document.createElement("style"); style.type='text/css'; let fontURI = testURI("resource", "font", key); style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } #text { font-family: "myFont" }`; document.getElementsByTagName("head")[0].appendChild(style); let newWidth; do { await sleepMs(100); newWidth = text.getBoundingClientRect().width; } while (newWidth < 0 || newWidth === originalWidth) let response = await fetch( testURI("ctr", "font", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: async (key) => { let style = document.createElement("style"); style.type='text/css'; let fontURI = testURI("resource", "font", key); style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } body { font-family: "myFont" }`; document.getElementsByTagName("head")[0].appendChild(style); return key; } read: async (key) => { const text = document.createElement("span"); text.id = "text"; text.innerText = "test"; document.body.appendChild(text); const originalWidth = text.getBoundingClientRect().width; let style = document.createElement("style"); style.type='text/css'; let fontURI = testURI("resource", "font", key); style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } #text { font-family: "myFont" }`; document.getElementsByTagName("head")[0].appendChild(style); let newWidth; do { await sleepMs(100); newWidth = text.getBoundingClientRect().width; } while (newWidth < 0 || newWidth === originalWidth) let response = await fetch( testURI("ctr", "font", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: async (key) => { let style = document.createElement("style"); style.type='text/css'; let fontURI = testURI("resource", "font", key); style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } body { font-family: "myFont" }`; document.getElementsByTagName("head")[0].appendChild(style); return key; } read: async (key) => { const text = document.createElement("span"); text.id = "text"; text.innerText = "test"; document.body.appendChild(text); const originalWidth = text.getBoundingClientRect().width; let style = document.createElement("style"); style.type='text/css'; let fontURI = testURI("resource", "font", key); style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } #text { font-family: "myFont" }`; document.getElementsByTagName("head")[0].appendChild(style); let newWidth; do { await sleepMs(100); newWidth = text.getBoundingClientRect().width; } while (newWidth < 0 || newWidth === originalWidth) let response = await fetch( testURI("ctr", "font", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same session: 1 result, different session: 2 unsupported: false passed: true test failed: false |
write: async (key) => { let style = document.createElement("style"); style.type='text/css'; let fontURI = testURI("resource", "font", key); style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } body { font-family: "myFont" }`; document.getElementsByTagName("head")[0].appendChild(style); return key; } read: async (key) => { const text = document.createElement("span"); text.id = "text"; text.innerText = "test"; document.body.appendChild(text); const originalWidth = text.getBoundingClientRect().width; let style = document.createElement("style"); style.type='text/css'; let fontURI = testURI("resource", "font", key); style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } #text { font-family: "myFont" }`; document.getElementsByTagName("head")[0].appendChild(style); let newWidth; do { await sleepMs(100); newWidth = text.getBoundingClientRect().width; } while (newWidth < 0 || newWidth === originalWidth) let response = await fetch( testURI("ctr", "font", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: async (key) => { let style = document.createElement("style"); style.type='text/css'; let fontURI = testURI("resource", "font", key); style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } body { font-family: "myFont" }`; document.getElementsByTagName("head")[0].appendChild(style); return key; } read: async (key) => { const text = document.createElement("span"); text.id = "text"; text.innerText = "test"; document.body.appendChild(text); const originalWidth = text.getBoundingClientRect().width; let style = document.createElement("style"); style.type='text/css'; let fontURI = testURI("resource", "font", key); style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } #text { font-family: "myFont" }`; document.getElementsByTagName("head")[0].appendChild(style); let newWidth; do { await sleepMs(100); newWidth = text.getBoundingClientRect().width; } while (newWidth < 0 || newWidth === originalWidth) let response = await fetch( testURI("ctr", "font", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: async (key) => { let style = document.createElement("style"); style.type='text/css'; let fontURI = testURI("resource", "font", key); style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } body { font-family: "myFont" }`; document.getElementsByTagName("head")[0].appendChild(style); return key; } read: async (key) => { const text = document.createElement("span"); text.id = "text"; text.innerText = "test"; document.body.appendChild(text); const originalWidth = text.getBoundingClientRect().width; let style = document.createElement("style"); style.type='text/css'; let fontURI = testURI("resource", "font", key); style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } #text { font-family: "myFont" }`; document.getElementsByTagName("head")[0].appendChild(style); let newWidth; do { await sleepMs(100); newWidth = text.getBoundingClientRect().width; } while (newWidth < 0 || newWidth === originalWidth) let response = await fetch( testURI("ctr", "font", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same session: 1, 1, 1, 1, 1 result, different session: 1, 1, 1, 1, 1 unsupported: false, false, false, false, false passed: false, false, false, false, false test failed: false, false, false, false, false |
write: async (key) => { let style = document.createElement("style"); style.type='text/css'; let fontURI = testURI("resource", "font", key); style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } body { font-family: "myFont" }`; document.getElementsByTagName("head")[0].appendChild(style); return key; } read: async (key) => { const text = document.createElement("span"); text.id = "text"; text.innerText = "test"; document.body.appendChild(text); const originalWidth = text.getBoundingClientRect().width; let style = document.createElement("style"); style.type='text/css'; let fontURI = testURI("resource", "font", key); style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } #text { font-family: "myFont" }`; document.getElementsByTagName("head")[0].appendChild(style); let newWidth; do { await sleepMs(100); newWidth = text.getBoundingClientRect().width; } while (newWidth < 0 || newWidth === originalWidth) let response = await fetch( testURI("ctr", "font", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same session: 1 result, different session: 2 unsupported: false passed: true test failed: false |
write: async (key) => { let style = document.createElement("style"); style.type='text/css'; let fontURI = testURI("resource", "font", key); style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } body { font-family: "myFont" }`; document.getElementsByTagName("head")[0].appendChild(style); return key; } read: async (key) => { const text = document.createElement("span"); text.id = "text"; text.innerText = "test"; document.body.appendChild(text); const originalWidth = text.getBoundingClientRect().width; let style = document.createElement("style"); style.type='text/css'; let fontURI = testURI("resource", "font", key); style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } #text { font-family: "myFont" }`; document.getElementsByTagName("head")[0].appendChild(style); let newWidth; do { await sleepMs(100); newWidth = text.getBoundingClientRect().width; } while (newWidth < 0 || newWidth === originalWidth) let response = await fetch( testURI("ctr", "font", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: async (key) => { let style = document.createElement("style"); style.type='text/css'; let fontURI = testURI("resource", "font", key); style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } body { font-family: "myFont" }`; document.getElementsByTagName("head")[0].appendChild(style); return key; } read: async (key) => { const text = document.createElement("span"); text.id = "text"; text.innerText = "test"; document.body.appendChild(text); const originalWidth = text.getBoundingClientRect().width; let style = document.createElement("style"); style.type='text/css'; let fontURI = testURI("resource", "font", key); style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } #text { font-family: "myFont" }`; document.getElementsByTagName("head")[0].appendChild(style); let newWidth; do { await sleepMs(100); newWidth = text.getBoundingClientRect().width; } while (newWidth < 0 || newWidth === originalWidth) let response = await fetch( testURI("ctr", "font", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
iframe cache
An iframe is an element in a web page than allows websites to embed a second web page. Caching of this web page could be abused for cross-site tracking. |
write: (key) => new Promise((resolve, reject) => { let iframe = document.createElement("iframe"); document.body.appendChild(iframe); iframe.addEventListener("load", () => resolve(key), {once: true}); iframe.src = testURI("resource", "page", key); }) read: async (key) => { let iframe = document.createElement("iframe"); document.body.appendChild(iframe); let iframeLoadPromise = new Promise((resolve, reject) => { iframe.addEventListener("load", resolve, {once: true}); }); let address = testURI("resource", "page", key); iframe.src = address; await iframeLoadPromise; let response = await fetch( testURI("ctr", "page", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: (key) => new Promise((resolve, reject) => { let iframe = document.createElement("iframe"); document.body.appendChild(iframe); iframe.addEventListener("load", () => resolve(key), {once: true}); iframe.src = testURI("resource", "page", key); }) read: async (key) => { let iframe = document.createElement("iframe"); document.body.appendChild(iframe); let iframeLoadPromise = new Promise((resolve, reject) => { iframe.addEventListener("load", resolve, {once: true}); }); let address = testURI("resource", "page", key); iframe.src = address; await iframeLoadPromise; let response = await fetch( testURI("ctr", "page", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: (key) => new Promise((resolve, reject) => { let iframe = document.createElement("iframe"); document.body.appendChild(iframe); iframe.addEventListener("load", () => resolve(key), {once: true}); iframe.src = testURI("resource", "page", key); }) read: async (key) => { let iframe = document.createElement("iframe"); document.body.appendChild(iframe); let iframeLoadPromise = new Promise((resolve, reject) => { iframe.addEventListener("load", resolve, {once: true}); }); let address = testURI("resource", "page", key); iframe.src = address; await iframeLoadPromise; let response = await fetch( testURI("ctr", "page", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: (key) => new Promise((resolve, reject) => { let iframe = document.createElement("iframe"); document.body.appendChild(iframe); iframe.addEventListener("load", () => resolve(key), {once: true}); iframe.src = testURI("resource", "page", key); }) read: async (key) => { let iframe = document.createElement("iframe"); document.body.appendChild(iframe); let iframeLoadPromise = new Promise((resolve, reject) => { iframe.addEventListener("load", resolve, {once: true}); }); let address = testURI("resource", "page", key); iframe.src = address; await iframeLoadPromise; let response = await fetch( testURI("ctr", "page", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: (key) => new Promise((resolve, reject) => { let iframe = document.createElement("iframe"); document.body.appendChild(iframe); iframe.addEventListener("load", () => resolve(key), {once: true}); iframe.src = testURI("resource", "page", key); }) read: async (key) => { let iframe = document.createElement("iframe"); document.body.appendChild(iframe); let iframeLoadPromise = new Promise((resolve, reject) => { iframe.addEventListener("load", resolve, {once: true}); }); let address = testURI("resource", "page", key); iframe.src = address; await iframeLoadPromise; let response = await fetch( testURI("ctr", "page", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: (key) => new Promise((resolve, reject) => { let iframe = document.createElement("iframe"); document.body.appendChild(iframe); iframe.addEventListener("load", () => resolve(key), {once: true}); iframe.src = testURI("resource", "page", key); }) read: async (key) => { let iframe = document.createElement("iframe"); document.body.appendChild(iframe); let iframeLoadPromise = new Promise((resolve, reject) => { iframe.addEventListener("load", resolve, {once: true}); }); let address = testURI("resource", "page", key); iframe.src = address; await iframeLoadPromise; let response = await fetch( testURI("ctr", "page", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same session: 1 result, different session: 2 unsupported: false passed: true test failed: false |
write: (key) => new Promise((resolve, reject) => { let iframe = document.createElement("iframe"); document.body.appendChild(iframe); iframe.addEventListener("load", () => resolve(key), {once: true}); iframe.src = testURI("resource", "page", key); }) read: async (key) => { let iframe = document.createElement("iframe"); document.body.appendChild(iframe); let iframeLoadPromise = new Promise((resolve, reject) => { iframe.addEventListener("load", resolve, {once: true}); }); let address = testURI("resource", "page", key); iframe.src = address; await iframeLoadPromise; let response = await fetch( testURI("ctr", "page", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: (key) => new Promise((resolve, reject) => { let iframe = document.createElement("iframe"); document.body.appendChild(iframe); iframe.addEventListener("load", () => resolve(key), {once: true}); iframe.src = testURI("resource", "page", key); }) read: async (key) => { let iframe = document.createElement("iframe"); document.body.appendChild(iframe); let iframeLoadPromise = new Promise((resolve, reject) => { iframe.addEventListener("load", resolve, {once: true}); }); let address = testURI("resource", "page", key); iframe.src = address; await iframeLoadPromise; let response = await fetch( testURI("ctr", "page", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: (key) => new Promise((resolve, reject) => { let iframe = document.createElement("iframe"); document.body.appendChild(iframe); iframe.addEventListener("load", () => resolve(key), {once: true}); iframe.src = testURI("resource", "page", key); }) read: async (key) => { let iframe = document.createElement("iframe"); document.body.appendChild(iframe); let iframeLoadPromise = new Promise((resolve, reject) => { iframe.addEventListener("load", resolve, {once: true}); }); let address = testURI("resource", "page", key); iframe.src = address; await iframeLoadPromise; let response = await fetch( testURI("ctr", "page", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same session: 1, 1, 1, 1, 1 result, different session: 1, 1, 1, 1, 1 unsupported: false, false, false, false, false passed: false, false, false, false, false test failed: false, false, false, false, false |
write: (key) => new Promise((resolve, reject) => { let iframe = document.createElement("iframe"); document.body.appendChild(iframe); iframe.addEventListener("load", () => resolve(key), {once: true}); iframe.src = testURI("resource", "page", key); }) read: async (key) => { let iframe = document.createElement("iframe"); document.body.appendChild(iframe); let iframeLoadPromise = new Promise((resolve, reject) => { iframe.addEventListener("load", resolve, {once: true}); }); let address = testURI("resource", "page", key); iframe.src = address; await iframeLoadPromise; let response = await fetch( testURI("ctr", "page", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same session: 1 result, different session: 2 unsupported: false passed: true test failed: false |
write: (key) => new Promise((resolve, reject) => { let iframe = document.createElement("iframe"); document.body.appendChild(iframe); iframe.addEventListener("load", () => resolve(key), {once: true}); iframe.src = testURI("resource", "page", key); }) read: async (key) => { let iframe = document.createElement("iframe"); document.body.appendChild(iframe); let iframeLoadPromise = new Promise((resolve, reject) => { iframe.addEventListener("load", resolve, {once: true}); }); let address = testURI("resource", "page", key); iframe.src = address; await iframeLoadPromise; let response = await fetch( testURI("ctr", "page", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: (key) => new Promise((resolve, reject) => { let iframe = document.createElement("iframe"); document.body.appendChild(iframe); iframe.addEventListener("load", () => resolve(key), {once: true}); iframe.src = testURI("resource", "page", key); }) read: async (key) => { let iframe = document.createElement("iframe"); document.body.appendChild(iframe); let iframeLoadPromise = new Promise((resolve, reject) => { iframe.addEventListener("load", resolve, {once: true}); }); let address = testURI("resource", "page", key); iframe.src = address; await iframeLoadPromise; let response = await fetch( testURI("ctr", "page", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
image cache
Caching of images in web browsers is a standard behavior. But if that cache leaks between websites, it can be abused for cross-site tracking. |
write: (key) => new Promise((resolve, reject) => { let img = document.createElement("img"); document.body.appendChild(img); img.addEventListener("load", () => resolve(key), {once: true}); img.src = testURI("resource", "image", key); }) read: async (key) => { let img = document.createElement("img"); document.body.appendChild(img); let imgLoadPromise = new Promise((resolve, reject) => { img.addEventListener("load", resolve, {once: true}); }); img.src = testURI("resource", "image", key); await imgLoadPromise; let response = await fetch( testURI("ctr", "image", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: (key) => new Promise((resolve, reject) => { let img = document.createElement("img"); document.body.appendChild(img); img.addEventListener("load", () => resolve(key), {once: true}); img.src = testURI("resource", "image", key); }) read: async (key) => { let img = document.createElement("img"); document.body.appendChild(img); let imgLoadPromise = new Promise((resolve, reject) => { img.addEventListener("load", resolve, {once: true}); }); img.src = testURI("resource", "image", key); await imgLoadPromise; let response = await fetch( testURI("ctr", "image", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: (key) => new Promise((resolve, reject) => { let img = document.createElement("img"); document.body.appendChild(img); img.addEventListener("load", () => resolve(key), {once: true}); img.src = testURI("resource", "image", key); }) read: async (key) => { let img = document.createElement("img"); document.body.appendChild(img); let imgLoadPromise = new Promise((resolve, reject) => { img.addEventListener("load", resolve, {once: true}); }); img.src = testURI("resource", "image", key); await imgLoadPromise; let response = await fetch( testURI("ctr", "image", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: (key) => new Promise((resolve, reject) => { let img = document.createElement("img"); document.body.appendChild(img); img.addEventListener("load", () => resolve(key), {once: true}); img.src = testURI("resource", "image", key); }) read: async (key) => { let img = document.createElement("img"); document.body.appendChild(img); let imgLoadPromise = new Promise((resolve, reject) => { img.addEventListener("load", resolve, {once: true}); }); img.src = testURI("resource", "image", key); await imgLoadPromise; let response = await fetch( testURI("ctr", "image", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: (key) => new Promise((resolve, reject) => { let img = document.createElement("img"); document.body.appendChild(img); img.addEventListener("load", () => resolve(key), {once: true}); img.src = testURI("resource", "image", key); }) read: async (key) => { let img = document.createElement("img"); document.body.appendChild(img); let imgLoadPromise = new Promise((resolve, reject) => { img.addEventListener("load", resolve, {once: true}); }); img.src = testURI("resource", "image", key); await imgLoadPromise; let response = await fetch( testURI("ctr", "image", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: (key) => new Promise((resolve, reject) => { let img = document.createElement("img"); document.body.appendChild(img); img.addEventListener("load", () => resolve(key), {once: true}); img.src = testURI("resource", "image", key); }) read: async (key) => { let img = document.createElement("img"); document.body.appendChild(img); let imgLoadPromise = new Promise((resolve, reject) => { img.addEventListener("load", resolve, {once: true}); }); img.src = testURI("resource", "image", key); await imgLoadPromise; let response = await fetch( testURI("ctr", "image", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same session: 1 result, different session: 2 unsupported: false passed: true test failed: false |
write: (key) => new Promise((resolve, reject) => { let img = document.createElement("img"); document.body.appendChild(img); img.addEventListener("load", () => resolve(key), {once: true}); img.src = testURI("resource", "image", key); }) read: async (key) => { let img = document.createElement("img"); document.body.appendChild(img); let imgLoadPromise = new Promise((resolve, reject) => { img.addEventListener("load", resolve, {once: true}); }); img.src = testURI("resource", "image", key); await imgLoadPromise; let response = await fetch( testURI("ctr", "image", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: (key) => new Promise((resolve, reject) => { let img = document.createElement("img"); document.body.appendChild(img); img.addEventListener("load", () => resolve(key), {once: true}); img.src = testURI("resource", "image", key); }) read: async (key) => { let img = document.createElement("img"); document.body.appendChild(img); let imgLoadPromise = new Promise((resolve, reject) => { img.addEventListener("load", resolve, {once: true}); }); img.src = testURI("resource", "image", key); await imgLoadPromise; let response = await fetch( testURI("ctr", "image", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: (key) => new Promise((resolve, reject) => { let img = document.createElement("img"); document.body.appendChild(img); img.addEventListener("load", () => resolve(key), {once: true}); img.src = testURI("resource", "image", key); }) read: async (key) => { let img = document.createElement("img"); document.body.appendChild(img); let imgLoadPromise = new Promise((resolve, reject) => { img.addEventListener("load", resolve, {once: true}); }); img.src = testURI("resource", "image", key); await imgLoadPromise; let response = await fetch( testURI("ctr", "image", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same session: 1, 1, 1, 1, 1 result, different session: 1, 1, 1, 1, 1 unsupported: false, false, false, false, false passed: false, false, false, false, false test failed: false, false, false, false, false |
write: (key) => new Promise((resolve, reject) => { let img = document.createElement("img"); document.body.appendChild(img); img.addEventListener("load", () => resolve(key), {once: true}); img.src = testURI("resource", "image", key); }) read: async (key) => { let img = document.createElement("img"); document.body.appendChild(img); let imgLoadPromise = new Promise((resolve, reject) => { img.addEventListener("load", resolve, {once: true}); }); img.src = testURI("resource", "image", key); await imgLoadPromise; let response = await fetch( testURI("ctr", "image", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same session: 1 result, different session: 2 unsupported: false passed: true test failed: false |
write: (key) => new Promise((resolve, reject) => { let img = document.createElement("img"); document.body.appendChild(img); img.addEventListener("load", () => resolve(key), {once: true}); img.src = testURI("resource", "image", key); }) read: async (key) => { let img = document.createElement("img"); document.body.appendChild(img); let imgLoadPromise = new Promise((resolve, reject) => { img.addEventListener("load", resolve, {once: true}); }); img.src = testURI("resource", "image", key); await imgLoadPromise; let response = await fetch( testURI("ctr", "image", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: (key) => new Promise((resolve, reject) => { let img = document.createElement("img"); document.body.appendChild(img); img.addEventListener("load", () => resolve(key), {once: true}); img.src = testURI("resource", "image", key); }) read: async (key) => { let img = document.createElement("img"); document.body.appendChild(img); let imgLoadPromise = new Promise((resolve, reject) => { img.addEventListener("load", resolve, {once: true}); }); img.src = testURI("resource", "image", key); await imgLoadPromise; let response = await fetch( testURI("ctr", "image", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
indexedDB
The IndexedDB API exposes a transactional database to web pages. That database can be used to track users across websites, unless it is partitioned. |
write: async (secret) => { try { return await IdbKeyVal.set("secret", secret); } catch (e) { throw new Error("Unsupported"); } } read: () => IdbKeyVal.get("secret") result, same session: 395728fd-45b1-483b-aae3-30840614c71f_1p result, different session: 395728fd-45b1-483b-aae3-30840614c71f_1p unsupported: false passed: false test failed: false |
write: async (secret) => { try { return await IdbKeyVal.set("secret", secret); } catch (e) { throw new Error("Unsupported"); } } read: () => IdbKeyVal.get("secret") result, same session: cfc01c4b-e9b0-4dd0-9e63-71dff9875002_1p result, different session: cfc01c4b-e9b0-4dd0-9e63-71dff9875002_1p unsupported: false passed: false test failed: false |
write: async (secret) => { try { return await IdbKeyVal.set("secret", secret); } catch (e) { throw new Error("Unsupported"); } } read: () => IdbKeyVal.get("secret") result, same session: 4dec08bb-3827-41ae-a277-c2b2a7f3093d_1p result, different session: 4dec08bb-3827-41ae-a277-c2b2a7f3093d_1p unsupported: false passed: false test failed: false |
write: async (secret) => { try { return await IdbKeyVal.set("secret", secret); } catch (e) { throw new Error("Unsupported"); } } read: () => IdbKeyVal.get("secret") result, same session: 4a6a9247-b4e1-4572-8e64-7cb95b774938_1p result, different session: 4a6a9247-b4e1-4572-8e64-7cb95b774938_1p unsupported: false passed: false test failed: false |
write: async (secret) => { try { return await IdbKeyVal.set("secret", secret); } catch (e) { throw new Error("Unsupported"); } } read: () => IdbKeyVal.get("secret") result, same session: de15919a-59b1-4372-8d7e-4fe266a8dd81_1p result, different session: de15919a-59b1-4372-8d7e-4fe266a8dd81_1p unsupported: false passed: false test failed: false |
write: async (secret) => { try { return await IdbKeyVal.set("secret", secret); } catch (e) { throw new Error("Unsupported"); } } read: () => IdbKeyVal.get("secret") result, same session: 04041701-114e-4ffa-a7c3-a94190db6435_1p result, different session: undefined unsupported: false passed: true test failed: false |
write: async (secret) => { try { return await IdbKeyVal.set("secret", secret); } catch (e) { throw new Error("Unsupported"); } } read: () => IdbKeyVal.get("secret") result, same session: 2c30e905-89f9-43e0-8121-691bfd8d8d4b_1p result, different session: 2c30e905-89f9-43e0-8121-691bfd8d8d4b_1p unsupported: false passed: false test failed: false |
write: async (secret) => { try { return await IdbKeyVal.set("secret", secret); } catch (e) { throw new Error("Unsupported"); } } read: () => IdbKeyVal.get("secret") result, same session: 4de5d046-d641-4de4-853d-2deaee2f77a8_1p result, different session: 4de5d046-d641-4de4-853d-2deaee2f77a8_1p unsupported: false passed: false test failed: false |
write: async (secret) => { try { return await IdbKeyVal.set("secret", secret); } catch (e) { throw new Error("Unsupported"); } } read: () => IdbKeyVal.get("secret") result, same session: 5a50b218-e9bb-4d6c-ab8e-cdb6777c4ca6_1p, 52109630-975b-4a25-b271-1b40345014b9_1p, 09b12ba4-febb-406c-ae01-a3222c01e9d0_1p, e31a8827-fbbc-4f17-8ff4-0dd018412883_1p, 2e3465ba-9d71-4a78-956f-a7436760f50e_1p result, different session: 5a50b218-e9bb-4d6c-ab8e-cdb6777c4ca6_1p, 52109630-975b-4a25-b271-1b40345014b9_1p, 09b12ba4-febb-406c-ae01-a3222c01e9d0_1p, e31a8827-fbbc-4f17-8ff4-0dd018412883_1p, 2e3465ba-9d71-4a78-956f-a7436760f50e_1p unsupported: false, false, false, false, false passed: false, false, false, false, false test failed: false, false, false, false, false |
write: async (secret) => { try { return await IdbKeyVal.set("secret", secret); } catch (e) { throw new Error("Unsupported"); } } read: () => IdbKeyVal.get("secret") result, same session: a492ddfc-e63e-4699-9a36-ea3956f606c8_1p result, different session: undefined unsupported: false passed: true test failed: false |
write: async (secret) => { try { return await IdbKeyVal.set("secret", secret); } catch (e) { throw new Error("Unsupported"); } } read: () => IdbKeyVal.get("secret") result, same session: 6b2aeaa1-68b1-4cfa-8eb0-358668aeaf73_1p result, different session: 6b2aeaa1-68b1-4cfa-8eb0-358668aeaf73_1p unsupported: false passed: false test failed: false |
write: async (secret) => { try { return await IdbKeyVal.set("secret", secret); } catch (e) { throw new Error("Unsupported"); } } read: () => IdbKeyVal.get("secret") result, same session: 83d2a636-d42f-4755-afec-86f894c67881_1p result, different session: 83d2a636-d42f-4755-afec-86f894c67881_1p unsupported: false passed: false test failed: false |
localStorage
The localStorage API gives websites access to a key-value database that will remain available across visits. If the localStorage API is not partitioned or blocked, it can also be used to track users across websites. |
write: (secret) => localStorage.setItem("secret", secret) read: () => localStorage.getItem("secret") result, same session: 395728fd-45b1-483b-aae3-30840614c71f_1p result, different session: 395728fd-45b1-483b-aae3-30840614c71f_1p unsupported: false passed: false test failed: false |
write: (secret) => localStorage.setItem("secret", secret) read: () => localStorage.getItem("secret") result, same session: cfc01c4b-e9b0-4dd0-9e63-71dff9875002_1p result, different session: cfc01c4b-e9b0-4dd0-9e63-71dff9875002_1p unsupported: false passed: false test failed: false |
write: (secret) => localStorage.setItem("secret", secret) read: () => localStorage.getItem("secret") result, same session: 4dec08bb-3827-41ae-a277-c2b2a7f3093d_1p result, different session: 4dec08bb-3827-41ae-a277-c2b2a7f3093d_1p unsupported: false passed: false test failed: false |
write: (secret) => localStorage.setItem("secret", secret) read: () => localStorage.getItem("secret") result, same session: 4a6a9247-b4e1-4572-8e64-7cb95b774938_1p result, different session: 4a6a9247-b4e1-4572-8e64-7cb95b774938_1p unsupported: false passed: false test failed: false |
write: (secret) => localStorage.setItem("secret", secret) read: () => localStorage.getItem("secret") result, same session: de15919a-59b1-4372-8d7e-4fe266a8dd81_1p result, different session: de15919a-59b1-4372-8d7e-4fe266a8dd81_1p unsupported: false passed: false test failed: false |
write: (secret) => localStorage.setItem("secret", secret) read: () => localStorage.getItem("secret") result, same session: 04041701-114e-4ffa-a7c3-a94190db6435_1p result, different session: null unsupported: false passed: true test failed: false |
write: (secret) => localStorage.setItem("secret", secret) read: () => localStorage.getItem("secret") result, same session: 2c30e905-89f9-43e0-8121-691bfd8d8d4b_1p result, different session: 2c30e905-89f9-43e0-8121-691bfd8d8d4b_1p unsupported: false passed: false test failed: false |
write: (secret) => localStorage.setItem("secret", secret) read: () => localStorage.getItem("secret") result, same session: 4de5d046-d641-4de4-853d-2deaee2f77a8_1p result, different session: 4de5d046-d641-4de4-853d-2deaee2f77a8_1p unsupported: false passed: false test failed: false |
write: (secret) => localStorage.setItem("secret", secret) read: () => localStorage.getItem("secret") result, same session: 5a50b218-e9bb-4d6c-ab8e-cdb6777c4ca6_1p, 52109630-975b-4a25-b271-1b40345014b9_1p, 09b12ba4-febb-406c-ae01-a3222c01e9d0_1p, e31a8827-fbbc-4f17-8ff4-0dd018412883_1p, 2e3465ba-9d71-4a78-956f-a7436760f50e_1p result, different session: 5a50b218-e9bb-4d6c-ab8e-cdb6777c4ca6_1p, 52109630-975b-4a25-b271-1b40345014b9_1p, 09b12ba4-febb-406c-ae01-a3222c01e9d0_1p, e31a8827-fbbc-4f17-8ff4-0dd018412883_1p, 2e3465ba-9d71-4a78-956f-a7436760f50e_1p unsupported: false, false, false, false, false passed: false, false, false, false, false test failed: false, false, false, false, false |
write: (secret) => localStorage.setItem("secret", secret) read: () => localStorage.getItem("secret") result, same session: a492ddfc-e63e-4699-9a36-ea3956f606c8_1p result, different session: null unsupported: false passed: true test failed: false |
write: (secret) => localStorage.setItem("secret", secret) read: () => localStorage.getItem("secret") result, same session: 6b2aeaa1-68b1-4cfa-8eb0-358668aeaf73_1p result, different session: 6b2aeaa1-68b1-4cfa-8eb0-358668aeaf73_1p unsupported: false passed: false test failed: false |
write: (secret) => localStorage.setItem("secret", secret) read: () => localStorage.getItem("secret") result, same session: 83d2a636-d42f-4755-afec-86f894c67881_1p result, different session: 83d2a636-d42f-4755-afec-86f894c67881_1p unsupported: false passed: false test failed: false |
prefetch cache
A <link rel='prefetch'...> suggests to browsers they should fetch a resource ahead of time and cache it. But if browsers don't partition this cache, it can be used to track users across websites. |
write: async (key) => { let link = document.createElement("link"); link.rel = "prefetch"; link.href = testURI("resource", "prefetch", key); document.getElementsByTagName("head")[0].appendChild(link); return key; } read: async (key) => { let link = document.createElement("link"); link.rel = "prefetch"; link.href = testURI("resource", "prefetch", key); document.getElementsByTagName("head")[0].appendChild(link); await sleepMs(500); let response = await fetch( testURI("ctr", "prefetch", key), {"cache": "reload"}); let countString = (await response.text()).trim(); if (parseInt(countString) === 0) { throw new Error("No requests received"); } return countString; } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: async (key) => { let link = document.createElement("link"); link.rel = "prefetch"; link.href = testURI("resource", "prefetch", key); document.getElementsByTagName("head")[0].appendChild(link); return key; } read: async (key) => { let link = document.createElement("link"); link.rel = "prefetch"; link.href = testURI("resource", "prefetch", key); document.getElementsByTagName("head")[0].appendChild(link); await sleepMs(500); let response = await fetch( testURI("ctr", "prefetch", key), {"cache": "reload"}); let countString = (await response.text()).trim(); if (parseInt(countString) === 0) { throw new Error("No requests received"); } return countString; } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: async (key) => { let link = document.createElement("link"); link.rel = "prefetch"; link.href = testURI("resource", "prefetch", key); document.getElementsByTagName("head")[0].appendChild(link); return key; } read: async (key) => { let link = document.createElement("link"); link.rel = "prefetch"; link.href = testURI("resource", "prefetch", key); document.getElementsByTagName("head")[0].appendChild(link); await sleepMs(500); let response = await fetch( testURI("ctr", "prefetch", key), {"cache": "reload"}); let countString = (await response.text()).trim(); if (parseInt(countString) === 0) { throw new Error("No requests received"); } return countString; } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: async (key) => { let link = document.createElement("link"); link.rel = "prefetch"; link.href = testURI("resource", "prefetch", key); document.getElementsByTagName("head")[0].appendChild(link); return key; } read: async (key) => { let link = document.createElement("link"); link.rel = "prefetch"; link.href = testURI("resource", "prefetch", key); document.getElementsByTagName("head")[0].appendChild(link); await sleepMs(500); let response = await fetch( testURI("ctr", "prefetch", key), {"cache": "reload"}); let countString = (await response.text()).trim(); if (parseInt(countString) === 0) { throw new Error("No requests received"); } return countString; } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: async (key) => { let link = document.createElement("link"); link.rel = "prefetch"; link.href = testURI("resource", "prefetch", key); document.getElementsByTagName("head")[0].appendChild(link); return key; } read: async (key) => { let link = document.createElement("link"); link.rel = "prefetch"; link.href = testURI("resource", "prefetch", key); document.getElementsByTagName("head")[0].appendChild(link); await sleepMs(500); let response = await fetch( testURI("ctr", "prefetch", key), {"cache": "reload"}); let countString = (await response.text()).trim(); if (parseInt(countString) === 0) { throw new Error("No requests received"); } return countString; } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: async (key) => { let link = document.createElement("link"); link.rel = "prefetch"; link.href = testURI("resource", "prefetch", key); document.getElementsByTagName("head")[0].appendChild(link); return key; } read: async (key) => { let link = document.createElement("link"); link.rel = "prefetch"; link.href = testURI("resource", "prefetch", key); document.getElementsByTagName("head")[0].appendChild(link); await sleepMs(500); let response = await fetch( testURI("ctr", "prefetch", key), {"cache": "reload"}); let countString = (await response.text()).trim(); if (parseInt(countString) === 0) { throw new Error("No requests received"); } return countString; } result, same session: 1 result, different session: 2 unsupported: false passed: true test failed: false |
write: async (key) => { let link = document.createElement("link"); link.rel = "prefetch"; link.href = testURI("resource", "prefetch", key); document.getElementsByTagName("head")[0].appendChild(link); return key; } read: async (key) => { let link = document.createElement("link"); link.rel = "prefetch"; link.href = testURI("resource", "prefetch", key); document.getElementsByTagName("head")[0].appendChild(link); await sleepMs(500); let response = await fetch( testURI("ctr", "prefetch", key), {"cache": "reload"}); let countString = (await response.text()).trim(); if (parseInt(countString) === 0) { throw new Error("No requests received"); } return countString; } result, same session: Error: No requests received result, different session: Error: No requests received unsupported: true passed: undefined test failed: false |
write: async (key) => { let link = document.createElement("link"); link.rel = "prefetch"; link.href = testURI("resource", "prefetch", key); document.getElementsByTagName("head")[0].appendChild(link); return key; } read: async (key) => { let link = document.createElement("link"); link.rel = "prefetch"; link.href = testURI("resource", "prefetch", key); document.getElementsByTagName("head")[0].appendChild(link); await sleepMs(500); let response = await fetch( testURI("ctr", "prefetch", key), {"cache": "reload"}); let countString = (await response.text()).trim(); if (parseInt(countString) === 0) { throw new Error("No requests received"); } return countString; } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: async (key) => { let link = document.createElement("link"); link.rel = "prefetch"; link.href = testURI("resource", "prefetch", key); document.getElementsByTagName("head")[0].appendChild(link); return key; } read: async (key) => { let link = document.createElement("link"); link.rel = "prefetch"; link.href = testURI("resource", "prefetch", key); document.getElementsByTagName("head")[0].appendChild(link); await sleepMs(500); let response = await fetch( testURI("ctr", "prefetch", key), {"cache": "reload"}); let countString = (await response.text()).trim(); if (parseInt(countString) === 0) { throw new Error("No requests received"); } return countString; } result, same session: 1, 1, 1, 1, 1 result, different session: 1, 1, 1, 1, 1 unsupported: false, false, false, false, false passed: false, false, false, false, false test failed: false, false, false, false, false |
write: async (key) => { let link = document.createElement("link"); link.rel = "prefetch"; link.href = testURI("resource", "prefetch", key); document.getElementsByTagName("head")[0].appendChild(link); return key; } read: async (key) => { let link = document.createElement("link"); link.rel = "prefetch"; link.href = testURI("resource", "prefetch", key); document.getElementsByTagName("head")[0].appendChild(link); await sleepMs(500); let response = await fetch( testURI("ctr", "prefetch", key), {"cache": "reload"}); let countString = (await response.text()).trim(); if (parseInt(countString) === 0) { throw new Error("No requests received"); } return countString; } result, same session: Error: No requests received result, different session: Error: No requests received unsupported: true passed: undefined test failed: false |
write: async (key) => { let link = document.createElement("link"); link.rel = "prefetch"; link.href = testURI("resource", "prefetch", key); document.getElementsByTagName("head")[0].appendChild(link); return key; } read: async (key) => { let link = document.createElement("link"); link.rel = "prefetch"; link.href = testURI("resource", "prefetch", key); document.getElementsByTagName("head")[0].appendChild(link); await sleepMs(500); let response = await fetch( testURI("ctr", "prefetch", key), {"cache": "reload"}); let countString = (await response.text()).trim(); if (parseInt(countString) === 0) { throw new Error("No requests received"); } return countString; } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: async (key) => { let link = document.createElement("link"); link.rel = "prefetch"; link.href = testURI("resource", "prefetch", key); document.getElementsByTagName("head")[0].appendChild(link); return key; } read: async (key) => { let link = document.createElement("link"); link.rel = "prefetch"; link.href = testURI("resource", "prefetch", key); document.getElementsByTagName("head")[0].appendChild(link); await sleepMs(500); let response = await fetch( testURI("ctr", "prefetch", key), {"cache": "reload"}); let countString = (await response.text()).trim(); if (parseInt(countString) === 0) { throw new Error("No requests received"); } return countString; } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
script cache
Caching of scripts in web browsers is a standard behavior. But if that cache leaks between websites, it can be abused for cross-site tracking. |
write: (key) => new Promise((resolve, reject) => { let script = document.createElement("script"); document.body.appendChild(script); script.addEventListener("load", () => resolve(key), {once: true}); script.src = testURI("resource", "script", key); }) read: async (key) => { let script = document.createElement("script"); document.body.appendChild(script); let scriptLoadPromise = new Promise((resolve, reject) => { script.addEventListener("load", resolve, {once: true}); }); script.src = testURI("resource", "script", key); await scriptLoadPromise; let response = await fetch( testURI("ctr", "script", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: (key) => new Promise((resolve, reject) => { let script = document.createElement("script"); document.body.appendChild(script); script.addEventListener("load", () => resolve(key), {once: true}); script.src = testURI("resource", "script", key); }) read: async (key) => { let script = document.createElement("script"); document.body.appendChild(script); let scriptLoadPromise = new Promise((resolve, reject) => { script.addEventListener("load", resolve, {once: true}); }); script.src = testURI("resource", "script", key); await scriptLoadPromise; let response = await fetch( testURI("ctr", "script", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: (key) => new Promise((resolve, reject) => { let script = document.createElement("script"); document.body.appendChild(script); script.addEventListener("load", () => resolve(key), {once: true}); script.src = testURI("resource", "script", key); }) read: async (key) => { let script = document.createElement("script"); document.body.appendChild(script); let scriptLoadPromise = new Promise((resolve, reject) => { script.addEventListener("load", resolve, {once: true}); }); script.src = testURI("resource", "script", key); await scriptLoadPromise; let response = await fetch( testURI("ctr", "script", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: (key) => new Promise((resolve, reject) => { let script = document.createElement("script"); document.body.appendChild(script); script.addEventListener("load", () => resolve(key), {once: true}); script.src = testURI("resource", "script", key); }) read: async (key) => { let script = document.createElement("script"); document.body.appendChild(script); let scriptLoadPromise = new Promise((resolve, reject) => { script.addEventListener("load", resolve, {once: true}); }); script.src = testURI("resource", "script", key); await scriptLoadPromise; let response = await fetch( testURI("ctr", "script", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: (key) => new Promise((resolve, reject) => { let script = document.createElement("script"); document.body.appendChild(script); script.addEventListener("load", () => resolve(key), {once: true}); script.src = testURI("resource", "script", key); }) read: async (key) => { let script = document.createElement("script"); document.body.appendChild(script); let scriptLoadPromise = new Promise((resolve, reject) => { script.addEventListener("load", resolve, {once: true}); }); script.src = testURI("resource", "script", key); await scriptLoadPromise; let response = await fetch( testURI("ctr", "script", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: (key) => new Promise((resolve, reject) => { let script = document.createElement("script"); document.body.appendChild(script); script.addEventListener("load", () => resolve(key), {once: true}); script.src = testURI("resource", "script", key); }) read: async (key) => { let script = document.createElement("script"); document.body.appendChild(script); let scriptLoadPromise = new Promise((resolve, reject) => { script.addEventListener("load", resolve, {once: true}); }); script.src = testURI("resource", "script", key); await scriptLoadPromise; let response = await fetch( testURI("ctr", "script", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same session: 1 result, different session: 2 unsupported: false passed: true test failed: false |
write: (key) => new Promise((resolve, reject) => { let script = document.createElement("script"); document.body.appendChild(script); script.addEventListener("load", () => resolve(key), {once: true}); script.src = testURI("resource", "script", key); }) read: async (key) => { let script = document.createElement("script"); document.body.appendChild(script); let scriptLoadPromise = new Promise((resolve, reject) => { script.addEventListener("load", resolve, {once: true}); }); script.src = testURI("resource", "script", key); await scriptLoadPromise; let response = await fetch( testURI("ctr", "script", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: (key) => new Promise((resolve, reject) => { let script = document.createElement("script"); document.body.appendChild(script); script.addEventListener("load", () => resolve(key), {once: true}); script.src = testURI("resource", "script", key); }) read: async (key) => { let script = document.createElement("script"); document.body.appendChild(script); let scriptLoadPromise = new Promise((resolve, reject) => { script.addEventListener("load", resolve, {once: true}); }); script.src = testURI("resource", "script", key); await scriptLoadPromise; let response = await fetch( testURI("ctr", "script", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: (key) => new Promise((resolve, reject) => { let script = document.createElement("script"); document.body.appendChild(script); script.addEventListener("load", () => resolve(key), {once: true}); script.src = testURI("resource", "script", key); }) read: async (key) => { let script = document.createElement("script"); document.body.appendChild(script); let scriptLoadPromise = new Promise((resolve, reject) => { script.addEventListener("load", resolve, {once: true}); }); script.src = testURI("resource", "script", key); await scriptLoadPromise; let response = await fetch( testURI("ctr", "script", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same session: 1, 1, 1, 1, 1 result, different session: 1, 1, 1, 1, 1 unsupported: false, false, false, false, false passed: false, false, false, false, false test failed: false, false, false, false, false |
write: (key) => new Promise((resolve, reject) => { let script = document.createElement("script"); document.body.appendChild(script); script.addEventListener("load", () => resolve(key), {once: true}); script.src = testURI("resource", "script", key); }) read: async (key) => { let script = document.createElement("script"); document.body.appendChild(script); let scriptLoadPromise = new Promise((resolve, reject) => { script.addEventListener("load", resolve, {once: true}); }); script.src = testURI("resource", "script", key); await scriptLoadPromise; let response = await fetch( testURI("ctr", "script", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same session: 1 result, different session: 2 unsupported: false passed: true test failed: false |
write: (key) => new Promise((resolve, reject) => { let script = document.createElement("script"); document.body.appendChild(script); script.addEventListener("load", () => resolve(key), {once: true}); script.src = testURI("resource", "script", key); }) read: async (key) => { let script = document.createElement("script"); document.body.appendChild(script); let scriptLoadPromise = new Promise((resolve, reject) => { script.addEventListener("load", resolve, {once: true}); }); script.src = testURI("resource", "script", key); await scriptLoadPromise; let response = await fetch( testURI("ctr", "script", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: (key) => new Promise((resolve, reject) => { let script = document.createElement("script"); document.body.appendChild(script); script.addEventListener("load", () => resolve(key), {once: true}); script.src = testURI("resource", "script", key); }) read: async (key) => { let script = document.createElement("script"); document.body.appendChild(script); let scriptLoadPromise = new Promise((resolve, reject) => { script.addEventListener("load", resolve, {once: true}); }); script.src = testURI("resource", "script", key); await scriptLoadPromise; let response = await fetch( testURI("ctr", "script", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
XMLHttpRequest cache
Similar to the newer Fetch API, any resource received may be cached by the browser. The cache is potentially vulnerable to cross-site tracking attack. |
write: async (key) => { const req = new XMLHttpRequest(); const loadPromise = new Promise(resolve => req.addEventListener("load", resolve)); req.open("GET", testURI("resource", "xhr", key)); req.send(); await loadPromise; return key; } read: async (key) => { const req = new XMLHttpRequest(); const loadPromise = new Promise(resolve => req.addEventListener("load", resolve)); req.open("GET", testURI("resource", "xhr", key)); req.send(); await loadPromise; let countResponse = await fetch(testURI("ctr", "xhr", key), {cache: "reload"}); return (await countResponse.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: async (key) => { const req = new XMLHttpRequest(); const loadPromise = new Promise(resolve => req.addEventListener("load", resolve)); req.open("GET", testURI("resource", "xhr", key)); req.send(); await loadPromise; return key; } read: async (key) => { const req = new XMLHttpRequest(); const loadPromise = new Promise(resolve => req.addEventListener("load", resolve)); req.open("GET", testURI("resource", "xhr", key)); req.send(); await loadPromise; let countResponse = await fetch(testURI("ctr", "xhr", key), {cache: "reload"}); return (await countResponse.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: async (key) => { const req = new XMLHttpRequest(); const loadPromise = new Promise(resolve => req.addEventListener("load", resolve)); req.open("GET", testURI("resource", "xhr", key)); req.send(); await loadPromise; return key; } read: async (key) => { const req = new XMLHttpRequest(); const loadPromise = new Promise(resolve => req.addEventListener("load", resolve)); req.open("GET", testURI("resource", "xhr", key)); req.send(); await loadPromise; let countResponse = await fetch(testURI("ctr", "xhr", key), {cache: "reload"}); return (await countResponse.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: async (key) => { const req = new XMLHttpRequest(); const loadPromise = new Promise(resolve => req.addEventListener("load", resolve)); req.open("GET", testURI("resource", "xhr", key)); req.send(); await loadPromise; return key; } read: async (key) => { const req = new XMLHttpRequest(); const loadPromise = new Promise(resolve => req.addEventListener("load", resolve)); req.open("GET", testURI("resource", "xhr", key)); req.send(); await loadPromise; let countResponse = await fetch(testURI("ctr", "xhr", key), {cache: "reload"}); return (await countResponse.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: async (key) => { const req = new XMLHttpRequest(); const loadPromise = new Promise(resolve => req.addEventListener("load", resolve)); req.open("GET", testURI("resource", "xhr", key)); req.send(); await loadPromise; return key; } read: async (key) => { const req = new XMLHttpRequest(); const loadPromise = new Promise(resolve => req.addEventListener("load", resolve)); req.open("GET", testURI("resource", "xhr", key)); req.send(); await loadPromise; let countResponse = await fetch(testURI("ctr", "xhr", key), {cache: "reload"}); return (await countResponse.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: async (key) => { const req = new XMLHttpRequest(); const loadPromise = new Promise(resolve => req.addEventListener("load", resolve)); req.open("GET", testURI("resource", "xhr", key)); req.send(); await loadPromise; return key; } read: async (key) => { const req = new XMLHttpRequest(); const loadPromise = new Promise(resolve => req.addEventListener("load", resolve)); req.open("GET", testURI("resource", "xhr", key)); req.send(); await loadPromise; let countResponse = await fetch(testURI("ctr", "xhr", key), {cache: "reload"}); return (await countResponse.text()).trim(); } result, same session: 1 result, different session: 2 unsupported: false passed: true test failed: false |
write: async (key) => { const req = new XMLHttpRequest(); const loadPromise = new Promise(resolve => req.addEventListener("load", resolve)); req.open("GET", testURI("resource", "xhr", key)); req.send(); await loadPromise; return key; } read: async (key) => { const req = new XMLHttpRequest(); const loadPromise = new Promise(resolve => req.addEventListener("load", resolve)); req.open("GET", testURI("resource", "xhr", key)); req.send(); await loadPromise; let countResponse = await fetch(testURI("ctr", "xhr", key), {cache: "reload"}); return (await countResponse.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: async (key) => { const req = new XMLHttpRequest(); const loadPromise = new Promise(resolve => req.addEventListener("load", resolve)); req.open("GET", testURI("resource", "xhr", key)); req.send(); await loadPromise; return key; } read: async (key) => { const req = new XMLHttpRequest(); const loadPromise = new Promise(resolve => req.addEventListener("load", resolve)); req.open("GET", testURI("resource", "xhr", key)); req.send(); await loadPromise; let countResponse = await fetch(testURI("ctr", "xhr", key), {cache: "reload"}); return (await countResponse.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: async (key) => { const req = new XMLHttpRequest(); const loadPromise = new Promise(resolve => req.addEventListener("load", resolve)); req.open("GET", testURI("resource", "xhr", key)); req.send(); await loadPromise; return key; } read: async (key) => { const req = new XMLHttpRequest(); const loadPromise = new Promise(resolve => req.addEventListener("load", resolve)); req.open("GET", testURI("resource", "xhr", key)); req.send(); await loadPromise; let countResponse = await fetch(testURI("ctr", "xhr", key), {cache: "reload"}); return (await countResponse.text()).trim(); } result, same session: 1, 1, 1, 1, 1 result, different session: 1, 1, 1, 1, 1 unsupported: false, false, false, false, false passed: false, false, false, false, false test failed: false, false, false, false, false |
write: async (key) => { const req = new XMLHttpRequest(); const loadPromise = new Promise(resolve => req.addEventListener("load", resolve)); req.open("GET", testURI("resource", "xhr", key)); req.send(); await loadPromise; return key; } read: async (key) => { const req = new XMLHttpRequest(); const loadPromise = new Promise(resolve => req.addEventListener("load", resolve)); req.open("GET", testURI("resource", "xhr", key)); req.send(); await loadPromise; let countResponse = await fetch(testURI("ctr", "xhr", key), {cache: "reload"}); return (await countResponse.text()).trim(); } result, same session: 1 result, different session: 2 unsupported: false passed: true test failed: false |
write: async (key) => { const req = new XMLHttpRequest(); const loadPromise = new Promise(resolve => req.addEventListener("load", resolve)); req.open("GET", testURI("resource", "xhr", key)); req.send(); await loadPromise; return key; } read: async (key) => { const req = new XMLHttpRequest(); const loadPromise = new Promise(resolve => req.addEventListener("load", resolve)); req.open("GET", testURI("resource", "xhr", key)); req.send(); await loadPromise; let countResponse = await fetch(testURI("ctr", "xhr", key), {cache: "reload"}); return (await countResponse.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: async (key) => { const req = new XMLHttpRequest(); const loadPromise = new Promise(resolve => req.addEventListener("load", resolve)); req.open("GET", testURI("resource", "xhr", key)); req.send(); await loadPromise; return key; } read: async (key) => { const req = new XMLHttpRequest(); const loadPromise = new Promise(resolve => req.addEventListener("load", resolve)); req.open("GET", testURI("resource", "xhr", key)); req.send(); await loadPromise; let countResponse = await fetch(testURI("ctr", "xhr", key), {cache: "reload"}); return (await countResponse.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
Cross-session third-party tracking testsWhich browsers prevent third-party trackers from tracking you across browser sessions?
A common vulnerability of web browsers is that they allow third-party trackers to 'tag' your browser with some tracking data. This tag can be used to re-identify you when you return to a website you visited before. This category of leaks can be prevented by browser if they clean or isolate data between browser sessions. (In cases where a user has logged into a website or entered detailed information, it may be justifiable for a browser to retain information across sessions. These tests check when no such justification exists: when you have entered no significant information into a website, will the browser still retain data that allows you to be tracked across sessions?) | ||||||||||||
Alt-Svc
Alt-Svc allows the server to indicate to the web browser that a resource should be loaded on a different server. Because this is a persistent setting, it could be used to track users across websites if it is not correctly partitioned. |
write: async () => { // Clear Alt-Svc caching first. let responseText = ""; for (let i = 0; i < 3; ++i) { await fetch(altSvcOrigin + "/clear"); await sleepMs(100); } responseText = await fetchText(altSvcOrigin + "/protocol"); console.log("after clear:", responseText); // Store "h3" state in Alt-Svc cache for (let i = 0; i < 3; ++i) { await fetch(altSvcOrigin + "/set"); await sleepMs(100); } responseText = await fetchText(altSvcOrigin + "/protocol"); console.log("after set:", responseText); } read: async () => { const protocol = await fetchText(altSvcOrigin + "/protocol"); if ((new URL(location)).searchParams.get("thirdparty") === "same") { if (protocol !== "h3") { throw new Error("Unsupported"); } } return protocol; } result, same session: h3 result, different session: h2 unsupported: false passed: true test failed: false |
write: async () => { // Clear Alt-Svc caching first. let responseText = ""; for (let i = 0; i < 3; ++i) { await fetch(altSvcOrigin + "/clear"); await sleepMs(100); } responseText = await fetchText(altSvcOrigin + "/protocol"); console.log("after clear:", responseText); // Store "h3" state in Alt-Svc cache for (let i = 0; i < 3; ++i) { await fetch(altSvcOrigin + "/set"); await sleepMs(100); } responseText = await fetchText(altSvcOrigin + "/protocol"); console.log("after set:", responseText); } read: async () => { const protocol = await fetchText(altSvcOrigin + "/protocol"); if ((new URL(location)).searchParams.get("thirdparty") === "same") { if (protocol !== "h3") { throw new Error("Unsupported"); } } return protocol; } result, same session: h3 result, different session: h2 unsupported: false passed: true test failed: false |
write: async () => { // Clear Alt-Svc caching first. let responseText = ""; for (let i = 0; i < 3; ++i) { await fetch(altSvcOrigin + "/clear"); await sleepMs(100); } responseText = await fetchText(altSvcOrigin + "/protocol"); console.log("after clear:", responseText); // Store "h3" state in Alt-Svc cache for (let i = 0; i < 3; ++i) { await fetch(altSvcOrigin + "/set"); await sleepMs(100); } responseText = await fetchText(altSvcOrigin + "/protocol"); console.log("after set:", responseText); } read: async () => { const protocol = await fetchText(altSvcOrigin + "/protocol"); if ((new URL(location)).searchParams.get("thirdparty") === "same") { if (protocol !== "h3") { throw new Error("Unsupported"); } } return protocol; } result, same session: h3 result, different session: h2 unsupported: false passed: true test failed: false |
write: async () => { // Clear Alt-Svc caching first. let responseText = ""; for (let i = 0; i < 3; ++i) { await fetch(altSvcOrigin + "/clear"); await sleepMs(100); } responseText = await fetchText(altSvcOrigin + "/protocol"); console.log("after clear:", responseText); // Store "h3" state in Alt-Svc cache for (let i = 0; i < 3; ++i) { await fetch(altSvcOrigin + "/set"); await sleepMs(100); } responseText = await fetchText(altSvcOrigin + "/protocol"); console.log("after set:", responseText); } read: async () => { const protocol = await fetchText(altSvcOrigin + "/protocol"); if ((new URL(location)).searchParams.get("thirdparty") === "same") { if (protocol !== "h3") { throw new Error("Unsupported"); } } return protocol; } result, same session: h3 result, different session: h2 unsupported: false passed: true test failed: false |
write: async () => { // Clear Alt-Svc caching first. let responseText = ""; for (let i = 0; i < 3; ++i) { await fetch(altSvcOrigin + "/clear"); await sleepMs(100); } responseText = await fetchText(altSvcOrigin + "/protocol"); console.log("after clear:", responseText); // Store "h3" state in Alt-Svc cache for (let i = 0; i < 3; ++i) { await fetch(altSvcOrigin + "/set"); await sleepMs(100); } responseText = await fetchText(altSvcOrigin + "/protocol"); console.log("after set:", responseText); } read: async () => { const protocol = await fetchText(altSvcOrigin + "/protocol"); if ((new URL(location)).searchParams.get("thirdparty") === "same") { if (protocol !== "h3") { throw new Error("Unsupported"); } } return protocol; } result, same session: h3 result, different session: h2 unsupported: false passed: true test failed: false |
write: async () => { // Clear Alt-Svc caching first. let responseText = ""; for (let i = 0; i < 3; ++i) { await fetch(altSvcOrigin + "/clear"); await sleepMs(100); } responseText = await fetchText(altSvcOrigin + "/protocol"); console.log("after clear:", responseText); // Store "h3" state in Alt-Svc cache for (let i = 0; i < 3; ++i) { await fetch(altSvcOrigin + "/set"); await sleepMs(100); } responseText = await fetchText(altSvcOrigin + "/protocol"); console.log("after set:", responseText); } read: async () => { const protocol = await fetchText(altSvcOrigin + "/protocol"); if ((new URL(location)).searchParams.get("thirdparty") === "same") { if (protocol !== "h3") { throw new Error("Unsupported"); } } return protocol; } result, same session: h3 result, different session: h2 unsupported: false passed: true test failed: false |
write: async () => { // Clear Alt-Svc caching first. let responseText = ""; for (let i = 0; i < 3; ++i) { await fetch(altSvcOrigin + "/clear"); await sleepMs(100); } responseText = await fetchText(altSvcOrigin + "/protocol"); console.log("after clear:", responseText); // Store "h3" state in Alt-Svc cache for (let i = 0; i < 3; ++i) { await fetch(altSvcOrigin + "/set"); await sleepMs(100); } responseText = await fetchText(altSvcOrigin + "/protocol"); console.log("after set:", responseText); } read: async () => { const protocol = await fetchText(altSvcOrigin + "/protocol"); if ((new URL(location)).searchParams.get("thirdparty") === "same") { if (protocol !== "h3") { throw new Error("Unsupported"); } } return protocol; } result, same session: h3 result, different session: h2 unsupported: false passed: true test failed: false |
write: async () => { // Clear Alt-Svc caching first. let responseText = ""; for (let i = 0; i < 3; ++i) { await fetch(altSvcOrigin + "/clear"); await sleepMs(100); } responseText = await fetchText(altSvcOrigin + "/protocol"); console.log("after clear:", responseText); // Store "h3" state in Alt-Svc cache for (let i = 0; i < 3; ++i) { await fetch(altSvcOrigin + "/set"); await sleepMs(100); } responseText = await fetchText(altSvcOrigin + "/protocol"); console.log("after set:", responseText); } read: async () => { const protocol = await fetchText(altSvcOrigin + "/protocol"); if ((new URL(location)).searchParams.get("thirdparty") === "same") { if (protocol !== "h3") { throw new Error("Unsupported"); } } return protocol; } result, same session: h3 result, different session: h2 unsupported: false passed: true test failed: false |
write: async () => { // Clear Alt-Svc caching first. let responseText = ""; for (let i = 0; i < 3; ++i) { await fetch(altSvcOrigin + "/clear"); await sleepMs(100); } responseText = await fetchText(altSvcOrigin + "/protocol"); console.log("after clear:", responseText); // Store "h3" state in Alt-Svc cache for (let i = 0; i < 3; ++i) { await fetch(altSvcOrigin + "/set"); await sleepMs(100); } responseText = await fetchText(altSvcOrigin + "/protocol"); console.log("after set:", responseText); } read: async () => { const protocol = await fetchText(altSvcOrigin + "/protocol"); if ((new URL(location)).searchParams.get("thirdparty") === "same") { if (protocol !== "h3") { throw new Error("Unsupported"); } } return protocol; } result, same session: h2, h2, h2, h2, h2 result, different session: h2, h2, h2, h2, h2 unsupported: true, true, true, true, true passed: undefined test failed: false, false, false, false, false |
write: async () => { // Clear Alt-Svc caching first. let responseText = ""; for (let i = 0; i < 3; ++i) { await fetch(altSvcOrigin + "/clear"); await sleepMs(100); } responseText = await fetchText(altSvcOrigin + "/protocol"); console.log("after clear:", responseText); // Store "h3" state in Alt-Svc cache for (let i = 0; i < 3; ++i) { await fetch(altSvcOrigin + "/set"); await sleepMs(100); } responseText = await fetchText(altSvcOrigin + "/protocol"); console.log("after set:", responseText); } read: async () => { const protocol = await fetchText(altSvcOrigin + "/protocol"); if ((new URL(location)).searchParams.get("thirdparty") === "same") { if (protocol !== "h3") { throw new Error("Unsupported"); } } return protocol; } result, same session: h2 result, different session: h2 unsupported: true passed: undefined test failed: false |
write: async () => { // Clear Alt-Svc caching first. let responseText = ""; for (let i = 0; i < 3; ++i) { await fetch(altSvcOrigin + "/clear"); await sleepMs(100); } responseText = await fetchText(altSvcOrigin + "/protocol"); console.log("after clear:", responseText); // Store "h3" state in Alt-Svc cache for (let i = 0; i < 3; ++i) { await fetch(altSvcOrigin + "/set"); await sleepMs(100); } responseText = await fetchText(altSvcOrigin + "/protocol"); console.log("after set:", responseText); } read: async () => { const protocol = await fetchText(altSvcOrigin + "/protocol"); if ((new URL(location)).searchParams.get("thirdparty") === "same") { if (protocol !== "h3") { throw new Error("Unsupported"); } } return protocol; } result, same session: h3 result, different session: h2 unsupported: false passed: true test failed: false |
write: async () => { // Clear Alt-Svc caching first. let responseText = ""; for (let i = 0; i < 3; ++i) { await fetch(altSvcOrigin + "/clear"); await sleepMs(100); } responseText = await fetchText(altSvcOrigin + "/protocol"); console.log("after clear:", responseText); // Store "h3" state in Alt-Svc cache for (let i = 0; i < 3; ++i) { await fetch(altSvcOrigin + "/set"); await sleepMs(100); } responseText = await fetchText(altSvcOrigin + "/protocol"); console.log("after set:", responseText); } read: async () => { const protocol = await fetchText(altSvcOrigin + "/protocol"); if ((new URL(location)).searchParams.get("thirdparty") === "same") { if (protocol !== "h3") { throw new Error("Unsupported"); } } return protocol; } result, same session: h3 result, different session: h2 unsupported: false passed: true test failed: false |
CacheStorage
The Cache API is a content storage mechanism originally introduced to support ServiceWorkers. If the same Cache object is accessible to multiple websites, it can be abused to track users. |
write: async (key) => { try { let cache = await caches.open("supercookies"); cache.addAll([`test.css?key=${key}`]); } catch (e) { throw new Error("Unsupported"); } } read: async () => { let cache = await caches.open("supercookies"); let cacheKeys = await cache.keys(); let url = cacheKeys[0].url; return (new URL(url)).searchParams.get("key"); } result, same session: Error: Failed to execute 'open' on 'CacheStorage': An attempt was made to break through the security policy of the user agent. result, different session: Error: Failed to execute 'open' on 'CacheStorage': An attempt was made to break through the security policy of the user agent. unsupported: true passed: undefined test failed: false |
write: async (key) => { try { let cache = await caches.open("supercookies"); cache.addAll([`test.css?key=${key}`]); } catch (e) { throw new Error("Unsupported"); } } read: async () => { let cache = await caches.open("supercookies"); let cacheKeys = await cache.keys(); let url = cacheKeys[0].url; return (new URL(url)).searchParams.get("key"); } result, same session: c745bf91-cf98-4e5f-8375-d1de83cf19d5_3p result, different session: c745bf91-cf98-4e5f-8375-d1de83cf19d5_3p unsupported: false passed: false test failed: false |
write: async (key) => { try { let cache = await caches.open("supercookies"); cache.addAll([`test.css?key=${key}`]); } catch (e) { throw new Error("Unsupported"); } } read: async () => { let cache = await caches.open("supercookies"); let cacheKeys = await cache.keys(); let url = cacheKeys[0].url; return (new URL(url)).searchParams.get("key"); } result, same session: 1a5b5a6f-5aeb-49ba-8577-c852ce8b48e5_3p result, different session: 1a5b5a6f-5aeb-49ba-8577-c852ce8b48e5_3p unsupported: false passed: false test failed: false |
write: async (key) => { try { let cache = await caches.open("supercookies"); cache.addAll([`test.css?key=${key}`]); } catch (e) { throw new Error("Unsupported"); } } read: async () => { let cache = await caches.open("supercookies"); let cacheKeys = await cache.keys(); let url = cacheKeys[0].url; return (new URL(url)).searchParams.get("key"); } result, same session: 4aca6bfb-ecb4-47d0-bce6-bb64559cf8a0_3p result, different session: 4aca6bfb-ecb4-47d0-bce6-bb64559cf8a0_3p unsupported: false passed: false test failed: false |
write: async (key) => { try { let cache = await caches.open("supercookies"); cache.addAll([`test.css?key=${key}`]); } catch (e) { throw new Error("Unsupported"); } } read: async () => { let cache = await caches.open("supercookies"); let cacheKeys = await cache.keys(); let url = cacheKeys[0].url; return (new URL(url)).searchParams.get("key"); } result, same session: 6b80d03e-105e-4201-b76d-0596f346aaac_3p result, different session: 6b80d03e-105e-4201-b76d-0596f346aaac_3p unsupported: false passed: false test failed: false |
write: async (key) => { try { let cache = await caches.open("supercookies"); cache.addAll([`test.css?key=${key}`]); } catch (e) { throw new Error("Unsupported"); } } read: async () => { let cache = await caches.open("supercookies"); let cacheKeys = await cache.keys(); let url = cacheKeys[0].url; return (new URL(url)).searchParams.get("key"); } result, same session: 04041701-114e-4ffa-a7c3-a94190db6435_3p result, different session: Error: cacheKeys[0] is undefined unsupported: false passed: true test failed: false |
write: async (key) => { try { let cache = await caches.open("supercookies"); cache.addAll([`test.css?key=${key}`]); } catch (e) { throw new Error("Unsupported"); } } read: async () => { let cache = await caches.open("supercookies"); let cacheKeys = await cache.keys(); let url = cacheKeys[0].url; return (new URL(url)).searchParams.get("key"); } result, same session: ec26e749-9cec-4f7a-98e6-641c090e7817_3p result, different session: ec26e749-9cec-4f7a-98e6-641c090e7817_3p unsupported: false passed: false test failed: false |
write: async (key) => { try { let cache = await caches.open("supercookies"); cache.addAll([`test.css?key=${key}`]); } catch (e) { throw new Error("Unsupported"); } } read: async () => { let cache = await caches.open("supercookies"); let cacheKeys = await cache.keys(); let url = cacheKeys[0].url; return (new URL(url)).searchParams.get("key"); } result, same session: 1a184507-9b7a-45eb-a7c2-93b91227080c_3p result, different session: 1a184507-9b7a-45eb-a7c2-93b91227080c_3p unsupported: false passed: false test failed: false |
write: async (key) => { try { let cache = await caches.open("supercookies"); cache.addAll([`test.css?key=${key}`]); } catch (e) { throw new Error("Unsupported"); } } read: async () => { let cache = await caches.open("supercookies"); let cacheKeys = await cache.keys(); let url = cacheKeys[0].url; return (new URL(url)).searchParams.get("key"); } result, same session: a31f089a-366d-46aa-8a3d-39c59eae3ef3_3p, a31f089a-366d-46aa-8a3d-39c59eae3ef3_3p, a31f089a-366d-46aa-8a3d-39c59eae3ef3_3p, a31f089a-366d-46aa-8a3d-39c59eae3ef3_3p, a31f089a-366d-46aa-8a3d-39c59eae3ef3_3p result, different session: a31f089a-366d-46aa-8a3d-39c59eae3ef3_3p, a31f089a-366d-46aa-8a3d-39c59eae3ef3_3p, a31f089a-366d-46aa-8a3d-39c59eae3ef3_3p, a31f089a-366d-46aa-8a3d-39c59eae3ef3_3p, a31f089a-366d-46aa-8a3d-39c59eae3ef3_3p unsupported: false, false, false, false, false passed: false, false, false, false, false test failed: false, false, false, false, false |
write: async (key) => { try { let cache = await caches.open("supercookies"); cache.addAll([`test.css?key=${key}`]); } catch (e) { throw new Error("Unsupported"); } } read: async () => { let cache = await caches.open("supercookies"); let cacheKeys = await cache.keys(); let url = cacheKeys[0].url; return (new URL(url)).searchParams.get("key"); } result, same session: Error: The operation is insecure. result, different session: Error: The operation is insecure. unsupported: true passed: undefined test failed: false |
write: async (key) => { try { let cache = await caches.open("supercookies"); cache.addAll([`test.css?key=${key}`]); } catch (e) { throw new Error("Unsupported"); } } read: async () => { let cache = await caches.open("supercookies"); let cacheKeys = await cache.keys(); let url = cacheKeys[0].url; return (new URL(url)).searchParams.get("key"); } result, same session: 1af58a1e-55c5-4125-ba6b-5729d21fd23c_3p result, different session: 1af58a1e-55c5-4125-ba6b-5729d21fd23c_3p unsupported: false passed: false test failed: false |
write: async (key) => { try { let cache = await caches.open("supercookies"); cache.addAll([`test.css?key=${key}`]); } catch (e) { throw new Error("Unsupported"); } } read: async () => { let cache = await caches.open("supercookies"); let cacheKeys = await cache.keys(); let url = cacheKeys[0].url; return (new URL(url)).searchParams.get("key"); } result, same session: d5f9ff68-4dfa-4240-9606-fdfa71133803_3p result, different session: d5f9ff68-4dfa-4240-9606-fdfa71133803_3p unsupported: false passed: false test failed: false |
cookie (HTTP)
The cookie, first introduced by Netscape in 1994, is a small amount of data stored by your browser on a website's behalf. It has legitimate uses, but it is also the classic cross-site tracking mechanism, and today still the most popular method of tracking users across websites. Browsers can stop cookies from being used for cross-site tracking by either blocking or partitioning them. |
write: async (secret) => { // Request a page that will send an HTTPOnly 'set-cookie' response header with secret value. await fetch(`${baseURI}cookie?secret=${secret}_http`); } read: async () => { // Test if we now send a requests with a 'cookie' header containing the secret. let response = await fetch(`${baseURI}headers`); let cookie = (await response.json())["cookie"]; return cookie ? cookie.match(/secret=([\w-]+)/)[1]: null; } result, same session: 395728fd-45b1-483b-aae3-30840614c71f_3p_http result, different session: null unsupported: false passed: true test failed: false |
write: async (secret) => { // Request a page that will send an HTTPOnly 'set-cookie' response header with secret value. await fetch(`${baseURI}cookie?secret=${secret}_http`); } read: async () => { // Test if we now send a requests with a 'cookie' header containing the secret. let response = await fetch(`${baseURI}headers`); let cookie = (await response.json())["cookie"]; return cookie ? cookie.match(/secret=([\w-]+)/)[1]: null; } result, same session: cfc01c4b-e9b0-4dd0-9e63-71dff9875002_3p_http result, different session: cfc01c4b-e9b0-4dd0-9e63-71dff9875002_3p_http unsupported: false passed: false test failed: false |
write: async (secret) => { // Request a page that will send an HTTPOnly 'set-cookie' response header with secret value. await fetch(`${baseURI}cookie?secret=${secret}_http`); } read: async () => { // Test if we now send a requests with a 'cookie' header containing the secret. let response = await fetch(`${baseURI}headers`); let cookie = (await response.json())["cookie"]; return cookie ? cookie.match(/secret=([\w-]+)/)[1]: null; } result, same session: null result, different session: null unsupported: true passed: undefined test failed: false |
write: async (secret) => { // Request a page that will send an HTTPOnly 'set-cookie' response header with secret value. await fetch(`${baseURI}cookie?secret=${secret}_http`); } read: async () => { // Test if we now send a requests with a 'cookie' header containing the secret. let response = await fetch(`${baseURI}headers`); let cookie = (await response.json())["cookie"]; return cookie ? cookie.match(/secret=([\w-]+)/)[1]: null; } result, same session: 4a6a9247-b4e1-4572-8e64-7cb95b774938_3p_http result, different session: 4a6a9247-b4e1-4572-8e64-7cb95b774938_3p_http unsupported: false passed: false test failed: false |
write: async (secret) => { // Request a page that will send an HTTPOnly 'set-cookie' response header with secret value. await fetch(`${baseURI}cookie?secret=${secret}_http`); } read: async () => { // Test if we now send a requests with a 'cookie' header containing the secret. let response = await fetch(`${baseURI}headers`); let cookie = (await response.json())["cookie"]; return cookie ? cookie.match(/secret=([\w-]+)/)[1]: null; } result, same session: de15919a-59b1-4372-8d7e-4fe266a8dd81_3p_http result, different session: de15919a-59b1-4372-8d7e-4fe266a8dd81_3p_http unsupported: false passed: false test failed: false |
write: async (secret) => { // Request a page that will send an HTTPOnly 'set-cookie' response header with secret value. await fetch(`${baseURI}cookie?secret=${secret}_http`); } read: async () => { // Test if we now send a requests with a 'cookie' header containing the secret. let response = await fetch(`${baseURI}headers`); let cookie = (await response.json())["cookie"]; return cookie ? cookie.match(/secret=([\w-]+)/)[1]: null; } result, same session: 04041701-114e-4ffa-a7c3-a94190db6435_3p_http result, different session: null unsupported: false passed: true test failed: false |
write: async (secret) => { // Request a page that will send an HTTPOnly 'set-cookie' response header with secret value. await fetch(`${baseURI}cookie?secret=${secret}_http`); } read: async () => { // Test if we now send a requests with a 'cookie' header containing the secret. let response = await fetch(`${baseURI}headers`); let cookie = (await response.json())["cookie"]; return cookie ? cookie.match(/secret=([\w-]+)/)[1]: null; } result, same session: 2c30e905-89f9-43e0-8121-691bfd8d8d4b_3p_http result, different session: 2c30e905-89f9-43e0-8121-691bfd8d8d4b_3p_http unsupported: false passed: false test failed: false |
write: async (secret) => { // Request a page that will send an HTTPOnly 'set-cookie' response header with secret value. await fetch(`${baseURI}cookie?secret=${secret}_http`); } read: async () => { // Test if we now send a requests with a 'cookie' header containing the secret. let response = await fetch(`${baseURI}headers`); let cookie = (await response.json())["cookie"]; return cookie ? cookie.match(/secret=([\w-]+)/)[1]: null; } result, same session: 4de5d046-d641-4de4-853d-2deaee2f77a8_3p_http result, different session: 4de5d046-d641-4de4-853d-2deaee2f77a8_3p_http unsupported: false passed: false test failed: false |
write: async (secret) => { // Request a page that will send an HTTPOnly 'set-cookie' response header with secret value. await fetch(`${baseURI}cookie?secret=${secret}_http`); } read: async () => { // Test if we now send a requests with a 'cookie' header containing the secret. let response = await fetch(`${baseURI}headers`); let cookie = (await response.json())["cookie"]; return cookie ? cookie.match(/secret=([\w-]+)/)[1]: null; } result, same session: , , , , result, different session: , , , , unsupported: true, true, true, true, true passed: undefined test failed: false, false, false, false, false |
write: async (secret) => { // Request a page that will send an HTTPOnly 'set-cookie' response header with secret value. await fetch(`${baseURI}cookie?secret=${secret}_http`); } read: async () => { // Test if we now send a requests with a 'cookie' header containing the secret. let response = await fetch(`${baseURI}headers`); let cookie = (await response.json())["cookie"]; return cookie ? cookie.match(/secret=([\w-]+)/)[1]: null; } result, same session: null result, different session: null unsupported: true passed: undefined test failed: false |
write: async (secret) => { // Request a page that will send an HTTPOnly 'set-cookie' response header with secret value. await fetch(`${baseURI}cookie?secret=${secret}_http`); } read: async () => { // Test if we now send a requests with a 'cookie' header containing the secret. let response = await fetch(`${baseURI}headers`); let cookie = (await response.json())["cookie"]; return cookie ? cookie.match(/secret=([\w-]+)/)[1]: null; } result, same session: 6b2aeaa1-68b1-4cfa-8eb0-358668aeaf73_3p_http result, different session: null unsupported: false passed: true test failed: false |
write: async (secret) => { // Request a page that will send an HTTPOnly 'set-cookie' response header with secret value. await fetch(`${baseURI}cookie?secret=${secret}_http`); } read: async () => { // Test if we now send a requests with a 'cookie' header containing the secret. let response = await fetch(`${baseURI}headers`); let cookie = (await response.json())["cookie"]; return cookie ? cookie.match(/secret=([\w-]+)/)[1]: null; } result, same session: 83d2a636-d42f-4755-afec-86f894c67881_3p_http result, different session: 83d2a636-d42f-4755-afec-86f894c67881_3p_http unsupported: false passed: false test failed: false |
cookie (JS)
The cookie, first introduced by Netscape in 1994, is a small amount of data stored by your browser on a website's behalf. It has legitimate uses, but it is also the classic cross-site tracking mechanism, and today still the most popular method of tracking users across websites. Browsers can stop cookies from being used for cross-site tracking by either blocking or partitioning them. |
write: (secret) => { document.cookie = `secret=${secret}_js; max-age=3600; SameSite=None; Secure`; } read: () => document.cookie ? document.cookie.match(/secret=([\w-]+)/)[1] : null result, same session: 395728fd-45b1-483b-aae3-30840614c71f_3p_js result, different session: null unsupported: false passed: true test failed: false |
write: (secret) => { document.cookie = `secret=${secret}_js; max-age=3600; SameSite=None; Secure`; } read: () => document.cookie ? document.cookie.match(/secret=([\w-]+)/)[1] : null result, same session: cfc01c4b-e9b0-4dd0-9e63-71dff9875002_3p_js result, different session: cfc01c4b-e9b0-4dd0-9e63-71dff9875002_3p_js unsupported: false passed: false test failed: false |
write: (secret) => { document.cookie = `secret=${secret}_js; max-age=3600; SameSite=None; Secure`; } read: () => document.cookie ? document.cookie.match(/secret=([\w-]+)/)[1] : null result, same session: null result, different session: null unsupported: true passed: undefined test failed: false |
write: (secret) => { document.cookie = `secret=${secret}_js; max-age=3600; SameSite=None; Secure`; } read: () => document.cookie ? document.cookie.match(/secret=([\w-]+)/)[1] : null result, same session: 4a6a9247-b4e1-4572-8e64-7cb95b774938_3p_js result, different session: 4a6a9247-b4e1-4572-8e64-7cb95b774938_3p_js unsupported: false passed: false test failed: false |
write: (secret) => { document.cookie = `secret=${secret}_js; max-age=3600; SameSite=None; Secure`; } read: () => document.cookie ? document.cookie.match(/secret=([\w-]+)/)[1] : null result, same session: de15919a-59b1-4372-8d7e-4fe266a8dd81_3p_js result, different session: de15919a-59b1-4372-8d7e-4fe266a8dd81_3p_js unsupported: false passed: false test failed: false |
write: (secret) => { document.cookie = `secret=${secret}_js; max-age=3600; SameSite=None; Secure`; } read: () => document.cookie ? document.cookie.match(/secret=([\w-]+)/)[1] : null result, same session: 04041701-114e-4ffa-a7c3-a94190db6435_3p_js result, different session: null unsupported: false passed: true test failed: false |
write: (secret) => { document.cookie = `secret=${secret}_js; max-age=3600; SameSite=None; Secure`; } read: () => document.cookie ? document.cookie.match(/secret=([\w-]+)/)[1] : null result, same session: 2c30e905-89f9-43e0-8121-691bfd8d8d4b_3p_js result, different session: 2c30e905-89f9-43e0-8121-691bfd8d8d4b_3p_js unsupported: false passed: false test failed: false |
write: (secret) => { document.cookie = `secret=${secret}_js; max-age=3600; SameSite=None; Secure`; } read: () => document.cookie ? document.cookie.match(/secret=([\w-]+)/)[1] : null result, same session: 4de5d046-d641-4de4-853d-2deaee2f77a8_3p_js result, different session: 4de5d046-d641-4de4-853d-2deaee2f77a8_3p_js unsupported: false passed: false test failed: false |
write: (secret) => { document.cookie = `secret=${secret}_js; max-age=3600; SameSite=None; Secure`; } read: () => document.cookie ? document.cookie.match(/secret=([\w-]+)/)[1] : null result, same session: , , , , result, different session: , , , , unsupported: true, true, true, true, true passed: undefined test failed: false, false, false, false, false |
write: (secret) => { document.cookie = `secret=${secret}_js; max-age=3600; SameSite=None; Secure`; } read: () => document.cookie ? document.cookie.match(/secret=([\w-]+)/)[1] : null result, same session: null result, different session: null unsupported: true passed: undefined test failed: false |
write: (secret) => { document.cookie = `secret=${secret}_js; max-age=3600; SameSite=None; Secure`; } read: () => document.cookie ? document.cookie.match(/secret=([\w-]+)/)[1] : null result, same session: 6b2aeaa1-68b1-4cfa-8eb0-358668aeaf73_3p_js result, different session: null unsupported: false passed: true test failed: false |
write: (secret) => { document.cookie = `secret=${secret}_js; max-age=3600; SameSite=None; Secure`; } read: () => document.cookie ? document.cookie.match(/secret=([\w-]+)/)[1] : null result, same session: 83d2a636-d42f-4755-afec-86f894c67881_3p_js result, different session: 83d2a636-d42f-4755-afec-86f894c67881_3p_js unsupported: false passed: false test failed: false |
CookieStore
The Cookie Store API is an alternative asynchronous API for managing cookies, supported by some browsers. |
write: (data) => { const msPerHour = 60 * 60 * 1000; if (!window.cookieStore) { throw new Error("Unsupported"); } window.cookieStore.set({ name: "partition_test", value: data, expires: Date.now() + msPerHour, sameSite: "none" }); } read: async () => { if (!window.cookieStore) { throw new Error("Unsupported"); } const cookie = await window.cookieStore.get("partition_test"); if (!cookie) { return null; } return cookie.value; } result, same session: 395728fd-45b1-483b-aae3-30840614c71f_3p result, different session: null unsupported: false passed: true test failed: false |
write: (data) => { const msPerHour = 60 * 60 * 1000; if (!window.cookieStore) { throw new Error("Unsupported"); } window.cookieStore.set({ name: "partition_test", value: data, expires: Date.now() + msPerHour, sameSite: "none" }); } read: async () => { if (!window.cookieStore) { throw new Error("Unsupported"); } const cookie = await window.cookieStore.get("partition_test"); if (!cookie) { return null; } return cookie.value; } result, same session: cfc01c4b-e9b0-4dd0-9e63-71dff9875002_3p result, different session: cfc01c4b-e9b0-4dd0-9e63-71dff9875002_3p unsupported: false passed: false test failed: false |
write: (data) => { const msPerHour = 60 * 60 * 1000; if (!window.cookieStore) { throw new Error("Unsupported"); } window.cookieStore.set({ name: "partition_test", value: data, expires: Date.now() + msPerHour, sameSite: "none" }); } read: async () => { if (!window.cookieStore) { throw new Error("Unsupported"); } const cookie = await window.cookieStore.get("partition_test"); if (!cookie) { return null; } return cookie.value; } result, same session: null result, different session: null unsupported: true passed: undefined test failed: false |
write: (data) => { const msPerHour = 60 * 60 * 1000; if (!window.cookieStore) { throw new Error("Unsupported"); } window.cookieStore.set({ name: "partition_test", value: data, expires: Date.now() + msPerHour, sameSite: "none" }); } read: async () => { if (!window.cookieStore) { throw new Error("Unsupported"); } const cookie = await window.cookieStore.get("partition_test"); if (!cookie) { return null; } return cookie.value; } result, same session: 4a6a9247-b4e1-4572-8e64-7cb95b774938_3p result, different session: 4a6a9247-b4e1-4572-8e64-7cb95b774938_3p unsupported: false passed: false test failed: false |
write: (data) => { const msPerHour = 60 * 60 * 1000; if (!window.cookieStore) { throw new Error("Unsupported"); } window.cookieStore.set({ name: "partition_test", value: data, expires: Date.now() + msPerHour, sameSite: "none" }); } read: async () => { if (!window.cookieStore) { throw new Error("Unsupported"); } const cookie = await window.cookieStore.get("partition_test"); if (!cookie) { return null; } return cookie.value; } result, same session: Error: Unsupported result, different session: Error: Unsupported unsupported: true passed: undefined test failed: false |
write: (data) => { const msPerHour = 60 * 60 * 1000; if (!window.cookieStore) { throw new Error("Unsupported"); } window.cookieStore.set({ name: "partition_test", value: data, expires: Date.now() + msPerHour, sameSite: "none" }); } read: async () => { if (!window.cookieStore) { throw new Error("Unsupported"); } const cookie = await window.cookieStore.get("partition_test"); if (!cookie) { return null; } return cookie.value; } result, same session: Error: Unsupported result, different session: Error: Unsupported unsupported: true passed: undefined test failed: false |
write: (data) => { const msPerHour = 60 * 60 * 1000; if (!window.cookieStore) { throw new Error("Unsupported"); } window.cookieStore.set({ name: "partition_test", value: data, expires: Date.now() + msPerHour, sameSite: "none" }); } read: async () => { if (!window.cookieStore) { throw new Error("Unsupported"); } const cookie = await window.cookieStore.get("partition_test"); if (!cookie) { return null; } return cookie.value; } result, same session: Error: Unsupported result, different session: Error: Unsupported unsupported: true passed: undefined test failed: false |
write: (data) => { const msPerHour = 60 * 60 * 1000; if (!window.cookieStore) { throw new Error("Unsupported"); } window.cookieStore.set({ name: "partition_test", value: data, expires: Date.now() + msPerHour, sameSite: "none" }); } read: async () => { if (!window.cookieStore) { throw new Error("Unsupported"); } const cookie = await window.cookieStore.get("partition_test"); if (!cookie) { return null; } return cookie.value; } result, same session: 4de5d046-d641-4de4-853d-2deaee2f77a8_3p result, different session: 4de5d046-d641-4de4-853d-2deaee2f77a8_3p unsupported: false passed: false test failed: false |
write: (data) => { const msPerHour = 60 * 60 * 1000; if (!window.cookieStore) { throw new Error("Unsupported"); } window.cookieStore.set({ name: "partition_test", value: data, expires: Date.now() + msPerHour, sameSite: "none" }); } read: async () => { if (!window.cookieStore) { throw new Error("Unsupported"); } const cookie = await window.cookieStore.get("partition_test"); if (!cookie) { return null; } return cookie.value; } result, same session: , , , , result, different session: , , , , unsupported: true, true, true, true, true passed: undefined test failed: false, false, false, false, false |
write: (data) => { const msPerHour = 60 * 60 * 1000; if (!window.cookieStore) { throw new Error("Unsupported"); } window.cookieStore.set({ name: "partition_test", value: data, expires: Date.now() + msPerHour, sameSite: "none" }); } read: async () => { if (!window.cookieStore) { throw new Error("Unsupported"); } const cookie = await window.cookieStore.get("partition_test"); if (!cookie) { return null; } return cookie.value; } result, same session: Error: Unsupported result, different session: Error: Unsupported unsupported: true passed: undefined test failed: false |
write: (data) => { const msPerHour = 60 * 60 * 1000; if (!window.cookieStore) { throw new Error("Unsupported"); } window.cookieStore.set({ name: "partition_test", value: data, expires: Date.now() + msPerHour, sameSite: "none" }); } read: async () => { if (!window.cookieStore) { throw new Error("Unsupported"); } const cookie = await window.cookieStore.get("partition_test"); if (!cookie) { return null; } return cookie.value; } result, same session: 6b2aeaa1-68b1-4cfa-8eb0-358668aeaf73_3p result, different session: null unsupported: false passed: true test failed: false |
write: (data) => { const msPerHour = 60 * 60 * 1000; if (!window.cookieStore) { throw new Error("Unsupported"); } window.cookieStore.set({ name: "partition_test", value: data, expires: Date.now() + msPerHour, sameSite: "none" }); } read: async () => { if (!window.cookieStore) { throw new Error("Unsupported"); } const cookie = await window.cookieStore.get("partition_test"); if (!cookie) { return null; } return cookie.value; } result, same session: 83d2a636-d42f-4755-afec-86f894c67881_3p result, different session: 83d2a636-d42f-4755-afec-86f894c67881_3p unsupported: false passed: false test failed: false |
CSS cache
CSS stylesheets are cached, and if that cache is shared between websites, it can be used to track users across sites. |
write: async (key) => { const href = testURI("resource", "css", key); const head = document.getElementsByTagName("head")[0]; head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`; const testElement = document.querySelector("#css"); let fontFamily; while (true) { await sleepMs(100); fontFamily = getComputedStyle(testElement).fontFamily; if (fontFamily.startsWith("fake")) { break; } } console.log(fontFamily); return key; } read: async (key) => { const href = testURI("resource", "css", key); const head = document.getElementsByTagName("head")[0]; head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`; const testElement = document.querySelector("#css"); let fontFamily; while (true) { await sleepMs(100); fontFamily = getComputedStyle(testElement).fontFamily; if (fontFamily.startsWith("fake")) { break; } } console.log(fontFamily); return fontFamily; } result, same session: fake_525732880685849 result, different session: fake_525732880685849 unsupported: false passed: false test failed: false |
write: async (key) => { const href = testURI("resource", "css", key); const head = document.getElementsByTagName("head")[0]; head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`; const testElement = document.querySelector("#css"); let fontFamily; while (true) { await sleepMs(100); fontFamily = getComputedStyle(testElement).fontFamily; if (fontFamily.startsWith("fake")) { break; } } console.log(fontFamily); return key; } read: async (key) => { const href = testURI("resource", "css", key); const head = document.getElementsByTagName("head")[0]; head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`; const testElement = document.querySelector("#css"); let fontFamily; while (true) { await sleepMs(100); fontFamily = getComputedStyle(testElement).fontFamily; if (fontFamily.startsWith("fake")) { break; } } console.log(fontFamily); return fontFamily; } result, same session: fake_88213500006353 result, different session: fake_88213500006353 unsupported: false passed: false test failed: false |
write: async (key) => { const href = testURI("resource", "css", key); const head = document.getElementsByTagName("head")[0]; head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`; const testElement = document.querySelector("#css"); let fontFamily; while (true) { await sleepMs(100); fontFamily = getComputedStyle(testElement).fontFamily; if (fontFamily.startsWith("fake")) { break; } } console.log(fontFamily); return key; } read: async (key) => { const href = testURI("resource", "css", key); const head = document.getElementsByTagName("head")[0]; head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`; const testElement = document.querySelector("#css"); let fontFamily; while (true) { await sleepMs(100); fontFamily = getComputedStyle(testElement).fontFamily; if (fontFamily.startsWith("fake")) { break; } } console.log(fontFamily); return fontFamily; } result, same session: fake_08383828659216475 result, different session: fake_08383828659216475 unsupported: false passed: false test failed: false |
write: async (key) => { const href = testURI("resource", "css", key); const head = document.getElementsByTagName("head")[0]; head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`; const testElement = document.querySelector("#css"); let fontFamily; while (true) { await sleepMs(100); fontFamily = getComputedStyle(testElement).fontFamily; if (fontFamily.startsWith("fake")) { break; } } console.log(fontFamily); return key; } read: async (key) => { const href = testURI("resource", "css", key); const head = document.getElementsByTagName("head")[0]; head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`; const testElement = document.querySelector("#css"); let fontFamily; while (true) { await sleepMs(100); fontFamily = getComputedStyle(testElement).fontFamily; if (fontFamily.startsWith("fake")) { break; } } console.log(fontFamily); return fontFamily; } result, same session: fake_023191063224048625 result, different session: fake_023191063224048625 unsupported: false passed: false test failed: false |
write: async (key) => { const href = testURI("resource", "css", key); const head = document.getElementsByTagName("head")[0]; head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`; const testElement = document.querySelector("#css"); let fontFamily; while (true) { await sleepMs(100); fontFamily = getComputedStyle(testElement).fontFamily; if (fontFamily.startsWith("fake")) { break; } } console.log(fontFamily); return key; } read: async (key) => { const href = testURI("resource", "css", key); const head = document.getElementsByTagName("head")[0]; head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`; const testElement = document.querySelector("#css"); let fontFamily; while (true) { await sleepMs(100); fontFamily = getComputedStyle(testElement).fontFamily; if (fontFamily.startsWith("fake")) { break; } } console.log(fontFamily); return fontFamily; } result, same session: fake_0832107837019338 result, different session: fake_0832107837019338 unsupported: false passed: false test failed: false |
write: async (key) => { const href = testURI("resource", "css", key); const head = document.getElementsByTagName("head")[0]; head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`; const testElement = document.querySelector("#css"); let fontFamily; while (true) { await sleepMs(100); fontFamily = getComputedStyle(testElement).fontFamily; if (fontFamily.startsWith("fake")) { break; } } console.log(fontFamily); return key; } read: async (key) => { const href = testURI("resource", "css", key); const head = document.getElementsByTagName("head")[0]; head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`; const testElement = document.querySelector("#css"); let fontFamily; while (true) { await sleepMs(100); fontFamily = getComputedStyle(testElement).fontFamily; if (fontFamily.startsWith("fake")) { break; } } console.log(fontFamily); return fontFamily; } result, same session: fake_4312927172232297 result, different session: fake_18116082840754832 unsupported: false passed: true test failed: false |
write: async (key) => { const href = testURI("resource", "css", key); const head = document.getElementsByTagName("head")[0]; head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`; const testElement = document.querySelector("#css"); let fontFamily; while (true) { await sleepMs(100); fontFamily = getComputedStyle(testElement).fontFamily; if (fontFamily.startsWith("fake")) { break; } } console.log(fontFamily); return key; } read: async (key) => { const href = testURI("resource", "css", key); const head = document.getElementsByTagName("head")[0]; head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`; const testElement = document.querySelector("#css"); let fontFamily; while (true) { await sleepMs(100); fontFamily = getComputedStyle(testElement).fontFamily; if (fontFamily.startsWith("fake")) { break; } } console.log(fontFamily); return fontFamily; } result, same session: fake_8908806547966279 result, different session: fake_8908806547966279 unsupported: false passed: false test failed: false |
write: async (key) => { const href = testURI("resource", "css", key); const head = document.getElementsByTagName("head")[0]; head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`; const testElement = document.querySelector("#css"); let fontFamily; while (true) { await sleepMs(100); fontFamily = getComputedStyle(testElement).fontFamily; if (fontFamily.startsWith("fake")) { break; } } console.log(fontFamily); return key; } read: async (key) => { const href = testURI("resource", "css", key); const head = document.getElementsByTagName("head")[0]; head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`; const testElement = document.querySelector("#css"); let fontFamily; while (true) { await sleepMs(100); fontFamily = getComputedStyle(testElement).fontFamily; if (fontFamily.startsWith("fake")) { break; } } console.log(fontFamily); return fontFamily; } result, same session: fake_8090857150122017 result, different session: fake_8090857150122017 unsupported: false passed: false test failed: false |
write: async (key) => { const href = testURI("resource", "css", key); const head = document.getElementsByTagName("head")[0]; head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`; const testElement = document.querySelector("#css"); let fontFamily; while (true) { await sleepMs(100); fontFamily = getComputedStyle(testElement).fontFamily; if (fontFamily.startsWith("fake")) { break; } } console.log(fontFamily); return key; } read: async (key) => { const href = testURI("resource", "css", key); const head = document.getElementsByTagName("head")[0]; head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`; const testElement = document.querySelector("#css"); let fontFamily; while (true) { await sleepMs(100); fontFamily = getComputedStyle(testElement).fontFamily; if (fontFamily.startsWith("fake")) { break; } } console.log(fontFamily); return fontFamily; } result, same session: fake_9449631965627809, fake_9881903143239388, fake_7930921613887594, fake_40474757133393613, fake_6624927200065911 result, different session: fake_9449631965627809, fake_9881903143239388, fake_7930921613887594, fake_40474757133393613, fake_6624927200065911 unsupported: false, false, false, false, false passed: false, false, false, false, false test failed: false, false, false, false, false |
write: async (key) => { const href = testURI("resource", "css", key); const head = document.getElementsByTagName("head")[0]; head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`; const testElement = document.querySelector("#css"); let fontFamily; while (true) { await sleepMs(100); fontFamily = getComputedStyle(testElement).fontFamily; if (fontFamily.startsWith("fake")) { break; } } console.log(fontFamily); return key; } read: async (key) => { const href = testURI("resource", "css", key); const head = document.getElementsByTagName("head")[0]; head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`; const testElement = document.querySelector("#css"); let fontFamily; while (true) { await sleepMs(100); fontFamily = getComputedStyle(testElement).fontFamily; if (fontFamily.startsWith("fake")) { break; } } console.log(fontFamily); return fontFamily; } result, same session: fake_5040952937429604 result, different session: fake_42203505054448653 unsupported: false passed: true test failed: false |
write: async (key) => { const href = testURI("resource", "css", key); const head = document.getElementsByTagName("head")[0]; head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`; const testElement = document.querySelector("#css"); let fontFamily; while (true) { await sleepMs(100); fontFamily = getComputedStyle(testElement).fontFamily; if (fontFamily.startsWith("fake")) { break; } } console.log(fontFamily); return key; } read: async (key) => { const href = testURI("resource", "css", key); const head = document.getElementsByTagName("head")[0]; head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`; const testElement = document.querySelector("#css"); let fontFamily; while (true) { await sleepMs(100); fontFamily = getComputedStyle(testElement).fontFamily; if (fontFamily.startsWith("fake")) { break; } } console.log(fontFamily); return fontFamily; } result, same session: fake_7296033687816508 result, different session: fake_7296033687816508 unsupported: false passed: false test failed: false |
write: async (key) => { const href = testURI("resource", "css", key); const head = document.getElementsByTagName("head")[0]; head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`; const testElement = document.querySelector("#css"); let fontFamily; while (true) { await sleepMs(100); fontFamily = getComputedStyle(testElement).fontFamily; if (fontFamily.startsWith("fake")) { break; } } console.log(fontFamily); return key; } read: async (key) => { const href = testURI("resource", "css", key); const head = document.getElementsByTagName("head")[0]; head.innerHTML += `<link type="text/css" rel="stylesheet" href="${href}">`; const testElement = document.querySelector("#css"); let fontFamily; while (true) { await sleepMs(100); fontFamily = getComputedStyle(testElement).fontFamily; if (fontFamily.startsWith("fake")) { break; } } console.log(fontFamily); return fontFamily; } result, same session: fake_49376459931204275 result, different session: fake_49376459931204275 unsupported: false passed: false test failed: false |
favicon cache
A favicon is an icon that represents a website, typically shown in browser tab and bookmarks menu. If the favicon cache is not partitioned, it can be used to track users across websites. |
write: (key) => key read: async (key) => { // Wait for the favicon to load (defined in supercookies.html) await sleepMs(2000); let response = await fetch( testURI("ctr", "favicon", key), {"cache": "reload"}); let count = (await response.text()).trim(); if (count === "0") { throw new Error("No requests received"); } return count; } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: (key) => key read: async (key) => { // Wait for the favicon to load (defined in supercookies.html) await sleepMs(2000); let response = await fetch( testURI("ctr", "favicon", key), {"cache": "reload"}); let count = (await response.text()).trim(); if (count === "0") { throw new Error("No requests received"); } return count; } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: (key) => key read: async (key) => { // Wait for the favicon to load (defined in supercookies.html) await sleepMs(2000); let response = await fetch( testURI("ctr", "favicon", key), {"cache": "reload"}); let count = (await response.text()).trim(); if (count === "0") { throw new Error("No requests received"); } return count; } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: (key) => key read: async (key) => { // Wait for the favicon to load (defined in supercookies.html) await sleepMs(2000); let response = await fetch( testURI("ctr", "favicon", key), {"cache": "reload"}); let count = (await response.text()).trim(); if (count === "0") { throw new Error("No requests received"); } return count; } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: (key) => key read: async (key) => { // Wait for the favicon to load (defined in supercookies.html) await sleepMs(2000); let response = await fetch( testURI("ctr", "favicon", key), {"cache": "reload"}); let count = (await response.text()).trim(); if (count === "0") { throw new Error("No requests received"); } return count; } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: (key) => key read: async (key) => { // Wait for the favicon to load (defined in supercookies.html) await sleepMs(2000); let response = await fetch( testURI("ctr", "favicon", key), {"cache": "reload"}); let count = (await response.text()).trim(); if (count === "0") { throw new Error("No requests received"); } return count; } result, same session: Error: No requests received result, different session: Error: No requests received unsupported: true passed: undefined test failed: false |
write: (key) => key read: async (key) => { // Wait for the favicon to load (defined in supercookies.html) await sleepMs(2000); let response = await fetch( testURI("ctr", "favicon", key), {"cache": "reload"}); let count = (await response.text()).trim(); if (count === "0") { throw new Error("No requests received"); } return count; } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: (key) => key read: async (key) => { // Wait for the favicon to load (defined in supercookies.html) await sleepMs(2000); let response = await fetch( testURI("ctr", "favicon", key), {"cache": "reload"}); let count = (await response.text()).trim(); if (count === "0") { throw new Error("No requests received"); } return count; } result, same session: Error: No requests received result, different session: Error: No requests received unsupported: true passed: undefined test failed: false |
write: (key) => key read: async (key) => { // Wait for the favicon to load (defined in supercookies.html) await sleepMs(2000); let response = await fetch( testURI("ctr", "favicon", key), {"cache": "reload"}); let count = (await response.text()).trim(); if (count === "0") { throw new Error("No requests received"); } return count; } result, same session: 1, 1, 1, 1, 1 result, different session: 1, 1, 1, 1, 1 unsupported: false, false, false, false, false passed: false, false, false, false, false test failed: false, false, false, false, false |
write: (key) => key read: async (key) => { // Wait for the favicon to load (defined in supercookies.html) await sleepMs(2000); let response = await fetch( testURI("ctr", "favicon", key), {"cache": "reload"}); let count = (await response.text()).trim(); if (count === "0") { throw new Error("No requests received"); } return count; } result, same session: 1 result, different session: 2 unsupported: false passed: true test failed: false |
write: (key) => key read: async (key) => { // Wait for the favicon to load (defined in supercookies.html) await sleepMs(2000); let response = await fetch( testURI("ctr", "favicon", key), {"cache": "reload"}); let count = (await response.text()).trim(); if (count === "0") { throw new Error("No requests received"); } return count; } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: (key) => key read: async (key) => { // Wait for the favicon to load (defined in supercookies.html) await sleepMs(2000); let response = await fetch( testURI("ctr", "favicon", key), {"cache": "reload"}); let count = (await response.text()).trim(); if (count === "0") { throw new Error("No requests received"); } return count; } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
fetch cache
When a resource is received via the Fetch API, it is frequently cached. That cache can potentially be abused for cross-site tracking. |
write: async (key) => { let response = await fetch(testURI("resource", "fetch", key), {cache: "force-cache"}); return key; } read: async (key) => { let response = await fetch(testURI("resource", "fetch", key), {cache: "force-cache"}); let countResponse = await fetch(testURI("ctr", "fetch", key), {cache: "reload"}); return (await countResponse.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: async (key) => { let response = await fetch(testURI("resource", "fetch", key), {cache: "force-cache"}); return key; } read: async (key) => { let response = await fetch(testURI("resource", "fetch", key), {cache: "force-cache"}); let countResponse = await fetch(testURI("ctr", "fetch", key), {cache: "reload"}); return (await countResponse.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: async (key) => { let response = await fetch(testURI("resource", "fetch", key), {cache: "force-cache"}); return key; } read: async (key) => { let response = await fetch(testURI("resource", "fetch", key), {cache: "force-cache"}); let countResponse = await fetch(testURI("ctr", "fetch", key), {cache: "reload"}); return (await countResponse.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: async (key) => { let response = await fetch(testURI("resource", "fetch", key), {cache: "force-cache"}); return key; } read: async (key) => { let response = await fetch(testURI("resource", "fetch", key), {cache: "force-cache"}); let countResponse = await fetch(testURI("ctr", "fetch", key), {cache: "reload"}); return (await countResponse.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: async (key) => { let response = await fetch(testURI("resource", "fetch", key), {cache: "force-cache"}); return key; } read: async (key) => { let response = await fetch(testURI("resource", "fetch", key), {cache: "force-cache"}); let countResponse = await fetch(testURI("ctr", "fetch", key), {cache: "reload"}); return (await countResponse.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: async (key) => { let response = await fetch(testURI("resource", "fetch", key), {cache: "force-cache"}); return key; } read: async (key) => { let response = await fetch(testURI("resource", "fetch", key), {cache: "force-cache"}); let countResponse = await fetch(testURI("ctr", "fetch", key), {cache: "reload"}); return (await countResponse.text()).trim(); } result, same session: 1 result, different session: 2 unsupported: false passed: true test failed: false |
write: async (key) => { let response = await fetch(testURI("resource", "fetch", key), {cache: "force-cache"}); return key; } read: async (key) => { let response = await fetch(testURI("resource", "fetch", key), {cache: "force-cache"}); let countResponse = await fetch(testURI("ctr", "fetch", key), {cache: "reload"}); return (await countResponse.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: async (key) => { let response = await fetch(testURI("resource", "fetch", key), {cache: "force-cache"}); return key; } read: async (key) => { let response = await fetch(testURI("resource", "fetch", key), {cache: "force-cache"}); let countResponse = await fetch(testURI("ctr", "fetch", key), {cache: "reload"}); return (await countResponse.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: async (key) => { let response = await fetch(testURI("resource", "fetch", key), {cache: "force-cache"}); return key; } read: async (key) => { let response = await fetch(testURI("resource", "fetch", key), {cache: "force-cache"}); let countResponse = await fetch(testURI("ctr", "fetch", key), {cache: "reload"}); return (await countResponse.text()).trim(); } result, same session: 1, 1, 1, 1, 1 result, different session: 1, 1, 1, 1, 1 unsupported: false, false, false, false, false passed: false, false, false, false, false test failed: false, false, false, false, false |
write: async (key) => { let response = await fetch(testURI("resource", "fetch", key), {cache: "force-cache"}); return key; } read: async (key) => { let response = await fetch(testURI("resource", "fetch", key), {cache: "force-cache"}); let countResponse = await fetch(testURI("ctr", "fetch", key), {cache: "reload"}); return (await countResponse.text()).trim(); } result, same session: 1 result, different session: 2 unsupported: false passed: true test failed: false |
write: async (key) => { let response = await fetch(testURI("resource", "fetch", key), {cache: "force-cache"}); return key; } read: async (key) => { let response = await fetch(testURI("resource", "fetch", key), {cache: "force-cache"}); let countResponse = await fetch(testURI("ctr", "fetch", key), {cache: "reload"}); return (await countResponse.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: async (key) => { let response = await fetch(testURI("resource", "fetch", key), {cache: "force-cache"}); return key; } read: async (key) => { let response = await fetch(testURI("resource", "fetch", key), {cache: "force-cache"}); let countResponse = await fetch(testURI("ctr", "fetch", key), {cache: "reload"}); return (await countResponse.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
font cache
Web fonts are sometimes stored in their own cache, which is vulnerable to being abused for cross-site tracking. |
write: async (key) => { let style = document.createElement("style"); style.type='text/css'; let fontURI = testURI("resource", "font", key); style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } body { font-family: "myFont" }`; document.getElementsByTagName("head")[0].appendChild(style); return key; } read: async (key) => { const text = document.createElement("span"); text.id = "text"; text.innerText = "test"; document.body.appendChild(text); const originalWidth = text.getBoundingClientRect().width; let style = document.createElement("style"); style.type='text/css'; let fontURI = testURI("resource", "font", key); style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } #text { font-family: "myFont" }`; document.getElementsByTagName("head")[0].appendChild(style); let newWidth; do { await sleepMs(100); newWidth = text.getBoundingClientRect().width; } while (newWidth < 0 || newWidth === originalWidth) let response = await fetch( testURI("ctr", "font", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: async (key) => { let style = document.createElement("style"); style.type='text/css'; let fontURI = testURI("resource", "font", key); style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } body { font-family: "myFont" }`; document.getElementsByTagName("head")[0].appendChild(style); return key; } read: async (key) => { const text = document.createElement("span"); text.id = "text"; text.innerText = "test"; document.body.appendChild(text); const originalWidth = text.getBoundingClientRect().width; let style = document.createElement("style"); style.type='text/css'; let fontURI = testURI("resource", "font", key); style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } #text { font-family: "myFont" }`; document.getElementsByTagName("head")[0].appendChild(style); let newWidth; do { await sleepMs(100); newWidth = text.getBoundingClientRect().width; } while (newWidth < 0 || newWidth === originalWidth) let response = await fetch( testURI("ctr", "font", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: async (key) => { let style = document.createElement("style"); style.type='text/css'; let fontURI = testURI("resource", "font", key); style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } body { font-family: "myFont" }`; document.getElementsByTagName("head")[0].appendChild(style); return key; } read: async (key) => { const text = document.createElement("span"); text.id = "text"; text.innerText = "test"; document.body.appendChild(text); const originalWidth = text.getBoundingClientRect().width; let style = document.createElement("style"); style.type='text/css'; let fontURI = testURI("resource", "font", key); style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } #text { font-family: "myFont" }`; document.getElementsByTagName("head")[0].appendChild(style); let newWidth; do { await sleepMs(100); newWidth = text.getBoundingClientRect().width; } while (newWidth < 0 || newWidth === originalWidth) let response = await fetch( testURI("ctr", "font", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: async (key) => { let style = document.createElement("style"); style.type='text/css'; let fontURI = testURI("resource", "font", key); style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } body { font-family: "myFont" }`; document.getElementsByTagName("head")[0].appendChild(style); return key; } read: async (key) => { const text = document.createElement("span"); text.id = "text"; text.innerText = "test"; document.body.appendChild(text); const originalWidth = text.getBoundingClientRect().width; let style = document.createElement("style"); style.type='text/css'; let fontURI = testURI("resource", "font", key); style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } #text { font-family: "myFont" }`; document.getElementsByTagName("head")[0].appendChild(style); let newWidth; do { await sleepMs(100); newWidth = text.getBoundingClientRect().width; } while (newWidth < 0 || newWidth === originalWidth) let response = await fetch( testURI("ctr", "font", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: async (key) => { let style = document.createElement("style"); style.type='text/css'; let fontURI = testURI("resource", "font", key); style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } body { font-family: "myFont" }`; document.getElementsByTagName("head")[0].appendChild(style); return key; } read: async (key) => { const text = document.createElement("span"); text.id = "text"; text.innerText = "test"; document.body.appendChild(text); const originalWidth = text.getBoundingClientRect().width; let style = document.createElement("style"); style.type='text/css'; let fontURI = testURI("resource", "font", key); style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } #text { font-family: "myFont" }`; document.getElementsByTagName("head")[0].appendChild(style); let newWidth; do { await sleepMs(100); newWidth = text.getBoundingClientRect().width; } while (newWidth < 0 || newWidth === originalWidth) let response = await fetch( testURI("ctr", "font", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: async (key) => { let style = document.createElement("style"); style.type='text/css'; let fontURI = testURI("resource", "font", key); style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } body { font-family: "myFont" }`; document.getElementsByTagName("head")[0].appendChild(style); return key; } read: async (key) => { const text = document.createElement("span"); text.id = "text"; text.innerText = "test"; document.body.appendChild(text); const originalWidth = text.getBoundingClientRect().width; let style = document.createElement("style"); style.type='text/css'; let fontURI = testURI("resource", "font", key); style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } #text { font-family: "myFont" }`; document.getElementsByTagName("head")[0].appendChild(style); let newWidth; do { await sleepMs(100); newWidth = text.getBoundingClientRect().width; } while (newWidth < 0 || newWidth === originalWidth) let response = await fetch( testURI("ctr", "font", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same session: 1 result, different session: 2 unsupported: false passed: true test failed: false |
write: async (key) => { let style = document.createElement("style"); style.type='text/css'; let fontURI = testURI("resource", "font", key); style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } body { font-family: "myFont" }`; document.getElementsByTagName("head")[0].appendChild(style); return key; } read: async (key) => { const text = document.createElement("span"); text.id = "text"; text.innerText = "test"; document.body.appendChild(text); const originalWidth = text.getBoundingClientRect().width; let style = document.createElement("style"); style.type='text/css'; let fontURI = testURI("resource", "font", key); style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } #text { font-family: "myFont" }`; document.getElementsByTagName("head")[0].appendChild(style); let newWidth; do { await sleepMs(100); newWidth = text.getBoundingClientRect().width; } while (newWidth < 0 || newWidth === originalWidth) let response = await fetch( testURI("ctr", "font", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: async (key) => { let style = document.createElement("style"); style.type='text/css'; let fontURI = testURI("resource", "font", key); style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } body { font-family: "myFont" }`; document.getElementsByTagName("head")[0].appendChild(style); return key; } read: async (key) => { const text = document.createElement("span"); text.id = "text"; text.innerText = "test"; document.body.appendChild(text); const originalWidth = text.getBoundingClientRect().width; let style = document.createElement("style"); style.type='text/css'; let fontURI = testURI("resource", "font", key); style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } #text { font-family: "myFont" }`; document.getElementsByTagName("head")[0].appendChild(style); let newWidth; do { await sleepMs(100); newWidth = text.getBoundingClientRect().width; } while (newWidth < 0 || newWidth === originalWidth) let response = await fetch( testURI("ctr", "font", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: async (key) => { let style = document.createElement("style"); style.type='text/css'; let fontURI = testURI("resource", "font", key); style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } body { font-family: "myFont" }`; document.getElementsByTagName("head")[0].appendChild(style); return key; } read: async (key) => { const text = document.createElement("span"); text.id = "text"; text.innerText = "test"; document.body.appendChild(text); const originalWidth = text.getBoundingClientRect().width; let style = document.createElement("style"); style.type='text/css'; let fontURI = testURI("resource", "font", key); style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } #text { font-family: "myFont" }`; document.getElementsByTagName("head")[0].appendChild(style); let newWidth; do { await sleepMs(100); newWidth = text.getBoundingClientRect().width; } while (newWidth < 0 || newWidth === originalWidth) let response = await fetch( testURI("ctr", "font", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same session: 1, 1, 1, 1, 1 result, different session: 1, 1, 1, 1, 1 unsupported: false, false, false, false, false passed: false, false, false, false, false test failed: false, false, false, false, false |
write: async (key) => { let style = document.createElement("style"); style.type='text/css'; let fontURI = testURI("resource", "font", key); style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } body { font-family: "myFont" }`; document.getElementsByTagName("head")[0].appendChild(style); return key; } read: async (key) => { const text = document.createElement("span"); text.id = "text"; text.innerText = "test"; document.body.appendChild(text); const originalWidth = text.getBoundingClientRect().width; let style = document.createElement("style"); style.type='text/css'; let fontURI = testURI("resource", "font", key); style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } #text { font-family: "myFont" }`; document.getElementsByTagName("head")[0].appendChild(style); let newWidth; do { await sleepMs(100); newWidth = text.getBoundingClientRect().width; } while (newWidth < 0 || newWidth === originalWidth) let response = await fetch( testURI("ctr", "font", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same session: 1 result, different session: 2 unsupported: false passed: true test failed: false |
write: async (key) => { let style = document.createElement("style"); style.type='text/css'; let fontURI = testURI("resource", "font", key); style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } body { font-family: "myFont" }`; document.getElementsByTagName("head")[0].appendChild(style); return key; } read: async (key) => { const text = document.createElement("span"); text.id = "text"; text.innerText = "test"; document.body.appendChild(text); const originalWidth = text.getBoundingClientRect().width; let style = document.createElement("style"); style.type='text/css'; let fontURI = testURI("resource", "font", key); style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } #text { font-family: "myFont" }`; document.getElementsByTagName("head")[0].appendChild(style); let newWidth; do { await sleepMs(100); newWidth = text.getBoundingClientRect().width; } while (newWidth < 0 || newWidth === originalWidth) let response = await fetch( testURI("ctr", "font", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: async (key) => { let style = document.createElement("style"); style.type='text/css'; let fontURI = testURI("resource", "font", key); style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } body { font-family: "myFont" }`; document.getElementsByTagName("head")[0].appendChild(style); return key; } read: async (key) => { const text = document.createElement("span"); text.id = "text"; text.innerText = "test"; document.body.appendChild(text); const originalWidth = text.getBoundingClientRect().width; let style = document.createElement("style"); style.type='text/css'; let fontURI = testURI("resource", "font", key); style.innerHTML = `@font-face {font-family: "myFont"; src: url("${fontURI}"); } #text { font-family: "myFont" }`; document.getElementsByTagName("head")[0].appendChild(style); let newWidth; do { await sleepMs(100); newWidth = text.getBoundingClientRect().width; } while (newWidth < 0 || newWidth === originalWidth) let response = await fetch( testURI("ctr", "font", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
iframe cache
An iframe is an element in a web page than allows websites to embed a second web page. Caching of this web page could be abused for cross-site tracking. |
write: (key) => new Promise((resolve, reject) => { let iframe = document.createElement("iframe"); document.body.appendChild(iframe); iframe.addEventListener("load", () => resolve(key), {once: true}); iframe.src = testURI("resource", "page", key); }) read: async (key) => { let iframe = document.createElement("iframe"); document.body.appendChild(iframe); let iframeLoadPromise = new Promise((resolve, reject) => { iframe.addEventListener("load", resolve, {once: true}); }); let address = testURI("resource", "page", key); iframe.src = address; await iframeLoadPromise; let response = await fetch( testURI("ctr", "page", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: (key) => new Promise((resolve, reject) => { let iframe = document.createElement("iframe"); document.body.appendChild(iframe); iframe.addEventListener("load", () => resolve(key), {once: true}); iframe.src = testURI("resource", "page", key); }) read: async (key) => { let iframe = document.createElement("iframe"); document.body.appendChild(iframe); let iframeLoadPromise = new Promise((resolve, reject) => { iframe.addEventListener("load", resolve, {once: true}); }); let address = testURI("resource", "page", key); iframe.src = address; await iframeLoadPromise; let response = await fetch( testURI("ctr", "page", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: (key) => new Promise((resolve, reject) => { let iframe = document.createElement("iframe"); document.body.appendChild(iframe); iframe.addEventListener("load", () => resolve(key), {once: true}); iframe.src = testURI("resource", "page", key); }) read: async (key) => { let iframe = document.createElement("iframe"); document.body.appendChild(iframe); let iframeLoadPromise = new Promise((resolve, reject) => { iframe.addEventListener("load", resolve, {once: true}); }); let address = testURI("resource", "page", key); iframe.src = address; await iframeLoadPromise; let response = await fetch( testURI("ctr", "page", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: (key) => new Promise((resolve, reject) => { let iframe = document.createElement("iframe"); document.body.appendChild(iframe); iframe.addEventListener("load", () => resolve(key), {once: true}); iframe.src = testURI("resource", "page", key); }) read: async (key) => { let iframe = document.createElement("iframe"); document.body.appendChild(iframe); let iframeLoadPromise = new Promise((resolve, reject) => { iframe.addEventListener("load", resolve, {once: true}); }); let address = testURI("resource", "page", key); iframe.src = address; await iframeLoadPromise; let response = await fetch( testURI("ctr", "page", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: (key) => new Promise((resolve, reject) => { let iframe = document.createElement("iframe"); document.body.appendChild(iframe); iframe.addEventListener("load", () => resolve(key), {once: true}); iframe.src = testURI("resource", "page", key); }) read: async (key) => { let iframe = document.createElement("iframe"); document.body.appendChild(iframe); let iframeLoadPromise = new Promise((resolve, reject) => { iframe.addEventListener("load", resolve, {once: true}); }); let address = testURI("resource", "page", key); iframe.src = address; await iframeLoadPromise; let response = await fetch( testURI("ctr", "page", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: (key) => new Promise((resolve, reject) => { let iframe = document.createElement("iframe"); document.body.appendChild(iframe); iframe.addEventListener("load", () => resolve(key), {once: true}); iframe.src = testURI("resource", "page", key); }) read: async (key) => { let iframe = document.createElement("iframe"); document.body.appendChild(iframe); let iframeLoadPromise = new Promise((resolve, reject) => { iframe.addEventListener("load", resolve, {once: true}); }); let address = testURI("resource", "page", key); iframe.src = address; await iframeLoadPromise; let response = await fetch( testURI("ctr", "page", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same session: 1 result, different session: 2 unsupported: false passed: true test failed: false |
write: (key) => new Promise((resolve, reject) => { let iframe = document.createElement("iframe"); document.body.appendChild(iframe); iframe.addEventListener("load", () => resolve(key), {once: true}); iframe.src = testURI("resource", "page", key); }) read: async (key) => { let iframe = document.createElement("iframe"); document.body.appendChild(iframe); let iframeLoadPromise = new Promise((resolve, reject) => { iframe.addEventListener("load", resolve, {once: true}); }); let address = testURI("resource", "page", key); iframe.src = address; await iframeLoadPromise; let response = await fetch( testURI("ctr", "page", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: (key) => new Promise((resolve, reject) => { let iframe = document.createElement("iframe"); document.body.appendChild(iframe); iframe.addEventListener("load", () => resolve(key), {once: true}); iframe.src = testURI("resource", "page", key); }) read: async (key) => { let iframe = document.createElement("iframe"); document.body.appendChild(iframe); let iframeLoadPromise = new Promise((resolve, reject) => { iframe.addEventListener("load", resolve, {once: true}); }); let address = testURI("resource", "page", key); iframe.src = address; await iframeLoadPromise; let response = await fetch( testURI("ctr", "page", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: (key) => new Promise((resolve, reject) => { let iframe = document.createElement("iframe"); document.body.appendChild(iframe); iframe.addEventListener("load", () => resolve(key), {once: true}); iframe.src = testURI("resource", "page", key); }) read: async (key) => { let iframe = document.createElement("iframe"); document.body.appendChild(iframe); let iframeLoadPromise = new Promise((resolve, reject) => { iframe.addEventListener("load", resolve, {once: true}); }); let address = testURI("resource", "page", key); iframe.src = address; await iframeLoadPromise; let response = await fetch( testURI("ctr", "page", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same session: 1, 1, 1, 1, 1 result, different session: 1, 1, 1, 1, 1 unsupported: false, false, false, false, false passed: false, false, false, false, false test failed: false, false, false, false, false |
write: (key) => new Promise((resolve, reject) => { let iframe = document.createElement("iframe"); document.body.appendChild(iframe); iframe.addEventListener("load", () => resolve(key), {once: true}); iframe.src = testURI("resource", "page", key); }) read: async (key) => { let iframe = document.createElement("iframe"); document.body.appendChild(iframe); let iframeLoadPromise = new Promise((resolve, reject) => { iframe.addEventListener("load", resolve, {once: true}); }); let address = testURI("resource", "page", key); iframe.src = address; await iframeLoadPromise; let response = await fetch( testURI("ctr", "page", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same session: 1 result, different session: 2 unsupported: false passed: true test failed: false |
write: (key) => new Promise((resolve, reject) => { let iframe = document.createElement("iframe"); document.body.appendChild(iframe); iframe.addEventListener("load", () => resolve(key), {once: true}); iframe.src = testURI("resource", "page", key); }) read: async (key) => { let iframe = document.createElement("iframe"); document.body.appendChild(iframe); let iframeLoadPromise = new Promise((resolve, reject) => { iframe.addEventListener("load", resolve, {once: true}); }); let address = testURI("resource", "page", key); iframe.src = address; await iframeLoadPromise; let response = await fetch( testURI("ctr", "page", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: (key) => new Promise((resolve, reject) => { let iframe = document.createElement("iframe"); document.body.appendChild(iframe); iframe.addEventListener("load", () => resolve(key), {once: true}); iframe.src = testURI("resource", "page", key); }) read: async (key) => { let iframe = document.createElement("iframe"); document.body.appendChild(iframe); let iframeLoadPromise = new Promise((resolve, reject) => { iframe.addEventListener("load", resolve, {once: true}); }); let address = testURI("resource", "page", key); iframe.src = address; await iframeLoadPromise; let response = await fetch( testURI("ctr", "page", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
image cache
Caching of images in web browsers is a standard behavior. But if that cache leaks between websites, it can be abused for cross-site tracking. |
write: (key) => new Promise((resolve, reject) => { let img = document.createElement("img"); document.body.appendChild(img); img.addEventListener("load", () => resolve(key), {once: true}); img.src = testURI("resource", "image", key); }) read: async (key) => { let img = document.createElement("img"); document.body.appendChild(img); let imgLoadPromise = new Promise((resolve, reject) => { img.addEventListener("load", resolve, {once: true}); }); img.src = testURI("resource", "image", key); await imgLoadPromise; let response = await fetch( testURI("ctr", "image", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: (key) => new Promise((resolve, reject) => { let img = document.createElement("img"); document.body.appendChild(img); img.addEventListener("load", () => resolve(key), {once: true}); img.src = testURI("resource", "image", key); }) read: async (key) => { let img = document.createElement("img"); document.body.appendChild(img); let imgLoadPromise = new Promise((resolve, reject) => { img.addEventListener("load", resolve, {once: true}); }); img.src = testURI("resource", "image", key); await imgLoadPromise; let response = await fetch( testURI("ctr", "image", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: (key) => new Promise((resolve, reject) => { let img = document.createElement("img"); document.body.appendChild(img); img.addEventListener("load", () => resolve(key), {once: true}); img.src = testURI("resource", "image", key); }) read: async (key) => { let img = document.createElement("img"); document.body.appendChild(img); let imgLoadPromise = new Promise((resolve, reject) => { img.addEventListener("load", resolve, {once: true}); }); img.src = testURI("resource", "image", key); await imgLoadPromise; let response = await fetch( testURI("ctr", "image", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: (key) => new Promise((resolve, reject) => { let img = document.createElement("img"); document.body.appendChild(img); img.addEventListener("load", () => resolve(key), {once: true}); img.src = testURI("resource", "image", key); }) read: async (key) => { let img = document.createElement("img"); document.body.appendChild(img); let imgLoadPromise = new Promise((resolve, reject) => { img.addEventListener("load", resolve, {once: true}); }); img.src = testURI("resource", "image", key); await imgLoadPromise; let response = await fetch( testURI("ctr", "image", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: (key) => new Promise((resolve, reject) => { let img = document.createElement("img"); document.body.appendChild(img); img.addEventListener("load", () => resolve(key), {once: true}); img.src = testURI("resource", "image", key); }) read: async (key) => { let img = document.createElement("img"); document.body.appendChild(img); let imgLoadPromise = new Promise((resolve, reject) => { img.addEventListener("load", resolve, {once: true}); }); img.src = testURI("resource", "image", key); await imgLoadPromise; let response = await fetch( testURI("ctr", "image", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: (key) => new Promise((resolve, reject) => { let img = document.createElement("img"); document.body.appendChild(img); img.addEventListener("load", () => resolve(key), {once: true}); img.src = testURI("resource", "image", key); }) read: async (key) => { let img = document.createElement("img"); document.body.appendChild(img); let imgLoadPromise = new Promise((resolve, reject) => { img.addEventListener("load", resolve, {once: true}); }); img.src = testURI("resource", "image", key); await imgLoadPromise; let response = await fetch( testURI("ctr", "image", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same session: 1 result, different session: 2 unsupported: false passed: true test failed: false |
write: (key) => new Promise((resolve, reject) => { let img = document.createElement("img"); document.body.appendChild(img); img.addEventListener("load", () => resolve(key), {once: true}); img.src = testURI("resource", "image", key); }) read: async (key) => { let img = document.createElement("img"); document.body.appendChild(img); let imgLoadPromise = new Promise((resolve, reject) => { img.addEventListener("load", resolve, {once: true}); }); img.src = testURI("resource", "image", key); await imgLoadPromise; let response = await fetch( testURI("ctr", "image", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: (key) => new Promise((resolve, reject) => { let img = document.createElement("img"); document.body.appendChild(img); img.addEventListener("load", () => resolve(key), {once: true}); img.src = testURI("resource", "image", key); }) read: async (key) => { let img = document.createElement("img"); document.body.appendChild(img); let imgLoadPromise = new Promise((resolve, reject) => { img.addEventListener("load", resolve, {once: true}); }); img.src = testURI("resource", "image", key); await imgLoadPromise; let response = await fetch( testURI("ctr", "image", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: (key) => new Promise((resolve, reject) => { let img = document.createElement("img"); document.body.appendChild(img); img.addEventListener("load", () => resolve(key), {once: true}); img.src = testURI("resource", "image", key); }) read: async (key) => { let img = document.createElement("img"); document.body.appendChild(img); let imgLoadPromise = new Promise((resolve, reject) => { img.addEventListener("load", resolve, {once: true}); }); img.src = testURI("resource", "image", key); await imgLoadPromise; let response = await fetch( testURI("ctr", "image", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same session: 1, 1, 1, 1, 1 result, different session: 1, 1, 1, 1, 1 unsupported: false, false, false, false, false passed: false, false, false, false, false test failed: false, false, false, false, false |
write: (key) => new Promise((resolve, reject) => { let img = document.createElement("img"); document.body.appendChild(img); img.addEventListener("load", () => resolve(key), {once: true}); img.src = testURI("resource", "image", key); }) read: async (key) => { let img = document.createElement("img"); document.body.appendChild(img); let imgLoadPromise = new Promise((resolve, reject) => { img.addEventListener("load", resolve, {once: true}); }); img.src = testURI("resource", "image", key); await imgLoadPromise; let response = await fetch( testURI("ctr", "image", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same session: 1 result, different session: 2 unsupported: false passed: true test failed: false |
write: (key) => new Promise((resolve, reject) => { let img = document.createElement("img"); document.body.appendChild(img); img.addEventListener("load", () => resolve(key), {once: true}); img.src = testURI("resource", "image", key); }) read: async (key) => { let img = document.createElement("img"); document.body.appendChild(img); let imgLoadPromise = new Promise((resolve, reject) => { img.addEventListener("load", resolve, {once: true}); }); img.src = testURI("resource", "image", key); await imgLoadPromise; let response = await fetch( testURI("ctr", "image", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: (key) => new Promise((resolve, reject) => { let img = document.createElement("img"); document.body.appendChild(img); img.addEventListener("load", () => resolve(key), {once: true}); img.src = testURI("resource", "image", key); }) read: async (key) => { let img = document.createElement("img"); document.body.appendChild(img); let imgLoadPromise = new Promise((resolve, reject) => { img.addEventListener("load", resolve, {once: true}); }); img.src = testURI("resource", "image", key); await imgLoadPromise; let response = await fetch( testURI("ctr", "image", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
indexedDB
The IndexedDB API exposes a transactional database to web pages. That database can be used to track users across websites, unless it is partitioned. |
write: async (secret) => { try { return await IdbKeyVal.set("secret", secret); } catch (e) { throw new Error("Unsupported"); } } read: () => IdbKeyVal.get("secret") result, same session: Error: The user denied permission to access the database. result, different session: Error: The user denied permission to access the database. unsupported: true passed: undefined test failed: false |
write: async (secret) => { try { return await IdbKeyVal.set("secret", secret); } catch (e) { throw new Error("Unsupported"); } } read: () => IdbKeyVal.get("secret") result, same session: cfc01c4b-e9b0-4dd0-9e63-71dff9875002_3p result, different session: cfc01c4b-e9b0-4dd0-9e63-71dff9875002_3p unsupported: false passed: false test failed: false |
write: async (secret) => { try { return await IdbKeyVal.set("secret", secret); } catch (e) { throw new Error("Unsupported"); } } read: () => IdbKeyVal.get("secret") result, same session: 4dec08bb-3827-41ae-a277-c2b2a7f3093d_3p result, different session: 4dec08bb-3827-41ae-a277-c2b2a7f3093d_3p unsupported: false passed: false test failed: false |
write: async (secret) => { try { return await IdbKeyVal.set("secret", secret); } catch (e) { throw new Error("Unsupported"); } } read: () => IdbKeyVal.get("secret") result, same session: 4a6a9247-b4e1-4572-8e64-7cb95b774938_3p result, different session: 4a6a9247-b4e1-4572-8e64-7cb95b774938_3p unsupported: false passed: false test failed: false |
write: async (secret) => { try { return await IdbKeyVal.set("secret", secret); } catch (e) { throw new Error("Unsupported"); } } read: () => IdbKeyVal.get("secret") result, same session: de15919a-59b1-4372-8d7e-4fe266a8dd81_3p result, different session: de15919a-59b1-4372-8d7e-4fe266a8dd81_3p unsupported: false passed: false test failed: false |
write: async (secret) => { try { return await IdbKeyVal.set("secret", secret); } catch (e) { throw new Error("Unsupported"); } } read: () => IdbKeyVal.get("secret") result, same session: 04041701-114e-4ffa-a7c3-a94190db6435_3p result, different session: undefined unsupported: false passed: true test failed: false |
write: async (secret) => { try { return await IdbKeyVal.set("secret", secret); } catch (e) { throw new Error("Unsupported"); } } read: () => IdbKeyVal.get("secret") result, same session: 2c30e905-89f9-43e0-8121-691bfd8d8d4b_3p result, different session: 2c30e905-89f9-43e0-8121-691bfd8d8d4b_3p unsupported: false passed: false test failed: false |
write: async (secret) => { try { return await IdbKeyVal.set("secret", secret); } catch (e) { throw new Error("Unsupported"); } } read: () => IdbKeyVal.get("secret") result, same session: 4de5d046-d641-4de4-853d-2deaee2f77a8_3p result, different session: 4de5d046-d641-4de4-853d-2deaee2f77a8_3p unsupported: false passed: false test failed: false |
write: async (secret) => { try { return await IdbKeyVal.set("secret", secret); } catch (e) { throw new Error("Unsupported"); } } read: () => IdbKeyVal.get("secret") result, same session: 5a50b218-e9bb-4d6c-ab8e-cdb6777c4ca6_3p, 52109630-975b-4a25-b271-1b40345014b9_3p, 09b12ba4-febb-406c-ae01-a3222c01e9d0_3p, e31a8827-fbbc-4f17-8ff4-0dd018412883_3p, 2e3465ba-9d71-4a78-956f-a7436760f50e_3p result, different session: 5a50b218-e9bb-4d6c-ab8e-cdb6777c4ca6_3p, 52109630-975b-4a25-b271-1b40345014b9_3p, 09b12ba4-febb-406c-ae01-a3222c01e9d0_3p, e31a8827-fbbc-4f17-8ff4-0dd018412883_3p, 2e3465ba-9d71-4a78-956f-a7436760f50e_3p unsupported: false, false, false, false, false passed: false, false, false, false, false test failed: false, false, false, false, false |
write: async (secret) => { try { return await IdbKeyVal.set("secret", secret); } catch (e) { throw new Error("Unsupported"); } } read: () => IdbKeyVal.get("secret") result, same session: Error: The operation is insecure. result, different session: Error: The operation is insecure. unsupported: true passed: undefined test failed: false |
write: async (secret) => { try { return await IdbKeyVal.set("secret", secret); } catch (e) { throw new Error("Unsupported"); } } read: () => IdbKeyVal.get("secret") result, same session: 6b2aeaa1-68b1-4cfa-8eb0-358668aeaf73_3p result, different session: 6b2aeaa1-68b1-4cfa-8eb0-358668aeaf73_3p unsupported: false passed: false test failed: false |
write: async (secret) => { try { return await IdbKeyVal.set("secret", secret); } catch (e) { throw new Error("Unsupported"); } } read: () => IdbKeyVal.get("secret") result, same session: 83d2a636-d42f-4755-afec-86f894c67881_3p result, different session: 83d2a636-d42f-4755-afec-86f894c67881_3p unsupported: false passed: false test failed: false |
localStorage
The localStorage API gives websites access to a key-value database that will remain available across visits. If the localStorage API is not partitioned or blocked, it can also be used to track users across websites. |
write: (secret) => localStorage.setItem("secret", secret) read: () => localStorage.getItem("secret") result, same session: 395728fd-45b1-483b-aae3-30840614c71f_3p result, different session: null unsupported: false passed: true test failed: false |
write: (secret) => localStorage.setItem("secret", secret) read: () => localStorage.getItem("secret") result, same session: cfc01c4b-e9b0-4dd0-9e63-71dff9875002_3p result, different session: cfc01c4b-e9b0-4dd0-9e63-71dff9875002_3p unsupported: false passed: false test failed: false |
write: (secret) => localStorage.setItem("secret", secret) read: () => localStorage.getItem("secret") result, same session: 4dec08bb-3827-41ae-a277-c2b2a7f3093d_3p result, different session: 4dec08bb-3827-41ae-a277-c2b2a7f3093d_3p unsupported: false passed: false test failed: false |
write: (secret) => localStorage.setItem("secret", secret) read: () => localStorage.getItem("secret") result, same session: 4a6a9247-b4e1-4572-8e64-7cb95b774938_3p result, different session: 4a6a9247-b4e1-4572-8e64-7cb95b774938_3p unsupported: false passed: false test failed: false |
write: (secret) => localStorage.setItem("secret", secret) read: () => localStorage.getItem("secret") result, same session: de15919a-59b1-4372-8d7e-4fe266a8dd81_3p result, different session: de15919a-59b1-4372-8d7e-4fe266a8dd81_3p unsupported: false passed: false test failed: false |
write: (secret) => localStorage.setItem("secret", secret) read: () => localStorage.getItem("secret") result, same session: 04041701-114e-4ffa-a7c3-a94190db6435_3p result, different session: null unsupported: false passed: true test failed: false |
write: (secret) => localStorage.setItem("secret", secret) read: () => localStorage.getItem("secret") result, same session: 2c30e905-89f9-43e0-8121-691bfd8d8d4b_3p result, different session: 2c30e905-89f9-43e0-8121-691bfd8d8d4b_3p unsupported: false passed: false test failed: false |
write: (secret) => localStorage.setItem("secret", secret) read: () => localStorage.getItem("secret") result, same session: 4de5d046-d641-4de4-853d-2deaee2f77a8_3p result, different session: 4de5d046-d641-4de4-853d-2deaee2f77a8_3p unsupported: false passed: false test failed: false |
write: (secret) => localStorage.setItem("secret", secret) read: () => localStorage.getItem("secret") result, same session: 5a50b218-e9bb-4d6c-ab8e-cdb6777c4ca6_3p, 52109630-975b-4a25-b271-1b40345014b9_3p, 09b12ba4-febb-406c-ae01-a3222c01e9d0_3p, e31a8827-fbbc-4f17-8ff4-0dd018412883_3p, 2e3465ba-9d71-4a78-956f-a7436760f50e_3p result, different session: 5a50b218-e9bb-4d6c-ab8e-cdb6777c4ca6_3p, 52109630-975b-4a25-b271-1b40345014b9_3p, 09b12ba4-febb-406c-ae01-a3222c01e9d0_3p, e31a8827-fbbc-4f17-8ff4-0dd018412883_3p, 2e3465ba-9d71-4a78-956f-a7436760f50e_3p unsupported: false, false, false, false, false passed: false, false, false, false, false test failed: false, false, false, false, false |
write: (secret) => localStorage.setItem("secret", secret) read: () => localStorage.getItem("secret") result, same session: Error: The operation is insecure. result, different session: Error: The operation is insecure. unsupported: true passed: undefined test failed: false |
write: (secret) => localStorage.setItem("secret", secret) read: () => localStorage.getItem("secret") result, same session: 6b2aeaa1-68b1-4cfa-8eb0-358668aeaf73_3p result, different session: 6b2aeaa1-68b1-4cfa-8eb0-358668aeaf73_3p unsupported: false passed: false test failed: false |
write: (secret) => localStorage.setItem("secret", secret) read: () => localStorage.getItem("secret") result, same session: 83d2a636-d42f-4755-afec-86f894c67881_3p result, different session: 83d2a636-d42f-4755-afec-86f894c67881_3p unsupported: false passed: false test failed: false |
prefetch cache
A <link rel='prefetch'...> suggests to browsers they should fetch a resource ahead of time and cache it. But if browsers don't partition this cache, it can be used to track users across websites. |
write: async (key) => { let link = document.createElement("link"); link.rel = "prefetch"; link.href = testURI("resource", "prefetch", key); document.getElementsByTagName("head")[0].appendChild(link); return key; } read: async (key) => { let link = document.createElement("link"); link.rel = "prefetch"; link.href = testURI("resource", "prefetch", key); document.getElementsByTagName("head")[0].appendChild(link); await sleepMs(500); let response = await fetch( testURI("ctr", "prefetch", key), {"cache": "reload"}); let countString = (await response.text()).trim(); if (parseInt(countString) === 0) { throw new Error("No requests received"); } return countString; } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: async (key) => { let link = document.createElement("link"); link.rel = "prefetch"; link.href = testURI("resource", "prefetch", key); document.getElementsByTagName("head")[0].appendChild(link); return key; } read: async (key) => { let link = document.createElement("link"); link.rel = "prefetch"; link.href = testURI("resource", "prefetch", key); document.getElementsByTagName("head")[0].appendChild(link); await sleepMs(500); let response = await fetch( testURI("ctr", "prefetch", key), {"cache": "reload"}); let countString = (await response.text()).trim(); if (parseInt(countString) === 0) { throw new Error("No requests received"); } return countString; } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: async (key) => { let link = document.createElement("link"); link.rel = "prefetch"; link.href = testURI("resource", "prefetch", key); document.getElementsByTagName("head")[0].appendChild(link); return key; } read: async (key) => { let link = document.createElement("link"); link.rel = "prefetch"; link.href = testURI("resource", "prefetch", key); document.getElementsByTagName("head")[0].appendChild(link); await sleepMs(500); let response = await fetch( testURI("ctr", "prefetch", key), {"cache": "reload"}); let countString = (await response.text()).trim(); if (parseInt(countString) === 0) { throw new Error("No requests received"); } return countString; } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: async (key) => { let link = document.createElement("link"); link.rel = "prefetch"; link.href = testURI("resource", "prefetch", key); document.getElementsByTagName("head")[0].appendChild(link); return key; } read: async (key) => { let link = document.createElement("link"); link.rel = "prefetch"; link.href = testURI("resource", "prefetch", key); document.getElementsByTagName("head")[0].appendChild(link); await sleepMs(500); let response = await fetch( testURI("ctr", "prefetch", key), {"cache": "reload"}); let countString = (await response.text()).trim(); if (parseInt(countString) === 0) { throw new Error("No requests received"); } return countString; } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: async (key) => { let link = document.createElement("link"); link.rel = "prefetch"; link.href = testURI("resource", "prefetch", key); document.getElementsByTagName("head")[0].appendChild(link); return key; } read: async (key) => { let link = document.createElement("link"); link.rel = "prefetch"; link.href = testURI("resource", "prefetch", key); document.getElementsByTagName("head")[0].appendChild(link); await sleepMs(500); let response = await fetch( testURI("ctr", "prefetch", key), {"cache": "reload"}); let countString = (await response.text()).trim(); if (parseInt(countString) === 0) { throw new Error("No requests received"); } return countString; } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: async (key) => { let link = document.createElement("link"); link.rel = "prefetch"; link.href = testURI("resource", "prefetch", key); document.getElementsByTagName("head")[0].appendChild(link); return key; } read: async (key) => { let link = document.createElement("link"); link.rel = "prefetch"; link.href = testURI("resource", "prefetch", key); document.getElementsByTagName("head")[0].appendChild(link); await sleepMs(500); let response = await fetch( testURI("ctr", "prefetch", key), {"cache": "reload"}); let countString = (await response.text()).trim(); if (parseInt(countString) === 0) { throw new Error("No requests received"); } return countString; } result, same session: 1 result, different session: 2 unsupported: false passed: true test failed: false |
write: async (key) => { let link = document.createElement("link"); link.rel = "prefetch"; link.href = testURI("resource", "prefetch", key); document.getElementsByTagName("head")[0].appendChild(link); return key; } read: async (key) => { let link = document.createElement("link"); link.rel = "prefetch"; link.href = testURI("resource", "prefetch", key); document.getElementsByTagName("head")[0].appendChild(link); await sleepMs(500); let response = await fetch( testURI("ctr", "prefetch", key), {"cache": "reload"}); let countString = (await response.text()).trim(); if (parseInt(countString) === 0) { throw new Error("No requests received"); } return countString; } result, same session: Error: No requests received result, different session: Error: No requests received unsupported: true passed: undefined test failed: false |
write: async (key) => { let link = document.createElement("link"); link.rel = "prefetch"; link.href = testURI("resource", "prefetch", key); document.getElementsByTagName("head")[0].appendChild(link); return key; } read: async (key) => { let link = document.createElement("link"); link.rel = "prefetch"; link.href = testURI("resource", "prefetch", key); document.getElementsByTagName("head")[0].appendChild(link); await sleepMs(500); let response = await fetch( testURI("ctr", "prefetch", key), {"cache": "reload"}); let countString = (await response.text()).trim(); if (parseInt(countString) === 0) { throw new Error("No requests received"); } return countString; } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: async (key) => { let link = document.createElement("link"); link.rel = "prefetch"; link.href = testURI("resource", "prefetch", key); document.getElementsByTagName("head")[0].appendChild(link); return key; } read: async (key) => { let link = document.createElement("link"); link.rel = "prefetch"; link.href = testURI("resource", "prefetch", key); document.getElementsByTagName("head")[0].appendChild(link); await sleepMs(500); let response = await fetch( testURI("ctr", "prefetch", key), {"cache": "reload"}); let countString = (await response.text()).trim(); if (parseInt(countString) === 0) { throw new Error("No requests received"); } return countString; } result, same session: 1, 1, 1, 1, 1 result, different session: 1, 1, 1, 1, 1 unsupported: false, false, false, false, false passed: false, false, false, false, false test failed: false, false, false, false, false |
write: async (key) => { let link = document.createElement("link"); link.rel = "prefetch"; link.href = testURI("resource", "prefetch", key); document.getElementsByTagName("head")[0].appendChild(link); return key; } read: async (key) => { let link = document.createElement("link"); link.rel = "prefetch"; link.href = testURI("resource", "prefetch", key); document.getElementsByTagName("head")[0].appendChild(link); await sleepMs(500); let response = await fetch( testURI("ctr", "prefetch", key), {"cache": "reload"}); let countString = (await response.text()).trim(); if (parseInt(countString) === 0) { throw new Error("No requests received"); } return countString; } result, same session: Error: No requests received result, different session: Error: No requests received unsupported: true passed: undefined test failed: false |
write: async (key) => { let link = document.createElement("link"); link.rel = "prefetch"; link.href = testURI("resource", "prefetch", key); document.getElementsByTagName("head")[0].appendChild(link); return key; } read: async (key) => { let link = document.createElement("link"); link.rel = "prefetch"; link.href = testURI("resource", "prefetch", key); document.getElementsByTagName("head")[0].appendChild(link); await sleepMs(500); let response = await fetch( testURI("ctr", "prefetch", key), {"cache": "reload"}); let countString = (await response.text()).trim(); if (parseInt(countString) === 0) { throw new Error("No requests received"); } return countString; } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: async (key) => { let link = document.createElement("link"); link.rel = "prefetch"; link.href = testURI("resource", "prefetch", key); document.getElementsByTagName("head")[0].appendChild(link); return key; } read: async (key) => { let link = document.createElement("link"); link.rel = "prefetch"; link.href = testURI("resource", "prefetch", key); document.getElementsByTagName("head")[0].appendChild(link); await sleepMs(500); let response = await fetch( testURI("ctr", "prefetch", key), {"cache": "reload"}); let countString = (await response.text()).trim(); if (parseInt(countString) === 0) { throw new Error("No requests received"); } return countString; } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
script cache
Caching of scripts in web browsers is a standard behavior. But if that cache leaks between websites, it can be abused for cross-site tracking. |
write: (key) => new Promise((resolve, reject) => { let script = document.createElement("script"); document.body.appendChild(script); script.addEventListener("load", () => resolve(key), {once: true}); script.src = testURI("resource", "script", key); }) read: async (key) => { let script = document.createElement("script"); document.body.appendChild(script); let scriptLoadPromise = new Promise((resolve, reject) => { script.addEventListener("load", resolve, {once: true}); }); script.src = testURI("resource", "script", key); await scriptLoadPromise; let response = await fetch( testURI("ctr", "script", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: (key) => new Promise((resolve, reject) => { let script = document.createElement("script"); document.body.appendChild(script); script.addEventListener("load", () => resolve(key), {once: true}); script.src = testURI("resource", "script", key); }) read: async (key) => { let script = document.createElement("script"); document.body.appendChild(script); let scriptLoadPromise = new Promise((resolve, reject) => { script.addEventListener("load", resolve, {once: true}); }); script.src = testURI("resource", "script", key); await scriptLoadPromise; let response = await fetch( testURI("ctr", "script", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: (key) => new Promise((resolve, reject) => { let script = document.createElement("script"); document.body.appendChild(script); script.addEventListener("load", () => resolve(key), {once: true}); script.src = testURI("resource", "script", key); }) read: async (key) => { let script = document.createElement("script"); document.body.appendChild(script); let scriptLoadPromise = new Promise((resolve, reject) => { script.addEventListener("load", resolve, {once: true}); }); script.src = testURI("resource", "script", key); await scriptLoadPromise; let response = await fetch( testURI("ctr", "script", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: (key) => new Promise((resolve, reject) => { let script = document.createElement("script"); document.body.appendChild(script); script.addEventListener("load", () => resolve(key), {once: true}); script.src = testURI("resource", "script", key); }) read: async (key) => { let script = document.createElement("script"); document.body.appendChild(script); let scriptLoadPromise = new Promise((resolve, reject) => { script.addEventListener("load", resolve, {once: true}); }); script.src = testURI("resource", "script", key); await scriptLoadPromise; let response = await fetch( testURI("ctr", "script", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: (key) => new Promise((resolve, reject) => { let script = document.createElement("script"); document.body.appendChild(script); script.addEventListener("load", () => resolve(key), {once: true}); script.src = testURI("resource", "script", key); }) read: async (key) => { let script = document.createElement("script"); document.body.appendChild(script); let scriptLoadPromise = new Promise((resolve, reject) => { script.addEventListener("load", resolve, {once: true}); }); script.src = testURI("resource", "script", key); await scriptLoadPromise; let response = await fetch( testURI("ctr", "script", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: (key) => new Promise((resolve, reject) => { let script = document.createElement("script"); document.body.appendChild(script); script.addEventListener("load", () => resolve(key), {once: true}); script.src = testURI("resource", "script", key); }) read: async (key) => { let script = document.createElement("script"); document.body.appendChild(script); let scriptLoadPromise = new Promise((resolve, reject) => { script.addEventListener("load", resolve, {once: true}); }); script.src = testURI("resource", "script", key); await scriptLoadPromise; let response = await fetch( testURI("ctr", "script", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same session: 1 result, different session: 2 unsupported: false passed: true test failed: false |
write: (key) => new Promise((resolve, reject) => { let script = document.createElement("script"); document.body.appendChild(script); script.addEventListener("load", () => resolve(key), {once: true}); script.src = testURI("resource", "script", key); }) read: async (key) => { let script = document.createElement("script"); document.body.appendChild(script); let scriptLoadPromise = new Promise((resolve, reject) => { script.addEventListener("load", resolve, {once: true}); }); script.src = testURI("resource", "script", key); await scriptLoadPromise; let response = await fetch( testURI("ctr", "script", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: (key) => new Promise((resolve, reject) => { let script = document.createElement("script"); document.body.appendChild(script); script.addEventListener("load", () => resolve(key), {once: true}); script.src = testURI("resource", "script", key); }) read: async (key) => { let script = document.createElement("script"); document.body.appendChild(script); let scriptLoadPromise = new Promise((resolve, reject) => { script.addEventListener("load", resolve, {once: true}); }); script.src = testURI("resource", "script", key); await scriptLoadPromise; let response = await fetch( testURI("ctr", "script", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: (key) => new Promise((resolve, reject) => { let script = document.createElement("script"); document.body.appendChild(script); script.addEventListener("load", () => resolve(key), {once: true}); script.src = testURI("resource", "script", key); }) read: async (key) => { let script = document.createElement("script"); document.body.appendChild(script); let scriptLoadPromise = new Promise((resolve, reject) => { script.addEventListener("load", resolve, {once: true}); }); script.src = testURI("resource", "script", key); await scriptLoadPromise; let response = await fetch( testURI("ctr", "script", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same session: 1, 1, 1, 1, 1 result, different session: 1, 1, 1, 1, 1 unsupported: false, false, false, false, false passed: false, false, false, false, false test failed: false, false, false, false, false |
write: (key) => new Promise((resolve, reject) => { let script = document.createElement("script"); document.body.appendChild(script); script.addEventListener("load", () => resolve(key), {once: true}); script.src = testURI("resource", "script", key); }) read: async (key) => { let script = document.createElement("script"); document.body.appendChild(script); let scriptLoadPromise = new Promise((resolve, reject) => { script.addEventListener("load", resolve, {once: true}); }); script.src = testURI("resource", "script", key); await scriptLoadPromise; let response = await fetch( testURI("ctr", "script", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same session: 1 result, different session: 2 unsupported: false passed: true test failed: false |
write: (key) => new Promise((resolve, reject) => { let script = document.createElement("script"); document.body.appendChild(script); script.addEventListener("load", () => resolve(key), {once: true}); script.src = testURI("resource", "script", key); }) read: async (key) => { let script = document.createElement("script"); document.body.appendChild(script); let scriptLoadPromise = new Promise((resolve, reject) => { script.addEventListener("load", resolve, {once: true}); }); script.src = testURI("resource", "script", key); await scriptLoadPromise; let response = await fetch( testURI("ctr", "script", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: (key) => new Promise((resolve, reject) => { let script = document.createElement("script"); document.body.appendChild(script); script.addEventListener("load", () => resolve(key), {once: true}); script.src = testURI("resource", "script", key); }) read: async (key) => { let script = document.createElement("script"); document.body.appendChild(script); let scriptLoadPromise = new Promise((resolve, reject) => { script.addEventListener("load", resolve, {once: true}); }); script.src = testURI("resource", "script", key); await scriptLoadPromise; let response = await fetch( testURI("ctr", "script", key), {"cache": "reload"}); return (await response.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
XMLHttpRequest cache
Similar to the newer Fetch API, any resource received may be cached by the browser. The cache is potentially vulnerable to cross-site tracking attack. |
write: async (key) => { const req = new XMLHttpRequest(); const loadPromise = new Promise(resolve => req.addEventListener("load", resolve)); req.open("GET", testURI("resource", "xhr", key)); req.send(); await loadPromise; return key; } read: async (key) => { const req = new XMLHttpRequest(); const loadPromise = new Promise(resolve => req.addEventListener("load", resolve)); req.open("GET", testURI("resource", "xhr", key)); req.send(); await loadPromise; let countResponse = await fetch(testURI("ctr", "xhr", key), {cache: "reload"}); return (await countResponse.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: async (key) => { const req = new XMLHttpRequest(); const loadPromise = new Promise(resolve => req.addEventListener("load", resolve)); req.open("GET", testURI("resource", "xhr", key)); req.send(); await loadPromise; return key; } read: async (key) => { const req = new XMLHttpRequest(); const loadPromise = new Promise(resolve => req.addEventListener("load", resolve)); req.open("GET", testURI("resource", "xhr", key)); req.send(); await loadPromise; let countResponse = await fetch(testURI("ctr", "xhr", key), {cache: "reload"}); return (await countResponse.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: async (key) => { const req = new XMLHttpRequest(); const loadPromise = new Promise(resolve => req.addEventListener("load", resolve)); req.open("GET", testURI("resource", "xhr", key)); req.send(); await loadPromise; return key; } read: async (key) => { const req = new XMLHttpRequest(); const loadPromise = new Promise(resolve => req.addEventListener("load", resolve)); req.open("GET", testURI("resource", "xhr", key)); req.send(); await loadPromise; let countResponse = await fetch(testURI("ctr", "xhr", key), {cache: "reload"}); return (await countResponse.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: async (key) => { const req = new XMLHttpRequest(); const loadPromise = new Promise(resolve => req.addEventListener("load", resolve)); req.open("GET", testURI("resource", "xhr", key)); req.send(); await loadPromise; return key; } read: async (key) => { const req = new XMLHttpRequest(); const loadPromise = new Promise(resolve => req.addEventListener("load", resolve)); req.open("GET", testURI("resource", "xhr", key)); req.send(); await loadPromise; let countResponse = await fetch(testURI("ctr", "xhr", key), {cache: "reload"}); return (await countResponse.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: async (key) => { const req = new XMLHttpRequest(); const loadPromise = new Promise(resolve => req.addEventListener("load", resolve)); req.open("GET", testURI("resource", "xhr", key)); req.send(); await loadPromise; return key; } read: async (key) => { const req = new XMLHttpRequest(); const loadPromise = new Promise(resolve => req.addEventListener("load", resolve)); req.open("GET", testURI("resource", "xhr", key)); req.send(); await loadPromise; let countResponse = await fetch(testURI("ctr", "xhr", key), {cache: "reload"}); return (await countResponse.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: async (key) => { const req = new XMLHttpRequest(); const loadPromise = new Promise(resolve => req.addEventListener("load", resolve)); req.open("GET", testURI("resource", "xhr", key)); req.send(); await loadPromise; return key; } read: async (key) => { const req = new XMLHttpRequest(); const loadPromise = new Promise(resolve => req.addEventListener("load", resolve)); req.open("GET", testURI("resource", "xhr", key)); req.send(); await loadPromise; let countResponse = await fetch(testURI("ctr", "xhr", key), {cache: "reload"}); return (await countResponse.text()).trim(); } result, same session: 1 result, different session: 2 unsupported: false passed: true test failed: false |
write: async (key) => { const req = new XMLHttpRequest(); const loadPromise = new Promise(resolve => req.addEventListener("load", resolve)); req.open("GET", testURI("resource", "xhr", key)); req.send(); await loadPromise; return key; } read: async (key) => { const req = new XMLHttpRequest(); const loadPromise = new Promise(resolve => req.addEventListener("load", resolve)); req.open("GET", testURI("resource", "xhr", key)); req.send(); await loadPromise; let countResponse = await fetch(testURI("ctr", "xhr", key), {cache: "reload"}); return (await countResponse.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: async (key) => { const req = new XMLHttpRequest(); const loadPromise = new Promise(resolve => req.addEventListener("load", resolve)); req.open("GET", testURI("resource", "xhr", key)); req.send(); await loadPromise; return key; } read: async (key) => { const req = new XMLHttpRequest(); const loadPromise = new Promise(resolve => req.addEventListener("load", resolve)); req.open("GET", testURI("resource", "xhr", key)); req.send(); await loadPromise; let countResponse = await fetch(testURI("ctr", "xhr", key), {cache: "reload"}); return (await countResponse.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: async (key) => { const req = new XMLHttpRequest(); const loadPromise = new Promise(resolve => req.addEventListener("load", resolve)); req.open("GET", testURI("resource", "xhr", key)); req.send(); await loadPromise; return key; } read: async (key) => { const req = new XMLHttpRequest(); const loadPromise = new Promise(resolve => req.addEventListener("load", resolve)); req.open("GET", testURI("resource", "xhr", key)); req.send(); await loadPromise; let countResponse = await fetch(testURI("ctr", "xhr", key), {cache: "reload"}); return (await countResponse.text()).trim(); } result, same session: 1, 1, 1, 1, 1 result, different session: 1, 1, 1, 1, 1 unsupported: false, false, false, false, false passed: false, false, false, false, false test failed: false, false, false, false, false |
write: async (key) => { const req = new XMLHttpRequest(); const loadPromise = new Promise(resolve => req.addEventListener("load", resolve)); req.open("GET", testURI("resource", "xhr", key)); req.send(); await loadPromise; return key; } read: async (key) => { const req = new XMLHttpRequest(); const loadPromise = new Promise(resolve => req.addEventListener("load", resolve)); req.open("GET", testURI("resource", "xhr", key)); req.send(); await loadPromise; let countResponse = await fetch(testURI("ctr", "xhr", key), {cache: "reload"}); return (await countResponse.text()).trim(); } result, same session: 1 result, different session: 2 unsupported: false passed: true test failed: false |
write: async (key) => { const req = new XMLHttpRequest(); const loadPromise = new Promise(resolve => req.addEventListener("load", resolve)); req.open("GET", testURI("resource", "xhr", key)); req.send(); await loadPromise; return key; } read: async (key) => { const req = new XMLHttpRequest(); const loadPromise = new Promise(resolve => req.addEventListener("load", resolve)); req.open("GET", testURI("resource", "xhr", key)); req.send(); await loadPromise; let countResponse = await fetch(testURI("ctr", "xhr", key), {cache: "reload"}); return (await countResponse.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |
write: async (key) => { const req = new XMLHttpRequest(); const loadPromise = new Promise(resolve => req.addEventListener("load", resolve)); req.open("GET", testURI("resource", "xhr", key)); req.send(); await loadPromise; return key; } read: async (key) => { const req = new XMLHttpRequest(); const loadPromise = new Promise(resolve => req.addEventListener("load", resolve)); req.open("GET", testURI("resource", "xhr", key)); req.send(); await loadPromise; let countResponse = await fetch(testURI("ctr", "xhr", key), {cache: "reload"}); return (await countResponse.text()).trim(); } result, same session: 1 result, different session: 1 unsupported: false passed: false test failed: false |