(default settings)
|
brave 1.64 |
chrome 123.0 |
duckduckgo 1.58 |
edge 123.0 |
firefox 123.0a1 |
opera 108.0 |
safari 17.4 |
tor 13.5a4 |
vivaldi 6.6 |
---|---|---|---|---|---|---|---|---|---|
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, h3, h3 result, different first party: h2, h2, h2 unsupported: false, false, false passed: true, true, true test failed: 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: h3, h3 result, different first party: h2, h2 unsupported: false, false passed: true, true test failed: 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, Error: Unsupported, Error: Unsupported, Error: Unsupported result, different first party: h2, h2, h2, h2 unsupported: true, true, true, true passed: undefined test failed: 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: h3, h3, h3 result, different first party: h2, h2, h2 unsupported: false, false, false passed: true, true, true test failed: 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: h3, h3, h3 result, different first party: h2, h2, h2 unsupported: false, false, false passed: true, true, true test failed: 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: h3, h3 result, different first party: h2, h2 unsupported: false, false passed: true, true test failed: 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, Error: Unsupported, Error: Unsupported result, different first party: h2, h2, h2 unsupported: true, true, true passed: undefined test failed: 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, Error: Unsupported result, different first party: h2, h2 unsupported: true, true passed: undefined test failed: 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: h3, h3, h3 result, different first party: h2, h2, h2 unsupported: false, false, false passed: true, true, true test failed: false, false, 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: b85ca32d-e983-45a3-9fcd-397953221748, 498026b0-cd0c-40ce-8f8b-beb773704d24, ab00ad24-34b0-46cd-afbd-b979d513ffc5 result, different first party: Error: Failed to fetch, Error: Failed to fetch, Error: Failed to fetch unsupported: false, false, false passed: true, true, true test failed: 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: aea789cd-5932-4f96-8600-bdf5a4a3d42f, 75af5a0c-0041-4d02-96ed-9fe72600663f result, different first party: aea789cd-5932-4f96-8600-bdf5a4a3d42f, 75af5a0c-0041-4d02-96ed-9fe72600663f unsupported: false, false passed: false, false test failed: 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: 97ec8041-b6d1-4809-8bc0-362e9247e755, 59503190-8263-45a5-92bf-8e6899d0e57f, 6deda474-af03-4659-8626-26e498286d0b, e95dff4e-71b2-429b-98a0-89a4f1bdf612 result, different first party: Error: Load failed, Error: Load failed, Error: Load failed, Error: Load failed unsupported: false, false, false, false passed: true, true, true, true test failed: 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: 34985076-425c-46c3-9413-e94d5fe54a0c, 3225c7dc-a182-40da-8101-7e50e78e1624, 71ba7e98-31bf-4e3d-9e25-ed8d581d93c9 result, different first party: 34985076-425c-46c3-9413-e94d5fe54a0c, 3225c7dc-a182-40da-8101-7e50e78e1624, 71ba7e98-31bf-4e3d-9e25-ed8d581d93c9 unsupported: false, false, false passed: false, false, false test failed: 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: 206e6877-f037-4ed7-967f-7e754a18833c, 24941163-6b8d-486a-b253-aae4cd6593a3, 64e3432a-c49c-4648-99b2-e1a565c0e486 result, different first party: Error: NetworkError when attempting to fetch resource., Error: NetworkError when attempting to fetch resource., Error: NetworkError when attempting to fetch resource. unsupported: false, false, false passed: true, true, true test failed: 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: 584058ed-6a62-4421-8872-a7a4ff86abc1, c77d14f8-6224-4809-a2dd-67e9cac1807c result, different first party: 584058ed-6a62-4421-8872-a7a4ff86abc1, c77d14f8-6224-4809-a2dd-67e9cac1807c unsupported: false, false passed: false, false test failed: 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: 27c270d5-e62d-466d-a5bb-47a9a79c96bc, fbc71f37-17e1-4b20-9dd9-9b2c598d7a1c, 745a0a43-27e4-4daf-920d-ab4b90e7f6ed result, different first party: Error: Load failed, Error: Load failed, Error: Load failed unsupported: false, false, false passed: true, true, true test failed: 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: b6379b39-d029-45ce-b9a8-1b04bf9df9df, 7404e62b-0c40-4a1b-8a53-655f1cfdbe78 result, different first party: Error: NetworkError when attempting to fetch resource., Error: NetworkError when attempting to fetch resource. unsupported: false, false passed: true, true test failed: 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: 7e1f274d-f77e-418b-b6c2-b822e830036f, eabace17-9ce1-4f03-87c9-9ac0de883eb9, 5592107e-1002-4b3b-88d6-b0168b0810ef result, different first party: 7e1f274d-f77e-418b-b6c2-b822e830036f, eabace17-9ce1-4f03-87c9-9ac0de883eb9, 5592107e-1002-4b3b-88d6-b0168b0810ef unsupported: false, false, false passed: false, false, false test failed: false, false, 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: b85ca32d-e983-45a3-9fcd-397953221748, 498026b0-cd0c-40ce-8f8b-beb773704d24, ab00ad24-34b0-46cd-afbd-b979d513ffc5 result, different first party: Error: no BroadcastChannel message, Error: no BroadcastChannel message, Error: no BroadcastChannel message unsupported: false, false, false passed: true, true, true test failed: false, false, false |
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: aea789cd-5932-4f96-8600-bdf5a4a3d42f, 75af5a0c-0041-4d02-96ed-9fe72600663f result, different first party: Error: no BroadcastChannel message, Error: no BroadcastChannel message unsupported: false, false passed: true, true test failed: false, false |
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: 97ec8041-b6d1-4809-8bc0-362e9247e755, 59503190-8263-45a5-92bf-8e6899d0e57f, 6deda474-af03-4659-8626-26e498286d0b, e95dff4e-71b2-429b-98a0-89a4f1bdf612 result, different first party: Error: no BroadcastChannel message, Error: no BroadcastChannel message, Error: no BroadcastChannel message, Error: no BroadcastChannel message unsupported: false, false, false, false passed: true, true, true, true test failed: false, false, false, false |
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: 34985076-425c-46c3-9413-e94d5fe54a0c, 3225c7dc-a182-40da-8101-7e50e78e1624, 71ba7e98-31bf-4e3d-9e25-ed8d581d93c9 result, different first party: Error: no BroadcastChannel message, Error: no BroadcastChannel message, Error: no BroadcastChannel message unsupported: false, false, false passed: true, true, true test failed: false, false, false |
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: 206e6877-f037-4ed7-967f-7e754a18833c, 24941163-6b8d-486a-b253-aae4cd6593a3, 64e3432a-c49c-4648-99b2-e1a565c0e486 result, different first party: Error: no BroadcastChannel message, Error: no BroadcastChannel message, Error: no BroadcastChannel message unsupported: false, false, false passed: true, true, true test failed: false, false, false |
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: 584058ed-6a62-4421-8872-a7a4ff86abc1, c77d14f8-6224-4809-a2dd-67e9cac1807c result, different first party: Error: no BroadcastChannel message, Error: no BroadcastChannel message unsupported: false, false passed: true, true test failed: false, false |
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: 27c270d5-e62d-466d-a5bb-47a9a79c96bc, fbc71f37-17e1-4b20-9dd9-9b2c598d7a1c, 745a0a43-27e4-4daf-920d-ab4b90e7f6ed result, different first party: Error: no BroadcastChannel message, Error: no BroadcastChannel message, Error: no BroadcastChannel message unsupported: false, false, false passed: true, true, true test failed: false, false, false |
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: b6379b39-d029-45ce-b9a8-1b04bf9df9df, 7404e62b-0c40-4a1b-8a53-655f1cfdbe78 result, different first party: Error: The operation is insecure., Error: The operation is insecure. unsupported: false, false passed: true, true test failed: false, false |
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: 7e1f274d-f77e-418b-b6c2-b822e830036f, eabace17-9ce1-4f03-87c9-9ac0de883eb9, 5592107e-1002-4b3b-88d6-b0168b0810ef result, different first party: Error: no BroadcastChannel message, Error: no BroadcastChannel message, Error: no BroadcastChannel message unsupported: false, false, false passed: true, true, true test failed: false, false, 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 first party: b85ca32d-e983-45a3-9fcd-397953221748, 498026b0-cd0c-40ce-8f8b-beb773704d24, ab00ad24-34b0-46cd-afbd-b979d513ffc5 result, different first party: Error: Cannot read properties of undefined (reading 'url'), Error: Cannot read properties of undefined (reading 'url'), Error: Cannot read properties of undefined (reading 'url') unsupported: false, false, false passed: true, true, true test failed: 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: aea789cd-5932-4f96-8600-bdf5a4a3d42f, 75af5a0c-0041-4d02-96ed-9fe72600663f result, different first party: Error: Cannot read properties of undefined (reading 'url'), Error: Cannot read properties of undefined (reading 'url') unsupported: false, false passed: true, true test failed: 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: 97ec8041-b6d1-4809-8bc0-362e9247e755, 59503190-8263-45a5-92bf-8e6899d0e57f, 6deda474-af03-4659-8626-26e498286d0b, e95dff4e-71b2-429b-98a0-89a4f1bdf612 result, different first party: Error: undefined is not an object (evaluating 'cacheKeys[0].url'), Error: undefined is not an object (evaluating 'cacheKeys[0].url'), Error: undefined is not an object (evaluating 'cacheKeys[0].url'), Error: undefined is not an object (evaluating 'cacheKeys[0].url') unsupported: false, false, false, false passed: true, true, true, true test failed: 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: 34985076-425c-46c3-9413-e94d5fe54a0c, 3225c7dc-a182-40da-8101-7e50e78e1624, 71ba7e98-31bf-4e3d-9e25-ed8d581d93c9 result, different first party: Error: Cannot read properties of undefined (reading 'url'), Error: Cannot read properties of undefined (reading 'url'), Error: Cannot read properties of undefined (reading 'url') unsupported: false, false, false passed: true, true, true test failed: 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: 206e6877-f037-4ed7-967f-7e754a18833c, 24941163-6b8d-486a-b253-aae4cd6593a3, 64e3432a-c49c-4648-99b2-e1a565c0e486 result, different first party: Error: can't access property "url", cacheKeys[0] is undefined, Error: can't access property "url", cacheKeys[0] is undefined, Error: can't access property "url", cacheKeys[0] is undefined unsupported: false, false, false passed: true, true, true test failed: 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: 584058ed-6a62-4421-8872-a7a4ff86abc1, c77d14f8-6224-4809-a2dd-67e9cac1807c result, different first party: Error: Cannot read properties of undefined (reading 'url'), Error: Cannot read properties of undefined (reading 'url') unsupported: false, false passed: true, true test failed: 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: 47a37c68-eb39-4765-8686-ffe721bfeb14, 47a37c68-eb39-4765-8686-ffe721bfeb14, 47a37c68-eb39-4765-8686-ffe721bfeb14 result, different first party: Error: undefined is not an object (evaluating 'cacheKeys[0].url'), Error: undefined is not an object (evaluating 'cacheKeys[0].url'), Error: undefined is not an object (evaluating 'cacheKeys[0].url') unsupported: false, false, false passed: true, true, true test failed: 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., Error: The operation is insecure. result, different first party: Error: The operation is insecure., Error: The operation is insecure. unsupported: true, true passed: undefined test failed: 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: 7e1f274d-f77e-418b-b6c2-b822e830036f, eabace17-9ce1-4f03-87c9-9ac0de883eb9, 5592107e-1002-4b3b-88d6-b0168b0810ef result, different first party: Error: Cannot read properties of undefined (reading 'url'), Error: Cannot read properties of undefined (reading 'url'), Error: Cannot read properties of undefined (reading 'url') unsupported: false, false, false passed: true, true, true test failed: false, false, 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: b85ca32d-e983-45a3-9fcd-397953221748_http, 498026b0-cd0c-40ce-8f8b-beb773704d24_http, ab00ad24-34b0-46cd-afbd-b979d513ffc5_http result, different first party: , , unsupported: false, false, false passed: true, true, true test failed: 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: aea789cd-5932-4f96-8600-bdf5a4a3d42f_http, 75af5a0c-0041-4d02-96ed-9fe72600663f_http result, different first party: aea789cd-5932-4f96-8600-bdf5a4a3d42f_http, 75af5a0c-0041-4d02-96ed-9fe72600663f_http unsupported: false, false passed: false, false test failed: 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: 97ec8041-b6d1-4809-8bc0-362e9247e755_http, 59503190-8263-45a5-92bf-8e6899d0e57f_http, 6deda474-af03-4659-8626-26e498286d0b_http, e95dff4e-71b2-429b-98a0-89a4f1bdf612_http result, different first party: , , , unsupported: false, false, false, false passed: true, true, true, true test failed: 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: 34985076-425c-46c3-9413-e94d5fe54a0c_http, 3225c7dc-a182-40da-8101-7e50e78e1624_http, 71ba7e98-31bf-4e3d-9e25-ed8d581d93c9_http result, different first party: 34985076-425c-46c3-9413-e94d5fe54a0c_http, 3225c7dc-a182-40da-8101-7e50e78e1624_http, 71ba7e98-31bf-4e3d-9e25-ed8d581d93c9_http unsupported: false, false, false passed: false, false, false test failed: 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: 206e6877-f037-4ed7-967f-7e754a18833c_http, 24941163-6b8d-486a-b253-aae4cd6593a3_http, 64e3432a-c49c-4648-99b2-e1a565c0e486_http result, different first party: , , unsupported: false, false, false passed: true, true, true test failed: 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: 584058ed-6a62-4421-8872-a7a4ff86abc1_http, c77d14f8-6224-4809-a2dd-67e9cac1807c_http result, different first party: 584058ed-6a62-4421-8872-a7a4ff86abc1_http, c77d14f8-6224-4809-a2dd-67e9cac1807c_http unsupported: false, false passed: false, false test failed: 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: 27c270d5-e62d-466d-a5bb-47a9a79c96bc_http, fbc71f37-17e1-4b20-9dd9-9b2c598d7a1c_http, 745a0a43-27e4-4daf-920d-ab4b90e7f6ed_http result, different first party: , , unsupported: false, false, false passed: true, true, true test failed: 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: b6379b39-d029-45ce-b9a8-1b04bf9df9df_http, 7404e62b-0c40-4a1b-8a53-655f1cfdbe78_http result, different first party: , unsupported: false, false passed: true, true test failed: 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: 7e1f274d-f77e-418b-b6c2-b822e830036f_http, eabace17-9ce1-4f03-87c9-9ac0de883eb9_http, 5592107e-1002-4b3b-88d6-b0168b0810ef_http result, different first party: 7e1f274d-f77e-418b-b6c2-b822e830036f_http, eabace17-9ce1-4f03-87c9-9ac0de883eb9_http, 5592107e-1002-4b3b-88d6-b0168b0810ef_http unsupported: false, false, false passed: false, false, false test failed: false, false, 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: b85ca32d-e983-45a3-9fcd-397953221748_js, 498026b0-cd0c-40ce-8f8b-beb773704d24_js, ab00ad24-34b0-46cd-afbd-b979d513ffc5_js result, different first party: , , unsupported: false, false, false passed: true, true, true test failed: 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: aea789cd-5932-4f96-8600-bdf5a4a3d42f_js, 75af5a0c-0041-4d02-96ed-9fe72600663f_js result, different first party: aea789cd-5932-4f96-8600-bdf5a4a3d42f_js, 75af5a0c-0041-4d02-96ed-9fe72600663f_js unsupported: false, false passed: false, false test failed: 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: 97ec8041-b6d1-4809-8bc0-362e9247e755_js, 59503190-8263-45a5-92bf-8e6899d0e57f_js, 6deda474-af03-4659-8626-26e498286d0b_js, e95dff4e-71b2-429b-98a0-89a4f1bdf612_js result, different first party: , , , unsupported: false, false, false, false passed: true, true, true, true test failed: 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: 34985076-425c-46c3-9413-e94d5fe54a0c_js, 3225c7dc-a182-40da-8101-7e50e78e1624_js, 71ba7e98-31bf-4e3d-9e25-ed8d581d93c9_js result, different first party: 34985076-425c-46c3-9413-e94d5fe54a0c_js, 3225c7dc-a182-40da-8101-7e50e78e1624_js, 71ba7e98-31bf-4e3d-9e25-ed8d581d93c9_js unsupported: false, false, false passed: false, false, false test failed: 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: 206e6877-f037-4ed7-967f-7e754a18833c_js, 24941163-6b8d-486a-b253-aae4cd6593a3_js, 64e3432a-c49c-4648-99b2-e1a565c0e486_js result, different first party: , , unsupported: false, false, false passed: true, true, true test failed: 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: 584058ed-6a62-4421-8872-a7a4ff86abc1_js, c77d14f8-6224-4809-a2dd-67e9cac1807c_js result, different first party: 584058ed-6a62-4421-8872-a7a4ff86abc1_js, c77d14f8-6224-4809-a2dd-67e9cac1807c_js unsupported: false, false passed: false, false test failed: 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: 27c270d5-e62d-466d-a5bb-47a9a79c96bc_js, fbc71f37-17e1-4b20-9dd9-9b2c598d7a1c_js, 745a0a43-27e4-4daf-920d-ab4b90e7f6ed_js result, different first party: , , unsupported: false, false, false passed: true, true, true test failed: 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: b6379b39-d029-45ce-b9a8-1b04bf9df9df_js, 7404e62b-0c40-4a1b-8a53-655f1cfdbe78_js result, different first party: , unsupported: false, false passed: true, true test failed: 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: 7e1f274d-f77e-418b-b6c2-b822e830036f_js, eabace17-9ce1-4f03-87c9-9ac0de883eb9_js, 5592107e-1002-4b3b-88d6-b0168b0810ef_js result, different first party: 7e1f274d-f77e-418b-b6c2-b822e830036f_js, eabace17-9ce1-4f03-87c9-9ac0de883eb9_js, 5592107e-1002-4b3b-88d6-b0168b0810ef_js unsupported: false, false, false passed: false, false, false test failed: false, false, 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: b85ca32d-e983-45a3-9fcd-397953221748, 498026b0-cd0c-40ce-8f8b-beb773704d24, ab00ad24-34b0-46cd-afbd-b979d513ffc5 result, different first party: , , unsupported: false, false, false passed: true, true, true test failed: 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: aea789cd-5932-4f96-8600-bdf5a4a3d42f, 75af5a0c-0041-4d02-96ed-9fe72600663f result, different first party: aea789cd-5932-4f96-8600-bdf5a4a3d42f, 75af5a0c-0041-4d02-96ed-9fe72600663f unsupported: false, false passed: false, false test failed: 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, Error: Unsupported, Error: Unsupported, Error: Unsupported result, different first party: Error: Unsupported, Error: Unsupported, Error: Unsupported, Error: Unsupported unsupported: true, true, true, true passed: undefined test failed: 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: 34985076-425c-46c3-9413-e94d5fe54a0c, 3225c7dc-a182-40da-8101-7e50e78e1624, 71ba7e98-31bf-4e3d-9e25-ed8d581d93c9 result, different first party: 34985076-425c-46c3-9413-e94d5fe54a0c, 3225c7dc-a182-40da-8101-7e50e78e1624, 71ba7e98-31bf-4e3d-9e25-ed8d581d93c9 unsupported: false, false, false passed: false, false, false test failed: 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, Error: Unsupported, Error: Unsupported result, different first party: Error: Unsupported, Error: Unsupported, Error: Unsupported unsupported: true, true, true passed: undefined test failed: 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: 584058ed-6a62-4421-8872-a7a4ff86abc1, c77d14f8-6224-4809-a2dd-67e9cac1807c result, different first party: 584058ed-6a62-4421-8872-a7a4ff86abc1, c77d14f8-6224-4809-a2dd-67e9cac1807c unsupported: false, false passed: false, false test failed: 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, Error: Unsupported, Error: Unsupported result, different first party: Error: Unsupported, Error: Unsupported, Error: Unsupported unsupported: true, true, true passed: undefined test failed: 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, Error: Unsupported result, different first party: Error: Unsupported, Error: Unsupported unsupported: true, true passed: undefined test failed: 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: 7e1f274d-f77e-418b-b6c2-b822e830036f, eabace17-9ce1-4f03-87c9-9ac0de883eb9, 5592107e-1002-4b3b-88d6-b0168b0810ef result, different first party: 7e1f274d-f77e-418b-b6c2-b822e830036f, eabace17-9ce1-4f03-87c9-9ac0de883eb9, 5592107e-1002-4b3b-88d6-b0168b0810ef unsupported: false, false, false passed: false, false, false test failed: false, false, 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_48121115649836343, fake_9378873294967847, fake_41941773375584335 result, different first party: fake_3244070608415688, fake_5349801090291455, fake_7820353697823734 unsupported: false, false, false passed: true, true, true test failed: 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_7617820007683884, fake_9658085522843631 result, different first party: fake_9734640932500718, fake_669093183325441 unsupported: false, false passed: true, true test failed: 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_19306109771552737, fake_6147913692569278, fake_44348714237133824, fake_38247112546485873 result, different first party: fake_8769491368657523, fake_013902682206762718, fake_07501200307023148, fake_5216274272667081 unsupported: false, false, false, false passed: true, true, true, true test failed: 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_8993049779231155, fake_9419494049871486, fake_44925290809057894 result, different first party: fake_4716135063783573, fake_6104342961593081, fake_75003212887702 unsupported: false, false, false passed: true, true, true test failed: 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_44750951409610296, fake_19670233107421087, fake_2188143510243341 result, different first party: fake_2296863991215492, fake_1893370654702311, fake_560697615028112 unsupported: false, false, false passed: true, true, true test failed: 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_509024870116513, fake_7396251246519392 result, different first party: fake_5587605677022041, fake_9506291265561273 unsupported: false, false passed: true, true test failed: 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_6592862310694709, fake_4283502670663284, fake_6058809753323489 result, different first party: fake_35400352031363536, fake_7953394927636548, fake_7567094785050938 unsupported: false, false, false passed: true, true, true test failed: 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_3360240760681905, fake_6811455095355126 result, different first party: fake_38457468450844345, fake_9582501335250238 unsupported: false, false passed: true, true test failed: 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_33033116960562947, fake_3176067283625046, fake_9245685360689104 result, different first party: fake_33818871688038254, fake_06883818497942706, fake_12870754361091463 unsupported: false, false, false passed: true, true, true test failed: false, false, 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, 1, 1 result, different first party: 2, 2, 2 unsupported: false, false, false passed: true, true, true test failed: 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, 1 result, different first party: 2, 2 unsupported: false, false passed: true, true test failed: 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, 1, 1, 1 result, different first party: 1, 1, 1, 1 unsupported: false, false, false, false passed: false, false, false, false test failed: 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, 1, 1 result, different first party: 2, 2, 2 unsupported: false, false, false passed: true, true, true test failed: 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, 1, 1 result, different first party: 2, 2, 2 unsupported: false, false, false passed: true, true, true test failed: 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, 1 result, different first party: 2, 2 unsupported: false, false passed: true, true test failed: 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, 1, 1 result, different first party: 2, 2, 2 unsupported: false, false, false passed: true, true, true test failed: 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, 1 result, different first party: 2, 2 unsupported: false, false passed: true, true test failed: 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: 2, 2, 2 result, different first party: 3, 3, 3 unsupported: false, false, false passed: true, true, true test failed: false, false, 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, 1, 1 result, different first party: 2, 2, 2 unsupported: false, false, false passed: true, true, true test failed: 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, 1 result, different first party: 2, 2 unsupported: false, false passed: true, true test failed: 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, 1, 1, 1 result, different first party: 2, 2, 2, 2 unsupported: false, false, false, false passed: true, true, true, true test failed: 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, 1, 1 result, different first party: 2, 2, 2 unsupported: false, false, false passed: true, true, true test failed: 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, 1, 1 result, different first party: 2, 2, 2 unsupported: false, false, false passed: true, true, true test failed: 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, 1 result, different first party: 2, 2 unsupported: false, false passed: true, true test failed: 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: 2, 2, 2 result, different first party: 3, 3, 3 unsupported: false, false, false passed: true, true, true test failed: 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, 1 result, different first party: 2, 2 unsupported: false, false passed: true, true test failed: 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, 1, 1 result, different first party: 2, 2, 2 unsupported: false, false, false passed: true, true, true test failed: false, false, 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, 1, 1 result, different first party: 2, 2, 2 unsupported: false, false, false passed: true, true, true test failed: 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, 1 result, different first party: 2, 2 unsupported: false, false passed: true, true test failed: 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: 2, 2, 2, 2 result, different first party: 3, 3, 3, 3 unsupported: false, false, false, false passed: true, true, true, true test failed: 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, 1, 1 result, different first party: 2, 2, 2 unsupported: false, false, false passed: true, true, true test failed: 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, 1, 1 result, different first party: 2, 2, 2 unsupported: false, false, false passed: true, true, true test failed: 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, 1 result, different first party: 2, 2 unsupported: false, false passed: true, true test failed: 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: 2, 2, 2 result, different first party: 3, 3, 3 unsupported: false, false, false passed: true, true, true test failed: 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, 1 result, different first party: 2, 2 unsupported: false, false passed: true, true test failed: 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, 1, 1 result, different first party: 2, 2, 2 unsupported: false, false, false passed: true, true, true test failed: false, false, 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: b85ca32d-e983-45a3-9fcd-397953221748, 498026b0-cd0c-40ce-8f8b-beb773704d24, ab00ad24-34b0-46cd-afbd-b979d513ffc5 result, different first party: Error: Unsupported, Error: Unsupported, Error: Unsupported unsupported: false, false, false passed: true, true, true test failed: 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: aea789cd-5932-4f96-8600-bdf5a4a3d42f, 75af5a0c-0041-4d02-96ed-9fe72600663f result, different first party: Error: Unsupported, Error: Unsupported unsupported: false, false passed: true, true test failed: 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: , , , result, different first party: Error: Unsupported, Error: Unsupported, Error: Unsupported, Error: Unsupported unsupported: true, true, true, true passed: undefined test failed: 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: 34985076-425c-46c3-9413-e94d5fe54a0c, 3225c7dc-a182-40da-8101-7e50e78e1624, 71ba7e98-31bf-4e3d-9e25-ed8d581d93c9 result, different first party: Error: Unsupported, Error: Unsupported, Error: Unsupported unsupported: false, false, false passed: true, true, true test failed: 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: 206e6877-f037-4ed7-967f-7e754a18833c, 24941163-6b8d-486a-b253-aae4cd6593a3, 64e3432a-c49c-4648-99b2-e1a565c0e486 result, different first party: Error: Unsupported, Error: Unsupported, Error: Unsupported unsupported: false, false, false passed: true, true, true test failed: 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: 584058ed-6a62-4421-8872-a7a4ff86abc1, c77d14f8-6224-4809-a2dd-67e9cac1807c result, different first party: Error: Unsupported, Error: Unsupported unsupported: false, false passed: true, true test failed: 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: , , result, different first party: Error: Unsupported, Error: Unsupported, Error: Unsupported unsupported: true, true, true passed: undefined test failed: 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, Error: Unsupported result, different first party: Error: Unsupported, Error: Unsupported unsupported: true, true passed: undefined test failed: 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: 7e1f274d-f77e-418b-b6c2-b822e830036f, eabace17-9ce1-4f03-87c9-9ac0de883eb9, 5592107e-1002-4b3b-88d6-b0168b0810ef result, different first party: Error: Unsupported, Error: Unsupported, Error: Unsupported unsupported: false, false, false passed: true, true, true test failed: false, false, 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: b85ca32d-e983-45a3-9fcd-397953221748, 498026b0-cd0c-40ce-8f8b-beb773704d24, ab00ad24-34b0-46cd-afbd-b979d513ffc5 result, different first party: , , unsupported: false, false, false passed: true, true, true test failed: 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: aea789cd-5932-4f96-8600-bdf5a4a3d42f, 75af5a0c-0041-4d02-96ed-9fe72600663f result, different first party: , unsupported: false, false passed: true, true test failed: 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: 97ec8041-b6d1-4809-8bc0-362e9247e755, 59503190-8263-45a5-92bf-8e6899d0e57f, 6deda474-af03-4659-8626-26e498286d0b, e95dff4e-71b2-429b-98a0-89a4f1bdf612 result, different first party: , , , unsupported: false, false, false, false passed: true, true, true, true test failed: 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: 34985076-425c-46c3-9413-e94d5fe54a0c, 3225c7dc-a182-40da-8101-7e50e78e1624, 71ba7e98-31bf-4e3d-9e25-ed8d581d93c9 result, different first party: , , unsupported: false, false, false passed: true, true, true test failed: 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: 206e6877-f037-4ed7-967f-7e754a18833c, 24941163-6b8d-486a-b253-aae4cd6593a3, 64e3432a-c49c-4648-99b2-e1a565c0e486 result, different first party: , , unsupported: false, false, false passed: true, true, true test failed: 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: 584058ed-6a62-4421-8872-a7a4ff86abc1, c77d14f8-6224-4809-a2dd-67e9cac1807c result, different first party: , unsupported: false, false passed: true, true test failed: 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: 27c270d5-e62d-466d-a5bb-47a9a79c96bc, fbc71f37-17e1-4b20-9dd9-9b2c598d7a1c, 745a0a43-27e4-4daf-920d-ab4b90e7f6ed result, different first party: , , unsupported: false, false, false passed: true, true, true test failed: 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: b6379b39-d029-45ce-b9a8-1b04bf9df9df, 7404e62b-0c40-4a1b-8a53-655f1cfdbe78 result, different first party: , unsupported: false, false passed: true, true test failed: 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: 7e1f274d-f77e-418b-b6c2-b822e830036f, eabace17-9ce1-4f03-87c9-9ac0de883eb9, 5592107e-1002-4b3b-88d6-b0168b0810ef result, different first party: , , unsupported: false, false, false passed: true, true, true test failed: false, false, 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: b85ca32d-e983-45a3-9fcd-397953221748, 498026b0-cd0c-40ce-8f8b-beb773704d24, ab00ad24-34b0-46cd-afbd-b979d513ffc5 result, different first party: , , unsupported: false, false, false passed: true, true, true test failed: 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: aea789cd-5932-4f96-8600-bdf5a4a3d42f, 75af5a0c-0041-4d02-96ed-9fe72600663f result, different first party: , unsupported: false, false passed: true, true test failed: 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: 97ec8041-b6d1-4809-8bc0-362e9247e755, 59503190-8263-45a5-92bf-8e6899d0e57f, 6deda474-af03-4659-8626-26e498286d0b, e95dff4e-71b2-429b-98a0-89a4f1bdf612 result, different first party: , , , unsupported: false, false, false, false passed: true, true, true, true test failed: 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: 34985076-425c-46c3-9413-e94d5fe54a0c, 3225c7dc-a182-40da-8101-7e50e78e1624, 71ba7e98-31bf-4e3d-9e25-ed8d581d93c9 result, different first party: , , unsupported: false, false, false passed: true, true, true test failed: 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: 206e6877-f037-4ed7-967f-7e754a18833c, 24941163-6b8d-486a-b253-aae4cd6593a3, 64e3432a-c49c-4648-99b2-e1a565c0e486 result, different first party: , , unsupported: false, false, false passed: true, true, true test failed: 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: 584058ed-6a62-4421-8872-a7a4ff86abc1, c77d14f8-6224-4809-a2dd-67e9cac1807c result, different first party: , unsupported: false, false passed: true, true test failed: 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: 27c270d5-e62d-466d-a5bb-47a9a79c96bc, fbc71f37-17e1-4b20-9dd9-9b2c598d7a1c, 745a0a43-27e4-4daf-920d-ab4b90e7f6ed result, different first party: , , unsupported: false, false, false passed: true, true, true test failed: 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: b6379b39-d029-45ce-b9a8-1b04bf9df9df, 7404e62b-0c40-4a1b-8a53-655f1cfdbe78 result, different first party: , unsupported: false, false passed: true, true test failed: 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: 7e1f274d-f77e-418b-b6c2-b822e830036f, eabace17-9ce1-4f03-87c9-9ac0de883eb9, 5592107e-1002-4b3b-88d6-b0168b0810ef result, different first party: , , unsupported: false, false, false passed: true, true, true test failed: false, false, 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: 525504bd11dab2f548a277ebedca9b97, b24d3739d1f2dcdd581ca781e1198ca9, ae5d7de445a2fb23dc2f54300aaadb07 result, different first party: , , unsupported: false, false, false passed: true, true, true test failed: 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: cd424dc1077d39351882457233b24f00, cebd09e9936aa45a53c667dbe937a68e result, different first party: , unsupported: false, false passed: true, true test failed: 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, true, true, true passed: undefined test failed: 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: 990c9f1917d9c75697f01202e3922176, e87ab5b9f1e9c51008e99ce51d49bbaa, 74410e62538c859ee1be0e81d3cb3b60 result, different first party: , , unsupported: false, false, false passed: true, true, true test failed: 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: 94cacf21cf7908b5f9ba47f85afd0842, f2469c725b91c72c683138e6c1fc5e8f, 35a20754e6f05ca14e1fc81f3e769d5d result, different first party: , , unsupported: false, false, false passed: true, true, true test failed: 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: 7c6a662ecab3cc08784d8873719b94e9, f0801b803ccd99724614de4988438aff result, different first party: , unsupported: false, false passed: true, true test failed: 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, true, true passed: undefined test failed: 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, true passed: undefined test failed: 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: d126362995ba911ac07cb84b8954a2c6, ed479785d1af8c7e8df079f15a90ba6d, d4389c788f6f9ff010ddb24b716b8ef8 result, different first party: , , unsupported: false, false, false passed: true, true, true test failed: false, false, 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, not tested, not tested result, different first party: Used http, Used http, Used http unsupported: false, false, false passed: true, true, true test failed: false, false, false |
write: set HSTS flag read: read HSTS flag result, same first party: not tested, not tested result, different first party: Upgraded to https, Upgraded to https unsupported: false, false passed: false, false test failed: false, false |
write: set HSTS flag read: read HSTS flag result, same first party: not tested, not tested, not tested, not tested result, different first party: Used http, Used http, Used http, Used http unsupported: false, false, false, false passed: true, true, true, true test failed: false, false, false, false |
write: set HSTS flag read: read HSTS flag result, same first party: not tested, not tested, not tested result, different first party: Upgraded to https, Upgraded to https, Upgraded to https unsupported: false, false, false passed: false, false, false test failed: false, false, false |
write: set HSTS flag read: read HSTS flag result, same first party: not tested, not tested, not tested result, different first party: Used http, Used http, Used http unsupported: false, false, false passed: true, true, true test failed: false, false, false |
write: set HSTS flag read: read HSTS flag result, same first party: not tested, not tested result, different first party: Upgraded to https, Upgraded to https unsupported: false, false passed: false, false test failed: false, false |
write: set HSTS flag read: read HSTS flag result, same first party: not tested, not tested, not tested result, different first party: Used http, Used http, Used http unsupported: false, false, false passed: true, true, true test failed: false, false, false |
write: null read: null result, same first party: , result, different first party: HTTPS used by default; no HSTS cache issue expected, HTTPS used by default; no HSTS cache issue expected unsupported: , passed: true, true test failed: false, false |
write: set HSTS flag read: read HSTS flag result, same first party: not tested, not tested, not tested result, different first party: Upgraded to https, Upgraded to https, Upgraded to https unsupported: false, false, false passed: false, false, false test failed: false, false, 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, not tested, not tested result, different first party: Used http, Used http, Used http unsupported: false, false, false passed: true, true, true test failed: false, false, false |
write: set HSTS flag read: read HSTS flag result, same first party: not tested, not tested result, different first party: Upgraded to https, Upgraded to https unsupported: false, false passed: false, false test failed: false, false |
write: set HSTS flag read: read HSTS flag result, same first party: not tested, not tested, not tested, not tested result, different first party: Used http, Used http, Used http, Used http unsupported: false, false, false, false passed: true, true, true, true test failed: false, false, false, false |
write: set HSTS flag read: read HSTS flag result, same first party: not tested, not tested, not tested result, different first party: Upgraded to https, Upgraded to https, Upgraded to https unsupported: false, false, false passed: false, false, false test failed: false, false, false |
write: set HSTS flag read: read HSTS flag result, same first party: not tested, not tested, not tested result, different first party: Used http, Used http, Used http unsupported: false, false, false passed: true, true, true test failed: false, false, false |
write: set HSTS flag read: read HSTS flag result, same first party: not tested, not tested result, different first party: Upgraded to https, Upgraded to https unsupported: false, false passed: false, false test failed: false, false |
write: set HSTS flag read: read HSTS flag result, same first party: not tested, not tested, not tested result, different first party: Upgraded to https, Upgraded to https, Upgraded to https unsupported: false, false, false passed: false, false, false test failed: false, false, false |
write: null read: null result, same first party: , result, different first party: HTTPS used by default; no HSTS cache issue expected, HTTPS used by default; no HSTS cache issue expected unsupported: , passed: true, true test failed: false, false |
write: set HSTS flag read: read HSTS flag result, same first party: not tested, not tested, not tested result, different first party: Upgraded to https, Upgraded to https, Upgraded to https unsupported: false, false, false passed: false, false, false test failed: false, false, 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, 1, 1 result, different first party: 2, 2, 2 unsupported: false, false, false passed: true, true, true test failed: 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, 1 result, different first party: 2, 2 unsupported: false, false passed: true, true test failed: 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, 1, 1, 1 result, different first party: 2, 2, 2, 2 unsupported: false, false, false, false passed: true, true, true, true test failed: 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, 1, 1 result, different first party: 2, 2, 2 unsupported: false, false, false passed: true, true, true test failed: 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, 1, 1 result, different first party: 2, 2, 2 unsupported: false, false, false passed: true, true, true test failed: 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, 1 result, different first party: 2, 2 unsupported: false, false passed: true, true test failed: 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, 1, 1 result, different first party: 2, 2, 2 unsupported: false, false, false passed: true, true, true test failed: 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, 1 result, different first party: 2, 2 unsupported: false, false passed: true, true test failed: 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, 1, 1 result, different first party: 2, 2, 2 unsupported: false, false, false passed: true, true, true test failed: false, false, 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, 1, 1 result, different first party: 2, 2, 2 unsupported: false, false, false passed: true, true, true test failed: 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, 1 result, different first party: 2, 2 unsupported: false, false passed: true, true test failed: 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: 2, 2, 2, 2 result, different first party: 3, 3, 3, 3 unsupported: false, false, false, false passed: true, true, true, true test failed: 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, 1, 1 result, different first party: 2, 2, 2 unsupported: false, false, false passed: true, true, true test failed: 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, 1, 1 result, different first party: 2, 2, 2 unsupported: false, false, false passed: true, true, true test failed: 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, 1 result, different first party: 2, 2 unsupported: false, false passed: true, true test failed: 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: 2, 2, 2 result, different first party: 3, 3, 3 unsupported: false, false, false passed: true, true, true test failed: 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, 1 result, different first party: 2, 2 unsupported: false, false passed: true, true test failed: 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, 1, 1 result, different first party: 2, 2, 2 unsupported: false, false, false passed: true, true, true test failed: false, false, 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: b85ca32d-e983-45a3-9fcd-397953221748, 498026b0-cd0c-40ce-8f8b-beb773704d24, ab00ad24-34b0-46cd-afbd-b979d513ffc5 result, different first party: undefined unsupported: false, false, false passed: true, true, true test failed: 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: aea789cd-5932-4f96-8600-bdf5a4a3d42f, 75af5a0c-0041-4d02-96ed-9fe72600663f result, different first party: undefined unsupported: false, false passed: true, true test failed: 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: 97ec8041-b6d1-4809-8bc0-362e9247e755, 59503190-8263-45a5-92bf-8e6899d0e57f, 6deda474-af03-4659-8626-26e498286d0b, e95dff4e-71b2-429b-98a0-89a4f1bdf612 result, different first party: undefined unsupported: false, false, false, false passed: true, true, true, true test failed: 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: 34985076-425c-46c3-9413-e94d5fe54a0c, 3225c7dc-a182-40da-8101-7e50e78e1624, 71ba7e98-31bf-4e3d-9e25-ed8d581d93c9 result, different first party: undefined unsupported: false, false, false passed: true, true, true test failed: 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: 206e6877-f037-4ed7-967f-7e754a18833c, 24941163-6b8d-486a-b253-aae4cd6593a3, 64e3432a-c49c-4648-99b2-e1a565c0e486 result, different first party: undefined unsupported: false, false, false passed: true, true, true test failed: 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: 584058ed-6a62-4421-8872-a7a4ff86abc1, c77d14f8-6224-4809-a2dd-67e9cac1807c result, different first party: undefined unsupported: false, false passed: true, true test failed: 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: 27c270d5-e62d-466d-a5bb-47a9a79c96bc, fbc71f37-17e1-4b20-9dd9-9b2c598d7a1c, 745a0a43-27e4-4daf-920d-ab4b90e7f6ed result, different first party: undefined unsupported: false, false, false passed: true, true, true test failed: 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: b6379b39-d029-45ce-b9a8-1b04bf9df9df, 7404e62b-0c40-4a1b-8a53-655f1cfdbe78 result, different first party: Error: The operation is insecure., Error: The operation is insecure. unsupported: false, false passed: true, true test failed: 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: 7e1f274d-f77e-418b-b6c2-b822e830036f, eabace17-9ce1-4f03-87c9-9ac0de883eb9, 5592107e-1002-4b3b-88d6-b0168b0810ef result, different first party: undefined unsupported: false, false, false passed: true, true, true test failed: false, false, 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: b85ca32d-e983-45a3-9fcd-397953221748, 498026b0-cd0c-40ce-8f8b-beb773704d24, ab00ad24-34b0-46cd-afbd-b979d513ffc5 result, different first party: , , unsupported: false, false, false passed: true, true, true test failed: false, false, false |
write: (secret) => localStorage.setItem("secret", secret) read: () => localStorage.getItem("secret") result, same first party: aea789cd-5932-4f96-8600-bdf5a4a3d42f, 75af5a0c-0041-4d02-96ed-9fe72600663f result, different first party: , unsupported: false, false passed: true, true test failed: false, false |
write: (secret) => localStorage.setItem("secret", secret) read: () => localStorage.getItem("secret") result, same first party: 97ec8041-b6d1-4809-8bc0-362e9247e755, 59503190-8263-45a5-92bf-8e6899d0e57f, 6deda474-af03-4659-8626-26e498286d0b, e95dff4e-71b2-429b-98a0-89a4f1bdf612 result, different first party: , , , unsupported: false, false, false, false passed: true, true, true, true test failed: false, false, false, false |
write: (secret) => localStorage.setItem("secret", secret) read: () => localStorage.getItem("secret") result, same first party: 34985076-425c-46c3-9413-e94d5fe54a0c, 3225c7dc-a182-40da-8101-7e50e78e1624, 71ba7e98-31bf-4e3d-9e25-ed8d581d93c9 result, different first party: , , unsupported: false, false, false passed: true, true, true test failed: false, false, false |
write: (secret) => localStorage.setItem("secret", secret) read: () => localStorage.getItem("secret") result, same first party: 206e6877-f037-4ed7-967f-7e754a18833c, 24941163-6b8d-486a-b253-aae4cd6593a3, 64e3432a-c49c-4648-99b2-e1a565c0e486 result, different first party: , , unsupported: false, false, false passed: true, true, true test failed: false, false, false |
write: (secret) => localStorage.setItem("secret", secret) read: () => localStorage.getItem("secret") result, same first party: 584058ed-6a62-4421-8872-a7a4ff86abc1, c77d14f8-6224-4809-a2dd-67e9cac1807c result, different first party: , unsupported: false, false passed: true, true test failed: false, false |
write: (secret) => localStorage.setItem("secret", secret) read: () => localStorage.getItem("secret") result, same first party: 27c270d5-e62d-466d-a5bb-47a9a79c96bc, fbc71f37-17e1-4b20-9dd9-9b2c598d7a1c, 745a0a43-27e4-4daf-920d-ab4b90e7f6ed result, different first party: , , unsupported: false, false, false passed: true, true, true test failed: false, false, false |
write: (secret) => localStorage.setItem("secret", secret) read: () => localStorage.getItem("secret") result, same first party: b6379b39-d029-45ce-b9a8-1b04bf9df9df, 7404e62b-0c40-4a1b-8a53-655f1cfdbe78 result, different first party: Error: The operation is insecure., Error: The operation is insecure. unsupported: false, false passed: true, true test failed: false, false |
write: (secret) => localStorage.setItem("secret", secret) read: () => localStorage.getItem("secret") result, same first party: 7e1f274d-f77e-418b-b6c2-b822e830036f, eabace17-9ce1-4f03-87c9-9ac0de883eb9, 5592107e-1002-4b3b-88d6-b0168b0810ef result, different first party: , , unsupported: false, false, false passed: true, true, true test failed: false, false, 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: b85ca32d-e983-45a3-9fcd-397953221748, 498026b0-cd0c-40ce-8f8b-beb773704d24, ab00ad24-34b0-46cd-afbd-b979d513ffc5 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') unsupported: false, false, false passed: true, true, true test failed: false, false, false |
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: aea789cd-5932-4f96-8600-bdf5a4a3d42f, 75af5a0c-0041-4d02-96ed-9fe72600663f result, different first party: Error: Cannot read properties of undefined (reading 'name'), Error: Cannot read properties of undefined (reading 'name') unsupported: false, false passed: true, true test failed: false, false |
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: 97ec8041-b6d1-4809-8bc0-362e9247e755, 59503190-8263-45a5-92bf-8e6899d0e57f, 6deda474-af03-4659-8626-26e498286d0b, e95dff4e-71b2-429b-98a0-89a4f1bdf612 result, different first party: Error: undefined is not an object (evaluating 'queryResult.held[0].name'), Error: undefined is not an object (evaluating 'queryResult.held[0].name'), Error: undefined is not an object (evaluating 'queryResult.held[0].name'), Error: undefined is not an object (evaluating 'queryResult.held[0].name') unsupported: false, false, false, false passed: true, true, true, true test failed: false, false, false, false |
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: 34985076-425c-46c3-9413-e94d5fe54a0c, 3225c7dc-a182-40da-8101-7e50e78e1624, 71ba7e98-31bf-4e3d-9e25-ed8d581d93c9 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') unsupported: false, false, false passed: true, true, true test failed: false, false, false |
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: 206e6877-f037-4ed7-967f-7e754a18833c, 24941163-6b8d-486a-b253-aae4cd6593a3, 64e3432a-c49c-4648-99b2-e1a565c0e486 result, different first party: Error: LockManager.query: query() is not allowed in this context, Error: LockManager.query: query() is not allowed in this context, Error: LockManager.query: query() is not allowed in this context unsupported: false, false, false passed: true, true, true test failed: false, false, false |
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: 584058ed-6a62-4421-8872-a7a4ff86abc1, c77d14f8-6224-4809-a2dd-67e9cac1807c result, different first party: Error: Cannot read properties of undefined (reading 'name'), Error: Cannot read properties of undefined (reading 'name') unsupported: false, false passed: true, true test failed: false, false |
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: 27c270d5-e62d-466d-a5bb-47a9a79c96bc, fbc71f37-17e1-4b20-9dd9-9b2c598d7a1c, 745a0a43-27e4-4daf-920d-ab4b90e7f6ed result, different first party: Error: undefined is not an object (evaluating 'queryResult.held[0].name'), Error: undefined is not an object (evaluating 'queryResult.held[0].name'), Error: undefined is not an object (evaluating 'queryResult.held[0].name') unsupported: false, false, false passed: true, true, true test failed: false, false, false |
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: b6379b39-d029-45ce-b9a8-1b04bf9df9df, 7404e62b-0c40-4a1b-8a53-655f1cfdbe78 result, different first party: Error: LockManager.query: query() is not allowed in this context, Error: LockManager.query: query() is not allowed in this context unsupported: false, false passed: true, true test failed: false, false |
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: 7e1f274d-f77e-418b-b6c2-b822e830036f, eabace17-9ce1-4f03-87c9-9ac0de883eb9, 5592107e-1002-4b3b-88d6-b0168b0810ef 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') unsupported: false, false, false passed: true, true, true test failed: false, false, 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 first party: 1, 1, 1 result, different first party: 2, 2, 2 unsupported: false, false, false passed: true, true, true test failed: 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: 1, 1 result, different first party: 2, 2 unsupported: false, false passed: true, true test failed: 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, Error: No requests received, Error: No requests received, Error: No requests received result, different first party: Error: No requests received, Error: No requests received, Error: No requests received, Error: No requests received unsupported: true, true, true, true passed: undefined test failed: 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: 1, 1, 1 result, different first party: 2, 2, 2 unsupported: false, false, false passed: true, true, true test failed: 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: 1, 1, 1 result, different first party: 2, 2, 2 unsupported: false, false, false passed: true, true, true test failed: 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: 1, 1 result, different first party: 2, 2 unsupported: false, false passed: true, true test failed: 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, Error: No requests received, Error: No requests received result, different first party: Error: No requests received, Error: No requests received, Error: No requests received unsupported: true, true, true passed: undefined test failed: 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, Error: No requests received result, different first party: Error: No requests received, Error: No requests received unsupported: true, true passed: undefined test failed: 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: 1, 1, 1 result, different first party: 2, 2, 2 unsupported: false, false, false passed: true, true, true test failed: false, false, 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, 1, 1 result, different first party: 2, 2, 2 unsupported: false, false, false passed: true, true, true test failed: 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, 1 result, different first party: 2, 2 unsupported: false, false passed: true, true test failed: 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: 2, 2, 2, 2 result, different first party: 3, 3, 3, 3 unsupported: false, false, false, false passed: true, true, true, true test failed: 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, 1, 1 result, different first party: 2, 2, 2 unsupported: false, false, false passed: true, true, true test failed: 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, 1, 1 result, different first party: 2, 2, 2 unsupported: false, false, false passed: true, true, true test failed: 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, 1 result, different first party: 2, 2 unsupported: false, false passed: true, true test failed: 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: 2, 2, 2 result, different first party: 3, 3, 3 unsupported: false, false, false passed: true, true, true test failed: 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, 1 result, different first party: 2, 2 unsupported: false, false passed: true, true test failed: 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, 1, 1 result, different first party: 2, 2, 2 unsupported: false, false, false passed: true, true, true test failed: false, false, 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: <html> <head><title>404 Not Found</title></head> <body> <center><h1>404 Not Found</h1></center> <hr><center>nginx/1.18.0 (Ubuntu)</center> </body> </html> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> , <html> <head><title>404 Not Found</title></head> <body> <center><h1>404 Not Found</h1></center> <hr><center>nginx/1.18.0 (Ubuntu)</center> </body> </html> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> , <html> <head><title>404 Not Found</title></head> <body> <center><h1>404 Not Found</h1></center> <hr><center>nginx/1.18.0 (Ubuntu)</center> </body> </html> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> result, different first party: , , unsupported: false, false, false passed: true, true, true test failed: false, false, 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: <html> <head><title>404 Not Found</title></head> <body> <center><h1>404 Not Found</h1></center> <hr><center>nginx/1.18.0 (Ubuntu)</center> </body> </html> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> , <html> <head><title>404 Not Found</title></head> <body> <center><h1>404 Not Found</h1></center> <hr><center>nginx/1.18.0 (Ubuntu)</center> </body> </html> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> result, different first party: , unsupported: false, false passed: true, true test failed: false, 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, false, false, false passed: undefined test failed: 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: <html> <head><title>404 Not Found</title></head> <body> <center><h1>404 Not Found</h1></center> <hr><center>nginx/1.18.0 (Ubuntu)</center> </body> </html> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> , <html> <head><title>404 Not Found</title></head> <body> <center><h1>404 Not Found</h1></center> <hr><center>nginx/1.18.0 (Ubuntu)</center> </body> </html> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> , <html> <head><title>404 Not Found</title></head> <body> <center><h1>404 Not Found</h1></center> <hr><center>nginx/1.18.0 (Ubuntu)</center> </body> </html> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> result, different first party: , , unsupported: false, false, false passed: true, true, true test failed: false, false, 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, false, false passed: undefined test failed: 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: <html> <head><title>404 Not Found</title></head> <body> <center><h1>404 Not Found</h1></center> <hr><center>nginx/1.18.0 (Ubuntu)</center> </body> </html> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> , <html> <head><title>404 Not Found</title></head> <body> <center><h1>404 Not Found</h1></center> <hr><center>nginx/1.18.0 (Ubuntu)</center> </body> </html> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> result, different first party: , unsupported: false, false passed: true, true test failed: false, 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, false, false passed: undefined test failed: 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, Error: navigator.serviceWorker is undefined result, different first party: Error: navigator.serviceWorker is undefined, Error: navigator.serviceWorker is undefined unsupported: true, true passed: undefined test failed: false, 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: <html> <head><title>404 Not Found</title></head> <body> <center><h1>404 Not Found</h1></center> <hr><center>nginx/1.18.0 (Ubuntu)</center> </body> </html> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> , <html> <head><title>404 Not Found</title></head> <body> <center><h1>404 Not Found</h1></center> <hr><center>nginx/1.18.0 (Ubuntu)</center> </body> </html> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> , <html> <head><title>404 Not Found</title></head> <body> <center><h1>404 Not Found</h1></center> <hr><center>nginx/1.18.0 (Ubuntu)</center> </body> </html> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> result, different first party: , , unsupported: false, false, false passed: true, true, true test failed: false, false, false |
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: b85ca32d-e983-45a3-9fcd-397953221748, 498026b0-cd0c-40ce-8f8b-beb773704d24, ab00ad24-34b0-46cd-afbd-b979d513ffc5 result, different first party: Error: Unsupported, Error: Unsupported, Error: Unsupported unsupported: false, false, false passed: true, true, true test failed: 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: aea789cd-5932-4f96-8600-bdf5a4a3d42f, 75af5a0c-0041-4d02-96ed-9fe72600663f result, different first party: Error: Unsupported, Error: Unsupported unsupported: false, false passed: true, true test failed: 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: 97ec8041-b6d1-4809-8bc0-362e9247e755, 59503190-8263-45a5-92bf-8e6899d0e57f, 6deda474-af03-4659-8626-26e498286d0b, e95dff4e-71b2-429b-98a0-89a4f1bdf612 result, different first party: Error: Unsupported, Error: Unsupported, Error: Unsupported, Error: Unsupported unsupported: false, false, false, false passed: true, true, true, true test failed: 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: 34985076-425c-46c3-9413-e94d5fe54a0c, 3225c7dc-a182-40da-8101-7e50e78e1624, 71ba7e98-31bf-4e3d-9e25-ed8d581d93c9 result, different first party: Error: Unsupported, Error: Unsupported, Error: Unsupported unsupported: false, false, false passed: true, true, true test failed: 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: 206e6877-f037-4ed7-967f-7e754a18833c, 24941163-6b8d-486a-b253-aae4cd6593a3, 64e3432a-c49c-4648-99b2-e1a565c0e486 result, different first party: Error: Unsupported, Error: Unsupported, Error: Unsupported unsupported: false, false, false passed: true, true, true test failed: 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: 584058ed-6a62-4421-8872-a7a4ff86abc1, c77d14f8-6224-4809-a2dd-67e9cac1807c result, different first party: Error: Unsupported, Error: Unsupported unsupported: false, false passed: true, true test failed: 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: 27c270d5-e62d-466d-a5bb-47a9a79c96bc, fbc71f37-17e1-4b20-9dd9-9b2c598d7a1c, 745a0a43-27e4-4daf-920d-ab4b90e7f6ed result, different first party: Error: Unsupported, Error: Unsupported, Error: Unsupported unsupported: false, false, false passed: true, true, true test failed: 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: b6379b39-d029-45ce-b9a8-1b04bf9df9df, 7404e62b-0c40-4a1b-8a53-655f1cfdbe78 result, different first party: Error: The operation is insecure., Error: The operation is insecure. unsupported: false, false passed: true, true test failed: 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: 7e1f274d-f77e-418b-b6c2-b822e830036f, eabace17-9ce1-4f03-87c9-9ac0de883eb9, 5592107e-1002-4b3b-88d6-b0168b0810ef result, different first party: Error: Unsupported, Error: Unsupported, Error: Unsupported unsupported: false, false, false passed: true, true, true test failed: false, false, 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: 0a28e086fbe0f166efaff660f630b7de43cf4b749ca08c9aa0f51f51f9ffd8a7, 2c9458c1f21ee7217f6e19bae4c929f65a201b8983c0e1677a94b0a22657a378, 4b99089b0ebaddfe860e5bc1b9a5b4dbd5fd537e860514ab4211bf5a5e80a099 result, different first party: 0f998b862a80ba02e6e376287a30104cec4826bdbd2a467f693c5475f4358f8d, b97244f5cf98a3a59d7f381a8d8223e9641cb2a82ac627fdcef8106aa28953a8, 92df36d3f6362568c52daefb29485b6af55e032dc7b47e6eb446924ad1792a23 unsupported: false, false, false passed: true, true, true test failed: 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: ec0dc4e343a7631bc03f7aa6410746d50ecce679263870f584ad1c8121147ce9, c61e195c92c453e55b70180a1f237d6f5e03de48955d6ceb05fa2efd52086151 result, different first party: 310dac7fdb768f237ff744f2a2826fc0bd32ba856de5789d1d051bc318799a50, d74b5cddaf3d415c22b4dd0756f15c3deef9d57000d2359deac148545f66bd8f unsupported: false, false passed: true, true test failed: 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: 480333ac46fd7efa22a2827d46c3622ba1c075ad699e0f94751287299c9ebddd, 87e448f7015da42ca572753b543063e3b873669b89e7e427334ee02fb64010c1, 742f5af4180af19820f102fdea07a5acb77f459f3e7bd03d6e49063f2c53ab1f, ad4dfef94efe7033e2a92e4a2edc01f8104295f3658d6b827500d9a4ffe95d4a result, different first party: f8aead3b64b846ea27c7bbc5b032824b4b2ef1369395adbcae1b63fcc1fab7b1, 31d743d3bef35f9a3ead055fbf2842c468bd64cd18d91119dc323f0ce7269019, 60295d25aa2f20116a2b7d6275da023ffb97b4dd95d0c2ca7a07558a75590b3a, 06541539fd7371e285cea4cca60bdbbdc84044b942d72922eede2ed5282321da unsupported: false, false, false, false passed: true, true, true, true test failed: 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: 5a8b65021f5f1af29a9070c99c14c3dffeb33384ad1cb351eee6f511626124da, a3169a317da19d8c5bd41e275f9614ebfd4958ae8b8052fd4fc72a0c3d5c4abe, a6d7402b3bbb21d322d58af9d100d11ff06636a4d1c4abd12630a869a12e0ad2 result, different first party: da53a13df6775c30cc80c4160bfdebc3e690a2d79559e905c8497ee3ba9e8d8b, 0bdf79b2d0b151f84912e8815d75b5c2f07ba1942eb902428d9917787e2b3fc1, 0425e7506c45d159c0b5ec3ed8725b4160e8b2b138627f1630ae90cb19a6e2e7 unsupported: false, false, false passed: true, true, true test failed: 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: 43846a2e31b20ffb05c9bff810a7e49db2c39a42a5743be1f866bb5b7bd57f66, dfafa0deb88f651d4813534a54ba2a57e0291bb5bc3aece1b88a13467e3d665e, 1b1ffd3ff59354bb39d013429b3c0d1c94a4e3fdc5c39092da2998b3e79381f2 result, different first party: cbf0f1d64ad80409369c10b93e18afb8149de37a4b01f629469d88e404c2e757, 09a3fba2c2a6de49995740f69fe094b50c0733711a15644fde56b9839f7d7290, 6b3e746bc6d5b48b219ffb8a6a2b53eb6a5dacebb40a22fe20dac59683a0dde3 unsupported: false, false, false passed: true, true, true test failed: 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: 082c6107a6fad597c483f54e417e29ba473645d1654c96755b1255e49da52ddc, ff160c574836b3b6c3adc260beff34e397fb0680f6a95838391d19f80048662e result, different first party: e9ed5e32b6f6ce07d191d99da3c711f463a3fd97a4e2ac5b2a4564725ae4e305, 8aec7459b819c9bdb5a6394bfa4fe0590fe53687b2120c17ecf49175fdf7afb0 unsupported: false, false passed: true, true test failed: 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: 47045f29e6f653628bbcabc8102bf570e818688cb825c46dd1531584e7dc118f, ae1b89904c384de9a70ecb03a01414f45a747124cad1bda65dd3250f2181c08c, 1ef45df1f8775279c9b4cbfddc38946c30073232f3d83b5dc314cbcf50f377f3 result, different first party: 19140eb9a601e12a15c6bc0b5d50d1a11626af884d1742f960b6c2caecf0eb59, 2acf9d36a2e09c3fe16f89a92e934f03c10db71cee52c9c6102aa842e31f1a11, f4b178384a6b84c9d54aec083245a6d5fcde56fb1e054e12a6e878054585355d unsupported: false, false, false passed: true, true, true test failed: 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: ee5db1170d5039ea95d59a36f85df72bfb421856d27221b642b082b8512d294e, d904e8137dfed7233cc19986003b38758ae14f824fd577f04580734ecf2a364f result, different first party: 19e6040a9f47d0d4624840cefa0731a9d5f05e6ddf80222503acd0e85955d1c6, 4309f47ae777a12692a5b11ae25d51e65c3fde756edd7efc6d93dde840554d6e unsupported: false, false passed: true, true test failed: 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: 2846331d5dad18abc389bc33fd097bc6d06a1145edf47e5a9a5aa473c7261143, ad3b33addd023164829a6db9f02a6300b9e896651dc04292619f4dc70746bbf5, 8dbae0d694afaedb18bf57730aa2fd8ec7b34d48c64005688b71318ab7957a0c result, different first party: 1da34c0f4af7a15cf4d82b4ea0f5db0884aa07d3cb55b56a58d4a04e82137ef9, a37a5744f5cf15355dffa2f0091a8d366cb5c01de2881f88f4fdb0e8505c9f7b, 5e4bd84c0510abc645102c5051fa827a5daf2bc7a791b46d2f79b93ee94603ea unsupported: false, false, false passed: true, true, true test failed: false, false, false |
Web SQL Database
The Web SQL Database is a deprecated web API for storing data in an SQL database. |
write: async (key) => { if (!window.openDatabase) { throw new Error("gported"); } let database = window.openDatabase("sqlite_supercookie", "", "supercookie", 1024 * 1024); let tx = new Promise((resolve) => database.transaction(tx => { tx.executeSql( `CREATE TABLE IF NOT EXISTS cache( id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, name TEXT NOT NULL, value TEXT NOT NULL, UNIQUE (name) )`, [], (tx, rs) => {}, (tx, err) => {}); tx.executeSql( `INSERT OR REPLACE INTO cache(name, value) VALUES(?, ?)`, ["secret", key], (tx, rs) => {}, (tx, rs) => {}); })); } read: async () => { let database = window.openDatabase("sqlite_supercookie", "", "supercookie", 1024 * 1024); let result = await new Promise((resolve, reject) => database.transaction(tx => { tx.executeSql( "SELECT value FROM cache WHERE name=?", ["secret"], (tx, rs) => resolve(rs), (tx, err) => reject(err)); })); return result.rows.item(0).value; } result, same first party: Error: window.openDatabase is not a function, Error: window.openDatabase is not a function, Error: window.openDatabase is not a function result, different first party: Error: window.openDatabase is not a function, Error: window.openDatabase is not a function, Error: window.openDatabase is not a function unsupported: false, false, false passed: undefined test failed: true, true, true |
write: async (key) => { if (!window.openDatabase) { throw new Error("gported"); } let database = window.openDatabase("sqlite_supercookie", "", "supercookie", 1024 * 1024); let tx = new Promise((resolve) => database.transaction(tx => { tx.executeSql( `CREATE TABLE IF NOT EXISTS cache( id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, name TEXT NOT NULL, value TEXT NOT NULL, UNIQUE (name) )`, [], (tx, rs) => {}, (tx, err) => {}); tx.executeSql( `INSERT OR REPLACE INTO cache(name, value) VALUES(?, ?)`, ["secret", key], (tx, rs) => {}, (tx, rs) => {}); })); } read: async () => { let database = window.openDatabase("sqlite_supercookie", "", "supercookie", 1024 * 1024); let result = await new Promise((resolve, reject) => database.transaction(tx => { tx.executeSql( "SELECT value FROM cache WHERE name=?", ["secret"], (tx, rs) => resolve(rs), (tx, err) => reject(err)); })); return result.rows.item(0).value; } result, same first party: Error: window.openDatabase is not a function, Error: window.openDatabase is not a function result, different first party: Error: window.openDatabase is not a function, Error: window.openDatabase is not a function unsupported: false, false passed: undefined test failed: true, true |
write: async (key) => { if (!window.openDatabase) { throw new Error("gported"); } let database = window.openDatabase("sqlite_supercookie", "", "supercookie", 1024 * 1024); let tx = new Promise((resolve) => database.transaction(tx => { tx.executeSql( `CREATE TABLE IF NOT EXISTS cache( id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, name TEXT NOT NULL, value TEXT NOT NULL, UNIQUE (name) )`, [], (tx, rs) => {}, (tx, err) => {}); tx.executeSql( `INSERT OR REPLACE INTO cache(name, value) VALUES(?, ?)`, ["secret", key], (tx, rs) => {}, (tx, rs) => {}); })); } read: async () => { let database = window.openDatabase("sqlite_supercookie", "", "supercookie", 1024 * 1024); let result = await new Promise((resolve, reject) => database.transaction(tx => { tx.executeSql( "SELECT value FROM cache WHERE name=?", ["secret"], (tx, rs) => resolve(rs), (tx, err) => reject(err)); })); return result.rows.item(0).value; } result, same first party: Error: Web SQL is deprecated, Error: Web SQL is deprecated, Error: Web SQL is deprecated, Error: Web SQL is deprecated result, different first party: Error: Web SQL is deprecated, Error: Web SQL is deprecated, Error: Web SQL is deprecated, Error: Web SQL is deprecated unsupported: false, false, false, false passed: undefined test failed: true, true, true, true |
write: async (key) => { if (!window.openDatabase) { throw new Error("gported"); } let database = window.openDatabase("sqlite_supercookie", "", "supercookie", 1024 * 1024); let tx = new Promise((resolve) => database.transaction(tx => { tx.executeSql( `CREATE TABLE IF NOT EXISTS cache( id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, name TEXT NOT NULL, value TEXT NOT NULL, UNIQUE (name) )`, [], (tx, rs) => {}, (tx, err) => {}); tx.executeSql( `INSERT OR REPLACE INTO cache(name, value) VALUES(?, ?)`, ["secret", key], (tx, rs) => {}, (tx, rs) => {}); })); } read: async () => { let database = window.openDatabase("sqlite_supercookie", "", "supercookie", 1024 * 1024); let result = await new Promise((resolve, reject) => database.transaction(tx => { tx.executeSql( "SELECT value FROM cache WHERE name=?", ["secret"], (tx, rs) => resolve(rs), (tx, err) => reject(err)); })); return result.rows.item(0).value; } result, same first party: Error: window.openDatabase is not a function, Error: window.openDatabase is not a function, Error: window.openDatabase is not a function result, different first party: Error: window.openDatabase is not a function, Error: window.openDatabase is not a function, Error: window.openDatabase is not a function unsupported: false, false, false passed: undefined test failed: true, true, true |
write: async (key) => { if (!window.openDatabase) { throw new Error("gported"); } let database = window.openDatabase("sqlite_supercookie", "", "supercookie", 1024 * 1024); let tx = new Promise((resolve) => database.transaction(tx => { tx.executeSql( `CREATE TABLE IF NOT EXISTS cache( id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, name TEXT NOT NULL, value TEXT NOT NULL, UNIQUE (name) )`, [], (tx, rs) => {}, (tx, err) => {}); tx.executeSql( `INSERT OR REPLACE INTO cache(name, value) VALUES(?, ?)`, ["secret", key], (tx, rs) => {}, (tx, rs) => {}); })); } read: async () => { let database = window.openDatabase("sqlite_supercookie", "", "supercookie", 1024 * 1024); let result = await new Promise((resolve, reject) => database.transaction(tx => { tx.executeSql( "SELECT value FROM cache WHERE name=?", ["secret"], (tx, rs) => resolve(rs), (tx, err) => reject(err)); })); return result.rows.item(0).value; } result, same first party: Error: window.openDatabase is not a function, Error: window.openDatabase is not a function, Error: window.openDatabase is not a function result, different first party: Error: window.openDatabase is not a function, Error: window.openDatabase is not a function, Error: window.openDatabase is not a function unsupported: false, false, false passed: undefined test failed: true, true, true |
write: async (key) => { if (!window.openDatabase) { throw new Error("gported"); } let database = window.openDatabase("sqlite_supercookie", "", "supercookie", 1024 * 1024); let tx = new Promise((resolve) => database.transaction(tx => { tx.executeSql( `CREATE TABLE IF NOT EXISTS cache( id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, name TEXT NOT NULL, value TEXT NOT NULL, UNIQUE (name) )`, [], (tx, rs) => {}, (tx, err) => {}); tx.executeSql( `INSERT OR REPLACE INTO cache(name, value) VALUES(?, ?)`, ["secret", key], (tx, rs) => {}, (tx, rs) => {}); })); } read: async () => { let database = window.openDatabase("sqlite_supercookie", "", "supercookie", 1024 * 1024); let result = await new Promise((resolve, reject) => database.transaction(tx => { tx.executeSql( "SELECT value FROM cache WHERE name=?", ["secret"], (tx, rs) => resolve(rs), (tx, err) => reject(err)); })); return result.rows.item(0).value; } result, same first party: Error: window.openDatabase is not a function, Error: window.openDatabase is not a function result, different first party: Error: window.openDatabase is not a function, Error: window.openDatabase is not a function unsupported: false, false passed: undefined test failed: true, true |
write: async (key) => { if (!window.openDatabase) { throw new Error("gported"); } let database = window.openDatabase("sqlite_supercookie", "", "supercookie", 1024 * 1024); let tx = new Promise((resolve) => database.transaction(tx => { tx.executeSql( `CREATE TABLE IF NOT EXISTS cache( id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, name TEXT NOT NULL, value TEXT NOT NULL, UNIQUE (name) )`, [], (tx, rs) => {}, (tx, err) => {}); tx.executeSql( `INSERT OR REPLACE INTO cache(name, value) VALUES(?, ?)`, ["secret", key], (tx, rs) => {}, (tx, rs) => {}); })); } read: async () => { let database = window.openDatabase("sqlite_supercookie", "", "supercookie", 1024 * 1024); let result = await new Promise((resolve, reject) => database.transaction(tx => { tx.executeSql( "SELECT value FROM cache WHERE name=?", ["secret"], (tx, rs) => resolve(rs), (tx, err) => reject(err)); })); return result.rows.item(0).value; } result, same first party: Error: Web SQL is deprecated, Error: Web SQL is deprecated, Error: Web SQL is deprecated result, different first party: Error: Web SQL is deprecated, Error: Web SQL is deprecated, Error: Web SQL is deprecated unsupported: false, false, false passed: undefined test failed: true, true, true |
write: async (key) => { if (!window.openDatabase) { throw new Error("gported"); } let database = window.openDatabase("sqlite_supercookie", "", "supercookie", 1024 * 1024); let tx = new Promise((resolve) => database.transaction(tx => { tx.executeSql( `CREATE TABLE IF NOT EXISTS cache( id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, name TEXT NOT NULL, value TEXT NOT NULL, UNIQUE (name) )`, [], (tx, rs) => {}, (tx, err) => {}); tx.executeSql( `INSERT OR REPLACE INTO cache(name, value) VALUES(?, ?)`, ["secret", key], (tx, rs) => {}, (tx, rs) => {}); })); } read: async () => { let database = window.openDatabase("sqlite_supercookie", "", "supercookie", 1024 * 1024); let result = await new Promise((resolve, reject) => database.transaction(tx => { tx.executeSql( "SELECT value FROM cache WHERE name=?", ["secret"], (tx, rs) => resolve(rs), (tx, err) => reject(err)); })); return result.rows.item(0).value; } result, same first party: Error: window.openDatabase is not a function, Error: window.openDatabase is not a function result, different first party: Error: window.openDatabase is not a function, Error: window.openDatabase is not a function unsupported: false, false passed: undefined test failed: true, true |
write: async (key) => { if (!window.openDatabase) { throw new Error("gported"); } let database = window.openDatabase("sqlite_supercookie", "", "supercookie", 1024 * 1024); let tx = new Promise((resolve) => database.transaction(tx => { tx.executeSql( `CREATE TABLE IF NOT EXISTS cache( id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, name TEXT NOT NULL, value TEXT NOT NULL, UNIQUE (name) )`, [], (tx, rs) => {}, (tx, err) => {}); tx.executeSql( `INSERT OR REPLACE INTO cache(name, value) VALUES(?, ?)`, ["secret", key], (tx, rs) => {}, (tx, rs) => {}); })); } read: async () => { let database = window.openDatabase("sqlite_supercookie", "", "supercookie", 1024 * 1024); let result = await new Promise((resolve, reject) => database.transaction(tx => { tx.executeSql( "SELECT value FROM cache WHERE name=?", ["secret"], (tx, rs) => resolve(rs), (tx, err) => reject(err)); })); return result.rows.item(0).value; } result, same first party: Error: window.openDatabase is not a function, Error: window.openDatabase is not a function, Error: window.openDatabase is not a function result, different first party: Error: window.openDatabase is not a function, Error: window.openDatabase is not a function, Error: window.openDatabase is not a function unsupported: false, false, false passed: undefined test failed: true, true, true |
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, 1, 1 result, different first party: 2, 2, 2 unsupported: false, false, false passed: true, true, true test failed: 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, 1 result, different first party: 2, 2 unsupported: false, false passed: true, true test failed: 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, 1, 1, 1 result, different first party: 2, 2, 2, 2 unsupported: false, false, false, false passed: true, true, true, true test failed: 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, 1, 1 result, different first party: 2, 2, 2 unsupported: false, false, false passed: true, true, true test failed: 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, 1, 1 result, different first party: 2, 2, 2 unsupported: false, false, false passed: true, true, true test failed: 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, 1 result, different first party: 2, 2 unsupported: false, false passed: true, true test failed: 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: 2, 2, 2 result, different first party: 3, 3, 3 unsupported: false, false, false passed: true, true, true test failed: 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, 1 result, different first party: 2, 2 unsupported: false, false passed: true, true test failed: 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, 1, 1 result, different first party: 2, 2, 2 unsupported: false, false, false passed: true, true, true test failed: false, false, 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/, 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/ unsupported: false, false, false passed: false, false, false test failed: false, false, false |
write: (secret) => { /* do nothing */ } read: () => document.referrer result, same first party: https://test-pages.privacytests2.org/, https://test-pages.privacytests2.org/ result, different first party: https://test-pages.privacytests2.org/, https://test-pages.privacytests2.org/ unsupported: false, false passed: false, false test failed: false, 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/ result, different first party: 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 passed: false, false, false, false test failed: false, false, false, 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/ result, different first party: https://test-pages.privacytests2.org/, https://test-pages.privacytests2.org/, https://test-pages.privacytests2.org/ unsupported: false, false, false passed: false, false, false test failed: false, false, 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/ result, different first party: https://test-pages.privacytests2.org/, https://test-pages.privacytests2.org/, https://test-pages.privacytests2.org/ unsupported: false, false, false passed: false, false, false test failed: false, false, false |
write: (secret) => { /* do nothing */ } read: () => document.referrer result, same first party: https://test-pages.privacytests2.org/, https://test-pages.privacytests2.org/ result, different first party: https://test-pages.privacytests2.org/, https://test-pages.privacytests2.org/ unsupported: false, false passed: false, false test failed: false, 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/ result, different first party: https://test-pages.privacytests2.org/, https://test-pages.privacytests2.org/, https://test-pages.privacytests2.org/ unsupported: false, false, false passed: false, false, false test failed: false, false, false |
write: (secret) => { /* do nothing */ } read: () => document.referrer result, same first party: https://test-pages.privacytests2.org/, https://test-pages.privacytests2.org/ result, different first party: https://test-pages.privacytests2.org/, https://test-pages.privacytests2.org/ unsupported: false, false passed: false, false test failed: false, 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/ result, different first party: https://test-pages.privacytests2.org/, https://test-pages.privacytests2.org/, https://test-pages.privacytests2.org/ unsupported: false, false, false passed: false, false, false test failed: false, false, 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: b85ca32d-e983-45a3-9fcd-397953221748, 498026b0-cd0c-40ce-8f8b-beb773704d24, ab00ad24-34b0-46cd-afbd-b979d513ffc5 result, different first party: , , unsupported: false, false, false passed: true, true, true test failed: false, false, false |
write: (secret) => sessionStorage.setItem("secret", secret) read: () => sessionStorage.getItem("secret") result, same first party: aea789cd-5932-4f96-8600-bdf5a4a3d42f, 75af5a0c-0041-4d02-96ed-9fe72600663f result, different first party: , unsupported: false, false passed: true, true test failed: false, false |
write: (secret) => sessionStorage.setItem("secret", secret) read: () => sessionStorage.getItem("secret") result, same first party: 97ec8041-b6d1-4809-8bc0-362e9247e755, 59503190-8263-45a5-92bf-8e6899d0e57f, 6deda474-af03-4659-8626-26e498286d0b, e95dff4e-71b2-429b-98a0-89a4f1bdf612 result, different first party: , , , unsupported: false, false, false, false passed: true, true, true, true test failed: false, false, false, false |
write: (secret) => sessionStorage.setItem("secret", secret) read: () => sessionStorage.getItem("secret") result, same first party: 34985076-425c-46c3-9413-e94d5fe54a0c, 3225c7dc-a182-40da-8101-7e50e78e1624, 71ba7e98-31bf-4e3d-9e25-ed8d581d93c9 result, different first party: , , unsupported: false, false, false passed: true, true, true test failed: false, false, false |
write: (secret) => sessionStorage.setItem("secret", secret) read: () => sessionStorage.getItem("secret") result, same first party: 206e6877-f037-4ed7-967f-7e754a18833c, 24941163-6b8d-486a-b253-aae4cd6593a3, 64e3432a-c49c-4648-99b2-e1a565c0e486 result, different first party: , , unsupported: false, false, false passed: true, true, true test failed: false, false, false |
write: (secret) => sessionStorage.setItem("secret", secret) read: () => sessionStorage.getItem("secret") result, same first party: 584058ed-6a62-4421-8872-a7a4ff86abc1, c77d14f8-6224-4809-a2dd-67e9cac1807c result, different first party: , unsupported: false, false passed: true, true test failed: false, false |
write: (secret) => sessionStorage.setItem("secret", secret) read: () => sessionStorage.getItem("secret") result, same first party: 27c270d5-e62d-466d-a5bb-47a9a79c96bc, fbc71f37-17e1-4b20-9dd9-9b2c598d7a1c, 745a0a43-27e4-4daf-920d-ab4b90e7f6ed result, different first party: , , unsupported: false, false, false passed: true, true, true test failed: false, false, false |
write: (secret) => sessionStorage.setItem("secret", secret) read: () => sessionStorage.getItem("secret") result, same first party: b6379b39-d029-45ce-b9a8-1b04bf9df9df, 7404e62b-0c40-4a1b-8a53-655f1cfdbe78 result, different first party: , unsupported: false, false passed: true, true test failed: false, false |
write: (secret) => sessionStorage.setItem("secret", secret) read: () => sessionStorage.getItem("secret") result, same first party: 7e1f274d-f77e-418b-b6c2-b822e830036f, eabace17-9ce1-4f03-87c9-9ac0de883eb9, 5592107e-1002-4b3b-88d6-b0168b0810ef result, different first party: , , unsupported: false, false, false passed: true, true, true test failed: false, false, 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_b85ca32d-e983-45a3-9fcd-397953221748, name_498026b0-cd0c-40ce-8f8b-beb773704d24, name_ab00ad24-34b0-46cd-afbd-b979d513ffc5 result, different first party: , , unsupported: false, false, false passed: true, true, true test failed: false, false, false |
write: (secret) => window.name = "name_" + secret read: () => window.name result, same first party: name_aea789cd-5932-4f96-8600-bdf5a4a3d42f, name_75af5a0c-0041-4d02-96ed-9fe72600663f result, different first party: name_aea789cd-5932-4f96-8600-bdf5a4a3d42f, name_75af5a0c-0041-4d02-96ed-9fe72600663f unsupported: false, false passed: false, false test failed: false, false |
write: (secret) => window.name = "name_" + secret read: () => window.name result, same first party: name_97ec8041-b6d1-4809-8bc0-362e9247e755, name_59503190-8263-45a5-92bf-8e6899d0e57f, name_6deda474-af03-4659-8626-26e498286d0b, name_e95dff4e-71b2-429b-98a0-89a4f1bdf612 result, different first party: , , , unsupported: false, false, false, false passed: true, true, true, true test failed: false, false, false, false |
write: (secret) => window.name = "name_" + secret read: () => window.name result, same first party: name_34985076-425c-46c3-9413-e94d5fe54a0c, name_3225c7dc-a182-40da-8101-7e50e78e1624, name_71ba7e98-31bf-4e3d-9e25-ed8d581d93c9 result, different first party: name_34985076-425c-46c3-9413-e94d5fe54a0c, name_3225c7dc-a182-40da-8101-7e50e78e1624, name_71ba7e98-31bf-4e3d-9e25-ed8d581d93c9 unsupported: false, false, false passed: false, false, false test failed: false, false, false |
write: (secret) => window.name = "name_" + secret read: () => window.name result, same first party: name_206e6877-f037-4ed7-967f-7e754a18833c, name_24941163-6b8d-486a-b253-aae4cd6593a3, name_64e3432a-c49c-4648-99b2-e1a565c0e486 result, different first party: , , unsupported: false, false, false passed: true, true, true test failed: false, false, false |
write: (secret) => window.name = "name_" + secret read: () => window.name result, same first party: name_584058ed-6a62-4421-8872-a7a4ff86abc1, name_c77d14f8-6224-4809-a2dd-67e9cac1807c result, different first party: name_584058ed-6a62-4421-8872-a7a4ff86abc1, name_c77d14f8-6224-4809-a2dd-67e9cac1807c unsupported: false, false passed: false, false test failed: false, false |
write: (secret) => window.name = "name_" + secret read: () => window.name result, same first party: name_27c270d5-e62d-466d-a5bb-47a9a79c96bc, name_fbc71f37-17e1-4b20-9dd9-9b2c598d7a1c, name_745a0a43-27e4-4daf-920d-ab4b90e7f6ed result, different first party: , , unsupported: false, false, false passed: true, true, true test failed: false, false, false |
write: (secret) => window.name = "name_" + secret read: () => window.name result, same first party: name_b6379b39-d029-45ce-b9a8-1b04bf9df9df, name_7404e62b-0c40-4a1b-8a53-655f1cfdbe78 result, different first party: , unsupported: false, false passed: true, true test failed: false, false |
write: (secret) => window.name = "name_" + secret read: () => window.name result, same first party: name_7e1f274d-f77e-418b-b6c2-b822e830036f, name_eabace17-9ce1-4f03-87c9-9ac0de883eb9, name_5592107e-1002-4b3b-88d6-b0168b0810ef result, different first party: name_7e1f274d-f77e-418b-b6c2-b822e830036f, name_eabace17-9ce1-4f03-87c9-9ac0de883eb9, name_5592107e-1002-4b3b-88d6-b0168b0810ef unsupported: false, false, false passed: false, false, false test failed: false, false, 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, false, false result: Insecure website loaded, Insecure website loaded, Insecure website loaded |
passed: false, false result: Insecure website loaded, Insecure website loaded |
passed: false, false, false, false result: Insecure website loaded, Insecure website loaded, Insecure website loaded, Insecure website loaded |
passed: false, false, false result: Insecure website loaded, Insecure website loaded, Insecure website loaded |
passed: false, false, false result: Insecure website loaded, Insecure website loaded, Insecure website loaded |
passed: false, false result: Insecure website loaded, Insecure website loaded |
passed: false, false, false result: Insecure website loaded, Insecure website loaded, Insecure website loaded |
passed: true, true result: Insecure website never loaded, Insecure website never loaded |
passed: false, false, false result: Insecure website loaded, Insecure website loaded, 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, true, true passed: true, true, true |
upgraded: true, true passed: true, true |
upgraded: false, false, false, false passed: false, false, false, false |
upgraded: true, true, true passed: true, true, true |
upgraded: false, false, false passed: false, false, false |
upgraded: true, true passed: true, true |
upgraded: false, false, false passed: false, false, false |
upgraded: true, true passed: true, true |
upgraded: true, true, true passed: true, true, true |
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, true, true passed: true, true, true |
upgraded: true, true passed: true, true |
upgraded: false, false, false, false passed: false, false, false, false |
upgraded: true, true, true passed: true, true, true |
upgraded: false, false, false passed: false, false, false |
upgraded: true, true passed: true, true |
upgraded: false, false, false passed: false, false, false |
upgraded: true, true passed: true, true |
upgraded: true, true, true passed: true, true, true |
Upgradable image
Checks to see if the browser attempts to upgrade an insecure address for an image to HTTPS whenever possible. |
passed: true, true, true result: upgraded, upgraded, upgraded |
passed: true, true result: upgraded, upgraded |
passed: false, false, false, false result: loaded insecurely, loaded insecurely, loaded insecurely, loaded insecurely |
passed: true, true, true result: upgraded, upgraded, upgraded |
passed: true, true, true result: upgraded, upgraded, upgraded |
passed: true, true result: upgraded, upgraded |
passed: false, false, false result: loaded insecurely, loaded insecurely, loaded insecurely |
passed: true, true result: upgraded, upgraded |
passed: true, true, true result: upgraded, upgraded, upgraded |
Upgradable script
Checks to see if the browser attempts to upgrade an insecure address for an script to HTTPS whenever possible. |
passed: true, true, true result: blocked, blocked, blocked |
passed: true, true result: blocked, blocked |
passed: true, true, true, true result: blocked, blocked, blocked, blocked |
passed: true, true, true result: blocked, blocked, blocked |
passed: true, true, true result: blocked, blocked, blocked |
passed: true, true result: blocked, blocked |
passed: true, true, true result: blocked, blocked, blocked |
passed: true, true result: upgraded, upgraded |
passed: true, true, true result: blocked, blocked, 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, true, true |
SNI_status: encrypted passed: true, true |
SNI_status: plaintext passed: false, false, false, false |
SNI_status: encrypted passed: true, true, true |
SNI_status: plaintext passed: false, false, false |
SNI_status: encrypted passed: true, true |
SNI_status: plaintext passed: false, false, false |
SNI_status: plaintext passed: false, false |
SNI_status: encrypted passed: true, true, 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, true, true |
header value: undefined passed: false, false |
header value: undefined passed: false, false, false, false |
header value: undefined passed: false, false, false |
header value: undefined passed: false, false, false |
header value: undefined passed: false, false |
header value: undefined passed: false, false, false |
header value: undefined passed: false, false |
header value: undefined passed: false, false, 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, true, true |
passed: false, false |
passed: false, false, false, false |
passed: false, false, false |
passed: false, false, false |
passed: false, false |
passed: false, false, false |
passed: false, false |
passed: false, false, 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, false, false |
passed: false, false |
passed: false, false, false, false |
passed: false, false, false |
passed: false, false, false |
passed: false, false |
passed: false, false, false |
passed: true, true |
passed: false, false, 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, true, true readSameFirstParty: Error: Unsupported, Error: Unsupported, Error: Unsupported readDifferentFirstParty: Error: Unsupported, Error: Unsupported, Error: Unsupported testFailed: false, false, false |
write: () => { if (!usingTor) { throw new Error("Unsupported"); } } read: async () => { if (usingTor) { return ipAddress; } else { throw new Error("Unsupported"); } } unsupported: true, true readSameFirstParty: Error: Unsupported, Error: Unsupported readDifferentFirstParty: Error: Unsupported, Error: Unsupported testFailed: false, false |
write: () => { if (!usingTor) { throw new Error("Unsupported"); } } read: async () => { if (usingTor) { return ipAddress; } else { throw new Error("Unsupported"); } } unsupported: true, true, true, true readSameFirstParty: Error: Unsupported, Error: Unsupported, Error: Unsupported, Error: Unsupported readDifferentFirstParty: Error: Unsupported, Error: Unsupported, Error: Unsupported, Error: Unsupported testFailed: false, false, false, false |
write: () => { if (!usingTor) { throw new Error("Unsupported"); } } read: async () => { if (usingTor) { return ipAddress; } else { throw new Error("Unsupported"); } } unsupported: true, true, true readSameFirstParty: Error: Unsupported, Error: Unsupported, Error: Unsupported readDifferentFirstParty: Error: Unsupported, Error: Unsupported, Error: Unsupported testFailed: false, false, false |
write: () => { if (!usingTor) { throw new Error("Unsupported"); } } read: async () => { if (usingTor) { return ipAddress; } else { throw new Error("Unsupported"); } } unsupported: true, true, true readSameFirstParty: Error: Unsupported, Error: Unsupported, Error: Unsupported readDifferentFirstParty: Error: Unsupported, Error: Unsupported, Error: Unsupported testFailed: false, false, false |
write: () => { if (!usingTor) { throw new Error("Unsupported"); } } read: async () => { if (usingTor) { return ipAddress; } else { throw new Error("Unsupported"); } } unsupported: true, true readSameFirstParty: Error: Unsupported, Error: Unsupported readDifferentFirstParty: Error: Unsupported, Error: Unsupported testFailed: false, false |
write: () => { if (!usingTor) { throw new Error("Unsupported"); } } read: async () => { if (usingTor) { return ipAddress; } else { throw new Error("Unsupported"); } } unsupported: true, true, true readSameFirstParty: Error: Unsupported, Error: Unsupported, Error: Unsupported readDifferentFirstParty: Error: Unsupported, Error: Unsupported, Error: Unsupported testFailed: false, false, false |
write: () => { if (!usingTor) { throw new Error("Unsupported"); } } read: async () => { if (usingTor) { return ipAddress; } else { throw new Error("Unsupported"); } } unsupported: false, false readSameFirstParty: 2001:67c:289c:2::234, 2a06:1700:0:12::1 readDifferentFirstParty: 2605:6400:30:f4ae:8f7b:cc6e:d1d7:b978, 2001:67c:289c::25 passed: true, true testFailed: false, false |
write: () => { if (!usingTor) { throw new Error("Unsupported"); } } read: async () => { if (usingTor) { return ipAddress; } else { throw new Error("Unsupported"); } } unsupported: true, true, true readSameFirstParty: Error: Unsupported, Error: Unsupported, Error: Unsupported readDifferentFirstParty: Error: Unsupported, Error: Unsupported, Error: Unsupported testFailed: false, false, 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, false, false passed: false, false, false |
IsTorExit: false, false passed: false, false |
IsTorExit: false, false, false, false passed: false, false, false, false |
IsTorExit: false, false, false passed: false, false, false |
IsTorExit: false, false, false passed: false, false, false |
IsTorExit: false, false passed: false, false |
IsTorExit: false, false, false passed: false, false, false |
IsTorExit: true, true passed: true, true |
IsTorExit: false, false, false passed: false, false, 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: 1287,1291,1288 desired value: undefined passed: true,true,true |
expression: undefined desired expression: undefined actual value: 1440,1440 desired value: undefined passed: false,false |
expression: undefined desired expression: undefined actual value: 1440,1440,1440,1440 desired value: undefined passed: false,false,false,false |
expression: undefined desired expression: undefined actual value: 1440,1440,1440 desired value: undefined passed: false,false,false |
expression: undefined desired expression: undefined actual value: 1440,1440,1440 desired value: undefined passed: false,false,false |
expression: undefined desired expression: undefined actual value: 1440,1440 desired value: undefined passed: false,false |
expression: undefined desired expression: undefined actual value: 1440,1440,1440 desired value: undefined passed: false,false,false |
expression: undefined desired expression: undefined actual value: 900,900 desired value: undefined passed: true,true |
expression: undefined desired expression: undefined actual value: 1440,1440,1440 desired value: undefined passed: false,false,false |
Media query screen width
Width of the user's screen in pixels. |
expression: undefined desired expression: undefined actual value: 1160,1162,1158 desired value: undefined passed: true,true,true |
expression: undefined desired expression: undefined actual value: 2560,2560 desired value: undefined passed: false,false |
expression: undefined desired expression: undefined actual value: 2560,2560,2560,2560 desired value: undefined passed: false,false,false,false |
expression: undefined desired expression: undefined actual value: 2560,2560,2560 desired value: undefined passed: false,false,false |
expression: undefined desired expression: undefined actual value: 2560,2560,2560 desired value: undefined passed: false,false,false |
expression: undefined desired expression: undefined actual value: 2560,2560 desired value: undefined passed: false,false |
expression: undefined desired expression: undefined actual value: 2560,2560,2560 desired value: undefined passed: false,false,false |
expression: undefined desired expression: undefined actual value: 1400,1400 desired value: undefined passed: true,true |
expression: undefined desired expression: undefined actual value: 2560,2560,2560 desired value: undefined passed: false,false,false |
outerHeight
Height of the browser window in pixels, including browser chrome. |
expression: outerHeight desired expression: undefined actual value: 1287,1291,1288 desired value: undefined passed: true,true,true |
expression: outerHeight desired expression: undefined actual value: 1371,1371 desired value: undefined passed: false,false |
expression: outerHeight desired expression: undefined actual value: 703,703,703,703 desired value: undefined passed: true,true,true,true |
expression: outerHeight desired expression: undefined actual value: 1371,1371,1371 desired value: undefined passed: false,false,false |
expression: outerHeight desired expression: undefined actual value: 1040,1040,1040 desired value: undefined passed: false,false,false |
expression: outerHeight desired expression: undefined actual value: 1061,1061 desired value: undefined passed: false,false |
expression: outerHeight desired expression: undefined actual value: 940,940,940 desired value: undefined passed: false,false,false |
expression: outerHeight desired expression: undefined actual value: 900,900 desired value: undefined passed: true,true |
expression: outerHeight desired expression: undefined actual value: 1371,1371,1371 desired value: undefined passed: false,false,false |
screen.height
Height of the user's screen, in pixels. |
expression: screen.height desired expression: undefined actual value: 1287,1291,1288 desired value: undefined passed: true,true,true |
expression: screen.height desired expression: undefined actual value: 1440,1440 desired value: undefined passed: false,false |
expression: screen.height desired expression: undefined actual value: 1440,1440,1440,1440 desired value: undefined passed: false,false,false,false |
expression: screen.height desired expression: undefined actual value: 1440,1440,1440 desired value: undefined passed: false,false,false |
expression: screen.height desired expression: undefined actual value: 1440,1440,1440 desired value: undefined passed: false,false,false |
expression: screen.height desired expression: undefined actual value: 1440,1440 desired value: undefined passed: false,false |
expression: screen.height desired expression: undefined actual value: 1440,1440,1440 desired value: undefined passed: false,false,false |
expression: screen.height desired expression: undefined actual value: 900,900 desired value: undefined passed: true,true |
expression: screen.height desired expression: undefined actual value: 1440,1440,1440 desired value: undefined passed: false,false,false |
screen.width
Width of the user's screen, in pixels. |
expression: screen.width desired expression: undefined actual value: 1160,1162,1158 desired value: undefined passed: true,true,true |
expression: screen.width desired expression: undefined actual value: 2560,2560 desired value: undefined passed: false,false |
expression: screen.width desired expression: undefined actual value: 2560,2560,2560,2560 desired value: undefined passed: false,false,false,false |
expression: screen.width desired expression: undefined actual value: 2560,2560,2560 desired value: undefined passed: false,false,false |
expression: screen.width desired expression: undefined actual value: 2560,2560,2560 desired value: undefined passed: false,false,false |
expression: screen.width desired expression: undefined actual value: 2560,2560 desired value: undefined passed: false,false |
expression: screen.width desired expression: undefined actual value: 2560,2560,2560 desired value: undefined passed: false,false,false |
expression: screen.width desired expression: undefined actual value: 1400,1400 desired value: undefined passed: true,true |
expression: screen.width desired expression: undefined actual value: 2560,2560,2560 desired value: undefined passed: false,false,false |
screenX
Position, in pixels, of the left edge of the browser window on screen. |
expression: screenX desired expression: undefined actual value: 6,0,1 desired value: undefined passed: true,true,true |
expression: screenX desired expression: undefined actual value: 22,22 desired value: undefined passed: false,false |
expression: screenX desired expression: undefined actual value: 0,0,0,0 desired value: undefined passed: true,true,true,true |
expression: screenX desired expression: undefined actual value: 22,22,22 desired value: undefined passed: false,false,false |
expression: screenX desired expression: undefined actual value: 4,4,4 desired value: undefined passed: true,true,true |
expression: screenX desired expression: undefined actual value: 320,320 desired value: undefined passed: false,false |
expression: screenX desired expression: undefined actual value: 340,340,340 desired value: undefined passed: false,false,false |
expression: screenX desired expression: undefined actual value: 0,0 desired value: undefined passed: true,true |
expression: screenX desired expression: undefined actual value: 22,22,22 desired value: undefined passed: false,false,false |
screenY
Position, in pixels, of the top edge of the browser window on screen. |
expression: screenY desired expression: undefined actual value: 6,0,3 desired value: undefined passed: true,true,true |
expression: screenY desired expression: undefined actual value: 47,47 desired value: undefined passed: false,false |
expression: screenY desired expression: undefined actual value: 1440,1440,1440,1440 desired value: undefined passed: false,false,false,false |
expression: screenY desired expression: undefined actual value: 47,47,47 desired value: undefined passed: false,false,false |
expression: screenY desired expression: undefined actual value: 25,25,25 desired value: undefined passed: false,false,false |
expression: screenY desired expression: undefined actual value: 202,202 desired value: undefined passed: false,false |
expression: screenY desired expression: undefined actual value: 500,500,500 desired value: undefined passed: false,false,false |
expression: screenY desired expression: undefined actual value: 0,0 desired value: undefined passed: true,true |
expression: screenY desired expression: undefined actual value: 47,47,47 desired value: undefined passed: false,false,false |
System font detection
Web pages can detect the presence of a font installed on the user's system. The presence or absence of various fonts is commonly used to fingerprint users. |
expression: undefined desired expression: undefined actual value: undefined desired value: undefined passed: true,true,true |
expression: undefined desired expression: undefined actual value: undefined desired value: undefined passed: false,false |
expression: undefined desired expression: undefined actual value: undefined desired value: undefined passed: false,false,false,false |
expression: undefined desired expression: undefined actual value: undefined desired value: undefined passed: false,false,false |
expression: undefined desired expression: undefined actual value: undefined desired value: undefined passed: false,false,false |
expression: undefined desired expression: undefined actual value: undefined desired value: undefined passed: false,false |
expression: undefined desired expression: undefined actual value: undefined desired value: undefined passed: true,true,true |
expression: undefined desired expression: undefined actual value: undefined desired value: undefined passed: true,true |
expression: undefined desired expression: undefined actual value: undefined desired value: undefined passed: false,false,false |
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, true, true |
value: 8303910894658098 passed: false, false |
value: 8303910894658098 passed: false, false, false, false |
value: 8303910894658098 passed: false, false, false |
passed: true, true, true |
value: 8303910894658098 passed: false, false |
value: 8303910894658098 passed: false, false, false |
passed: true, true |
value: 8303910894658098 passed: false, false, false |
__hssc
HubSpot tracking parameter |
passed: true, true, true |
value: 8303910894658098 passed: false, false |
value: 8303910894658098 passed: false, false, false, false |
value: 8303910894658098 passed: false, false, false |
passed: true, true, true |
value: 8303910894658098 passed: false, false |
value: 8303910894658098 passed: false, false, false |
passed: true, true |
value: 8303910894658098 passed: false, false, false |
__hstc
HubSpot tracking parameter |
passed: true, true, true |
value: 8303910894658098 passed: false, false |
value: 8303910894658098 passed: false, false, false, false |
value: 8303910894658098 passed: false, false, false |
passed: true, true, true |
value: 8303910894658098 passed: false, false |
value: 8303910894658098 passed: false, false, false |
passed: true, true |
value: 8303910894658098 passed: false, false, false |
__s
Drip.com email address tracking parameter |
passed: true, true, true |
value: 8303910894658098 passed: false, false |
value: 8303910894658098 passed: false, false, false, false |
value: 8303910894658098 passed: false, false, false |
passed: true, true, true |
value: 8303910894658098 passed: false, false |
value: 8303910894658098 passed: false, false, false |
passed: true, true |
value: 8303910894658098 passed: false, false, false |
_hsenc
HubSpot tracking parameter |
passed: true, true, true |
value: 8303910894658098 passed: false, false |
value: 8303910894658098 passed: false, false, false, false |
value: 8303910894658098 passed: false, false, false |
passed: true, true, true |
value: 8303910894658098 passed: false, false |
value: 8303910894658098 passed: false, false, false |
passed: true, true |
value: 8303910894658098 passed: false, false, false |
_openstat
Yandex tracking parameter |
passed: true, true, true |
value: 8303910894658098 passed: false, false |
value: 8303910894658098 passed: false, false, false, false |
value: 8303910894658098 passed: false, false, false |
passed: true, true, true |
value: 8303910894658098 passed: false, false |
value: 8303910894658098 passed: false, false, false |
passed: true, true |
value: 8303910894658098 passed: false, false, false |
dclid
DoubleClick Click ID (Google) |
passed: true, true, true |
value: 8303910894658098 passed: false, false |
value: 8303910894658098 passed: false, false, false, false |
value: 8303910894658098 passed: false, false, false |
passed: true, true, true |
value: 8303910894658098 passed: false, false |
value: 8303910894658098 passed: false, false, false |
passed: true, true |
value: 8303910894658098 passed: false, false, false |
fbclid
Facebook Click Identifier |
passed: true, true, true |
value: 8303910894658098 passed: false, false |
passed: true, true, true, true |
value: 8303910894658098 passed: false, false, false |
passed: true, true, true |
value: 8303910894658098 passed: false, false |
value: 8303910894658098 passed: false, false, false |
passed: true, true |
value: 8303910894658098 passed: false, false, false |
gclid
Google Click Identifier |
passed: true, true, true |
value: 8303910894658098 passed: false, false |
passed: true, true, true, true |
value: 8303910894658098 passed: false, false, false |
passed: true, true, true |
value: 8303910894658098 passed: false, false |
value: 8303910894658098 passed: false, false, false |
passed: true, true |
value: 8303910894658098 passed: false, false, false |
hsCtaTracking
HubSpot tracking parameter |
passed: true, true, true |
value: 8303910894658098 passed: false, false |
value: 8303910894658098 passed: false, false, false, false |
value: 8303910894658098 passed: false, false, false |
passed: true, true, true |
value: 8303910894658098 passed: false, false |
value: 8303910894658098 passed: false, false, false |
passed: true, true |
value: 8303910894658098 passed: false, false, false |
mc_eid
Mailchimp Email ID (email recipient's address) |
passed: true, true, true |
value: 8303910894658098 passed: false, false |
value: 8303910894658098 passed: false, false, false, false |
value: 8303910894658098 passed: false, false, false |
passed: true, true, true |
value: 8303910894658098 passed: false, false |
value: 8303910894658098 passed: false, false, false |
passed: true, true |
value: 8303910894658098 passed: false, false, false |
mkt_tok
Adobe Marketo tracking parameter |
passed: true, true, true |
value: 8303910894658098 passed: false, false |
passed: true, true, true, true |
value: 8303910894658098 passed: false, false, false |
passed: true, true, true |
value: 8303910894658098 passed: false, false |
value: 8303910894658098 passed: false, false, false |
passed: true, true |
value: 8303910894658098 passed: false, false, false |
ml_subscriber
MailerLite email tracking |
passed: true, true, true |
value: 8303910894658098 passed: false, false |
value: 8303910894658098 passed: false, false, false, false |
value: 8303910894658098 passed: false, false, false |
value: 8303910894658098 passed: false, false, false |
value: 8303910894658098 passed: false, false |
value: 8303910894658098 passed: false, false, false |
value: 8303910894658098 passed: false, false |
value: 8303910894658098 passed: false, false, false |
ml_subscriber_hash
MailerLite email tracking |
passed: true, true, true |
value: 8303910894658098 passed: false, false |
value: 8303910894658098 passed: false, false, false, false |
value: 8303910894658098 passed: false, false, false |
value: 8303910894658098 passed: false, false, false |
value: 8303910894658098 passed: false, false |
value: 8303910894658098 passed: false, false, false |
value: 8303910894658098 passed: false, false |
value: 8303910894658098 passed: false, false, false |
msclkid
Microsoft Click ID |
passed: true, true, true |
value: 8303910894658098 passed: false, false |
value: 8303910894658098 passed: false, false, false, false |
value: 8303910894658098 passed: false, false, false |
passed: true, true, true |
value: 8303910894658098 passed: false, false |
value: 8303910894658098 passed: false, false, false |
passed: true, true |
value: 8303910894658098 passed: false, false, false |
oly_anon_id
Omeda marketing 'anonymous' customer id |
passed: true, true, true |
value: 8303910894658098 passed: false, false |
value: 8303910894658098 passed: false, false, false, false |
value: 8303910894658098 passed: false, false, false |
passed: true, true, true |
value: 8303910894658098 passed: false, false |
value: 8303910894658098 passed: false, false, false |
passed: true, true |
value: 8303910894658098 passed: false, false, false |
oly_enc_id
Omeda marketing 'known' customer id |
passed: true, true, true |
value: 8303910894658098 passed: false, false |
value: 8303910894658098 passed: false, false, false, false |
value: 8303910894658098 passed: false, false, false |
passed: true, true, true |
value: 8303910894658098 passed: false, false |
value: 8303910894658098 passed: false, false, false |
passed: true, true |
value: 8303910894658098 passed: false, false, false |
rb_clickid
Unknown high-entropy tracking parameter |
passed: true, true, true |
value: 8303910894658098 passed: false, false |
value: 8303910894658098 passed: false, false, false, false |
value: 8303910894658098 passed: false, false, false |
value: 8303910894658098 passed: false, false, false |
value: 8303910894658098 passed: false, false |
value: 8303910894658098 passed: false, false, false |
value: 8303910894658098 passed: false, false |
value: 8303910894658098 passed: false, false, false |
s_cid
Adobe Site Catalyst tracking parameter |
passed: true, true, true |
value: 8303910894658098 passed: false, false |
value: 8303910894658098 passed: false, false, false, false |
value: 8303910894658098 passed: false, false, false |
value: 8303910894658098 passed: false, false, false |
value: 8303910894658098 passed: false, false |
value: 8303910894658098 passed: false, false, false |
value: 8303910894658098 passed: false, false |
value: 8303910894658098 passed: false, false, false |
vero_conv
Vero tracking parameter |
passed: true, true, true |
value: 8303910894658098 passed: false, false |
value: 8303910894658098 passed: false, false, false, false |
value: 8303910894658098 passed: false, false, false |
value: 8303910894658098 passed: false, false, false |
value: 8303910894658098 passed: false, false |
value: 8303910894658098 passed: false, false, false |
value: 8303910894658098 passed: false, false |
value: 8303910894658098 passed: false, false, false |
vero_id
Vero tracking parameter |
passed: true, true, true |
value: 8303910894658098 passed: false, false |
value: 8303910894658098 passed: false, false, false, false |
value: 8303910894658098 passed: false, false, false |
passed: true, true, true |
value: 8303910894658098 passed: false, false |
value: 8303910894658098 passed: false, false, false |
passed: true, true |
value: 8303910894658098 passed: false, false, false |
wickedid
Wicked Reports e-commerce tracking |
passed: true, true, true |
value: 8303910894658098 passed: false, false |
value: 8303910894658098 passed: false, false, false, false |
value: 8303910894658098 passed: false, false, false |
passed: true, true, true |
value: 8303910894658098 passed: false, false |
value: 8303910894658098 passed: false, false, false |
passed: true, true |
value: 8303910894658098 passed: false, false, false |
yclid
Yandex Click ID |
passed: true, true, true |
value: 8303910894658098 passed: false, false |
value: 8303910894658098 passed: false, false, false, false |
value: 8303910894658098 passed: false, false, false |
passed: true, true, true |
value: 8303910894658098 passed: false, false |
value: 8303910894658098 passed: false, false, false |
passed: true, true |
value: 8303910894658098 passed: false, false, 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, true, true |
url: https://munchkin.marketo.net/munchkin.js passed: false, false |
url: https://munchkin.marketo.net/munchkin.js passed: true, true, true, true |
url: https://munchkin.marketo.net/munchkin.js passed: false, false, false |
url: https://munchkin.marketo.net/munchkin.js passed: false, false, false |
url: https://munchkin.marketo.net/munchkin.js passed: false, false |
url: https://munchkin.marketo.net/munchkin.js passed: false, false, false |
url: https://munchkin.marketo.net/munchkin.js passed: false, false |
url: https://munchkin.marketo.net/munchkin.js passed: false, false, 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, true, true |
url: https://dpm.demdex.net/ibs passed: false, false |
url: https://dpm.demdex.net/ibs passed: true, true, true, true |
url: https://dpm.demdex.net/ibs passed: false, false, false |
url: https://dpm.demdex.net/ibs passed: false, false, false |
url: https://dpm.demdex.net/ibs passed: false, false |
url: https://dpm.demdex.net/ibs passed: false, false, false |
url: https://dpm.demdex.net/ibs passed: false, false |
url: https://dpm.demdex.net/ibs passed: false, false, 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, true, true |
url: https://s.amazon-adsystem.com/dcm passed: false, false |
url: https://s.amazon-adsystem.com/dcm passed: true, true, true, true |
url: https://s.amazon-adsystem.com/dcm passed: false, false, false |
url: https://s.amazon-adsystem.com/dcm passed: false, false, false |
url: https://s.amazon-adsystem.com/dcm passed: false, false |
url: https://s.amazon-adsystem.com/dcm passed: false, false, false |
url: https://s.amazon-adsystem.com/dcm passed: false, false |
url: https://s.amazon-adsystem.com/dcm passed: false, false, 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, true, true |
url: https://ib.adnxs.com/px?id=178248&t=1 passed: false, false |
url: https://ib.adnxs.com/px?id=178248&t=1 passed: true, true, true, true |
url: https://ib.adnxs.com/px?id=178248&t=1 passed: false, false, false |
url: https://ib.adnxs.com/px?id=178248&t=1 passed: false, false, false |
url: https://ib.adnxs.com/px?id=178248&t=1 passed: false, false |
url: https://ib.adnxs.com/px?id=178248&t=1 passed: false, false, false |
url: https://ib.adnxs.com/px?id=178248&t=1 passed: false, false |
url: https://ib.adnxs.com/px?id=178248&t=1 passed: false, false, 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, true, true |
url: https://bat.bing.com/bat.js passed: false, false |
url: https://bat.bing.com/bat.js passed: true, true, true, true |
url: https://bat.bing.com/bat.js passed: false, false, false |
url: https://bat.bing.com/bat.js passed: false, false, false |
url: https://bat.bing.com/bat.js passed: false, false |
url: https://bat.bing.com/bat.js passed: false, false, false |
url: https://bat.bing.com/bat.js passed: false, false |
url: https://bat.bing.com/bat.js passed: false, false, 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, true, true |
url: https://static.chartbeat.com/js/chartbeat.js passed: false, false |
url: https://static.chartbeat.com/js/chartbeat.js passed: true, true, true, true |
url: https://static.chartbeat.com/js/chartbeat.js passed: false, false, false |
url: https://static.chartbeat.com/js/chartbeat.js passed: false, false, false |
url: https://static.chartbeat.com/js/chartbeat.js passed: false, false |
url: https://static.chartbeat.com/js/chartbeat.js passed: false, false, false |
url: https://static.chartbeat.com/js/chartbeat.js passed: false, false |
url: https://static.chartbeat.com/js/chartbeat.js passed: false, false, 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, true, true |
url: https://dis.criteo.com/dis/rtb/appnexus/cookiematch.aspx passed: false, false |
url: https://dis.criteo.com/dis/rtb/appnexus/cookiematch.aspx passed: true, true, true, true |
url: https://dis.criteo.com/dis/rtb/appnexus/cookiematch.aspx passed: false, false, false |
url: https://dis.criteo.com/dis/rtb/appnexus/cookiematch.aspx passed: false, false, false |
url: https://dis.criteo.com/dis/rtb/appnexus/cookiematch.aspx passed: false, false |
url: https://dis.criteo.com/dis/rtb/appnexus/cookiematch.aspx passed: false, false, false |
url: https://dis.criteo.com/dis/rtb/appnexus/cookiematch.aspx passed: false, false |
url: https://dis.criteo.com/dis/rtb/appnexus/cookiematch.aspx passed: false, false, 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, true, true |
url: https://securepubads.g.doubleclick.net/static/glade.js passed: false, false |
url: https://securepubads.g.doubleclick.net/static/glade.js passed: true, true, true, true |
url: https://securepubads.g.doubleclick.net/static/glade.js passed: false, false, false |
url: https://securepubads.g.doubleclick.net/static/glade.js passed: false, false, false |
url: https://securepubads.g.doubleclick.net/static/glade.js passed: false, false |
url: https://securepubads.g.doubleclick.net/static/glade.js passed: false, false, false |
url: https://securepubads.g.doubleclick.net/static/glade.js passed: false, true |
url: https://securepubads.g.doubleclick.net/static/glade.js passed: false, false, 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, true, true |
url: https://connect.facebook.net/en_US/fbevents.js passed: false, false |
url: https://connect.facebook.net/en_US/fbevents.js passed: true, true, true, true |
url: https://connect.facebook.net/en_US/fbevents.js passed: false, false, false |
url: https://connect.facebook.net/en_US/fbevents.js passed: false, false, false |
url: https://connect.facebook.net/en_US/fbevents.js passed: false, false |
url: https://connect.facebook.net/en_US/fbevents.js passed: false, false, false |
url: https://connect.facebook.net/en_US/fbevents.js passed: false, false |
url: https://connect.facebook.net/en_US/fbevents.js passed: false, false, 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, true, true |
url: https://www.google.com/pagead/1p-user-list/ passed: false, false |
url: https://www.google.com/pagead/1p-user-list/ passed: true, true, true, true |
url: https://www.google.com/pagead/1p-user-list/ passed: false, false, false |
url: https://www.google.com/pagead/1p-user-list/ passed: false, false, false |
url: https://www.google.com/pagead/1p-user-list/ passed: false, false |
url: https://www.google.com/pagead/1p-user-list/ passed: false, false, false |
url: https://www.google.com/pagead/1p-user-list/ passed: false, true |
url: https://www.google.com/pagead/1p-user-list/ passed: false, false, 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, true, true |
url: https://google-analytics.com/urchin.js passed: false, false |
url: https://google-analytics.com/urchin.js passed: true, true, true, true |
url: https://google-analytics.com/urchin.js passed: false, false, false |
url: https://google-analytics.com/urchin.js passed: false, false, false |
url: https://google-analytics.com/urchin.js passed: false, false |
url: https://google-analytics.com/urchin.js passed: false, false, false |
url: https://google-analytics.com/urchin.js passed: false, false |
url: https://google-analytics.com/urchin.js passed: false, false, 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, true, true |
url: https://www.googletagmanager.com/gtag.js?id=GTM-NX4SMZL passed: false, false |
url: https://www.googletagmanager.com/gtag.js?id=GTM-NX4SMZL passed: true, true, true, true |
url: https://www.googletagmanager.com/gtag.js?id=GTM-NX4SMZL passed: false, false, false |
url: https://www.googletagmanager.com/gtag.js?id=GTM-NX4SMZL passed: false, false, false |
url: https://www.googletagmanager.com/gtag.js?id=GTM-NX4SMZL passed: false, false |
url: https://www.googletagmanager.com/gtag.js?id=GTM-NX4SMZL passed: false, false, false |
url: https://www.googletagmanager.com/gtag.js?id=GTM-NX4SMZL passed: false, true |
url: https://www.googletagmanager.com/gtag.js?id=GTM-NX4SMZL passed: false, false, 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, true, true |
url: https://dsum-sec.casalemedia.com/crum?cm_dsp_id=10&external_user_id=629685505537&C=1 passed: false, false |
url: https://dsum-sec.casalemedia.com/crum?cm_dsp_id=10&external_user_id=629685505537&C=1 passed: true, true, true, true |
url: https://dsum-sec.casalemedia.com/crum?cm_dsp_id=10&external_user_id=629685505537&C=1 passed: false, false, false |
url: https://dsum-sec.casalemedia.com/crum?cm_dsp_id=10&external_user_id=629685505537&C=1 passed: false, false, false |
url: https://dsum-sec.casalemedia.com/crum?cm_dsp_id=10&external_user_id=629685505537&C=1 passed: false, false |
url: https://dsum-sec.casalemedia.com/crum?cm_dsp_id=10&external_user_id=629685505537&C=1 passed: false, false, false |
url: https://dsum-sec.casalemedia.com/crum?cm_dsp_id=10&external_user_id=629685505537&C=1 passed: false, false |
url: https://dsum-sec.casalemedia.com/crum?cm_dsp_id=10&external_user_id=629685505537&C=1 passed: false, false, 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, true, true |
url: https://js-agent.newrelic.com/nr-1212.min.js passed: false, false |
url: https://js-agent.newrelic.com/nr-1212.min.js passed: true, true, true, true |
url: https://js-agent.newrelic.com/nr-1212.min.js passed: false, false, false |
url: https://js-agent.newrelic.com/nr-1212.min.js passed: false, false, false |
url: https://js-agent.newrelic.com/nr-1212.min.js passed: false, false |
url: https://js-agent.newrelic.com/nr-1212.min.js passed: false, false, false |
url: https://js-agent.newrelic.com/nr-1212.min.js passed: false, false |
url: https://js-agent.newrelic.com/nr-1212.min.js passed: false, false, 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, true, true |
url: https://pixel.quantserve.com/pixel passed: false, false |
url: https://pixel.quantserve.com/pixel passed: true, true, true, true |
url: https://pixel.quantserve.com/pixel passed: false, false, false |
url: https://pixel.quantserve.com/pixel passed: false, false, false |
url: https://pixel.quantserve.com/pixel passed: false, false |
url: https://pixel.quantserve.com/pixel passed: false, false, false |
url: https://pixel.quantserve.com/pixel passed: false, false |
url: https://pixel.quantserve.com/pixel passed: false, false, 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, true, true |
url: https://sb.scorecardresearch.com/internal-c2/default/cs.js passed: false, false |
url: https://sb.scorecardresearch.com/internal-c2/default/cs.js passed: true, true, true, true |
url: https://sb.scorecardresearch.com/internal-c2/default/cs.js passed: false, false, false |
url: https://sb.scorecardresearch.com/internal-c2/default/cs.js passed: false, false, false |
url: https://sb.scorecardresearch.com/internal-c2/default/cs.js passed: false, false |
url: https://sb.scorecardresearch.com/internal-c2/default/cs.js passed: false, false, false |
url: https://sb.scorecardresearch.com/internal-c2/default/cs.js passed: false, false |
url: https://sb.scorecardresearch.com/internal-c2/default/cs.js passed: false, false, 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, true, true |
url: https://trc.taboola.com/futureplc-tomsguide/trc/3/json passed: false, false |
url: https://trc.taboola.com/futureplc-tomsguide/trc/3/json passed: true, true, true, true |
url: https://trc.taboola.com/futureplc-tomsguide/trc/3/json passed: false, false, false |
url: https://trc.taboola.com/futureplc-tomsguide/trc/3/json passed: false, false, false |
url: https://trc.taboola.com/futureplc-tomsguide/trc/3/json passed: false, false |
url: https://trc.taboola.com/futureplc-tomsguide/trc/3/json passed: false, false, false |
url: https://trc.taboola.com/futureplc-tomsguide/trc/3/json passed: false, false |
url: https://trc.taboola.com/futureplc-tomsguide/trc/3/json passed: false, false, 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, true, true |
url: https://t.co/i/adsct passed: false, false |
url: https://t.co/i/adsct passed: true, true, true, true |
url: https://t.co/i/adsct passed: false, false, false |
url: https://t.co/i/adsct passed: false, false, false |
url: https://t.co/i/adsct passed: false, false |
url: https://t.co/i/adsct passed: false, false, false |
url: https://t.co/i/adsct passed: false, false |
url: https://t.co/i/adsct passed: false, false, 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, true, true |
url: https://yandex.ru/ads/system/header-bidding.js passed: false, false |
url: https://yandex.ru/ads/system/header-bidding.js passed: true, true, true, true |
url: https://yandex.ru/ads/system/header-bidding.js passed: false, false, false |
url: https://yandex.ru/ads/system/header-bidding.js passed: false, false, false |
url: https://yandex.ru/ads/system/header-bidding.js passed: false, false |
url: https://yandex.ru/ads/system/header-bidding.js passed: false, false, false |
url: https://yandex.ru/ads/system/header-bidding.js passed: false, false |
url: https://yandex.ru/ads/system/header-bidding.js passed: false, false, false |
Tracking cookie protection testsWhich browsers block important known tracking cookies?
A large fraction of web pages on the web have hidden third-party trackers that read and write cookies in your browser. These cookies can be used to track your browsing across websites. This section checks to see if a browser stops cross-site tracking by cookies from 20 of the largest trackers listed by https://whotracks.me.`, | |||||||||
Adobe
Tests whether the browser stops cookies from munchkin.marketo.net from tracking users across websites. |
passed: true, true, true url: https://munchkin.marketo.net/munchkin.js cookieFound: false, false, false |
passed: false, false url: https://munchkin.marketo.net/munchkin.js cookieFound: true, true |
passed: true, true, true, true url: https://munchkin.marketo.net/munchkin.js cookieFound: false, false, false, false |
passed: true, true, true url: https://munchkin.marketo.net/munchkin.js cookieFound: false, false, false |
passed: true, true, true url: https://munchkin.marketo.net/munchkin.js cookieFound: false, false, false |
passed: false, false url: https://munchkin.marketo.net/munchkin.js cookieFound: true, true |
passed: true, true, true url: https://munchkin.marketo.net/munchkin.js cookieFound: false, false, false |
passed: true, true url: https://munchkin.marketo.net/munchkin.js cookieFound: false, false |
passed: false, false, false url: https://munchkin.marketo.net/munchkin.js cookieFound: true, true, true |
Adobe Audience Manager
Tests whether the browser stops cookies from dpm.demdex.net from tracking users across websites. |
passed: true, true, true url: https://dpm.demdex.net/ibs cookieFound: false, false, false |
passed: false, false url: https://dpm.demdex.net/ibs cookieFound: true, true |
passed: true, true, true, true url: https://dpm.demdex.net/ibs cookieFound: false, false, false, false |
passed: true, true, true url: https://dpm.demdex.net/ibs cookieFound: false, false, false |
passed: true, true, true url: https://dpm.demdex.net/ibs cookieFound: false, false, false |
passed: false, false url: https://dpm.demdex.net/ibs cookieFound: true, true |
passed: true, true, true url: https://dpm.demdex.net/ibs cookieFound: false, false, false |
passed: true, true url: https://dpm.demdex.net/ibs cookieFound: false, false |
passed: false, false, false url: https://dpm.demdex.net/ibs cookieFound: true, true, true |
Amazon adsystem
Tests whether the browser stops cookies from s.amazon-adsystem.com from tracking users across websites. |
passed: true, true, true url: https://s.amazon-adsystem.com/dcm cookieFound: false, false, false |
passed: false, false url: https://s.amazon-adsystem.com/dcm cookieFound: true, true |
passed: true, true, true, true url: https://s.amazon-adsystem.com/dcm cookieFound: false, false, false, false |
passed: true, true, true url: https://s.amazon-adsystem.com/dcm cookieFound: false, false, false |
passed: true, true, true url: https://s.amazon-adsystem.com/dcm cookieFound: false, false, false |
passed: false, false url: https://s.amazon-adsystem.com/dcm cookieFound: true, true |
passed: true, true, true url: https://s.amazon-adsystem.com/dcm cookieFound: false, false, false |
passed: true, true url: https://s.amazon-adsystem.com/dcm cookieFound: false, false |
passed: false, false, false url: https://s.amazon-adsystem.com/dcm cookieFound: true, true, true |
AppNexus
Tests whether the browser stops cookies from ib.adnxs.com from tracking users across websites. |
passed: true, true, true url: https://ib.adnxs.com/px?id=178248&t=1 cookieFound: false, false, false |
passed: false, false url: https://ib.adnxs.com/px?id=178248&t=1 cookieFound: true, true |
passed: true, true, true, true url: https://ib.adnxs.com/px?id=178248&t=1 cookieFound: false, false, false, false |
passed: false, false, false url: https://ib.adnxs.com/px?id=178248&t=1 cookieFound: true, true, true |
passed: true, true, true url: https://ib.adnxs.com/px?id=178248&t=1 cookieFound: false, false, false |
passed: false, false url: https://ib.adnxs.com/px?id=178248&t=1 cookieFound: true, true |
passed: true, true, true url: https://ib.adnxs.com/px?id=178248&t=1 cookieFound: false, false, false |
passed: true, true url: https://ib.adnxs.com/px?id=178248&t=1 cookieFound: false, false |
passed: false, false, false url: https://ib.adnxs.com/px?id=178248&t=1 cookieFound: true, true, true |
Bing Ads
Tests whether the browser stops cookies from bat.bing.com from tracking users across websites. |
passed: true, true, true url: https://bat.bing.com/bat.js cookieFound: false, false, false |
passed: false, false url: https://bat.bing.com/bat.js cookieFound: true, true |
passed: true, true, true, true url: https://bat.bing.com/bat.js cookieFound: false, false, false, false |
passed: false, false, false url: https://bat.bing.com/bat.js cookieFound: true, true, true |
passed: true, true, true url: https://bat.bing.com/bat.js cookieFound: false, false, false |
passed: false, false url: https://bat.bing.com/bat.js cookieFound: true, true |
passed: true, true, true url: https://bat.bing.com/bat.js cookieFound: false, false, false |
passed: true, true url: https://bat.bing.com/bat.js cookieFound: false, false |
passed: false, false, false url: https://bat.bing.com/bat.js cookieFound: true, true, true |
Chartbeat
Tests whether the browser stops cookies from static.chartbeat.com from tracking users across websites. |
passed: true, true, true url: https://static.chartbeat.com/js/chartbeat.js cookieFound: false, false, false |
passed: false, false url: https://static.chartbeat.com/js/chartbeat.js cookieFound: true, true |
passed: true, true, true, true url: https://static.chartbeat.com/js/chartbeat.js cookieFound: false, false, false, false |
passed: false, false, false url: https://static.chartbeat.com/js/chartbeat.js cookieFound: true, true, true |
passed: true, true, true url: https://static.chartbeat.com/js/chartbeat.js cookieFound: false, false, false |
passed: false, false url: https://static.chartbeat.com/js/chartbeat.js cookieFound: true, true |
passed: true, true, true url: https://static.chartbeat.com/js/chartbeat.js cookieFound: false, false, false |
passed: true, true url: https://static.chartbeat.com/js/chartbeat.js cookieFound: false, false |
passed: false, false, false url: https://static.chartbeat.com/js/chartbeat.js cookieFound: true, true, true |
Criteo
Tests whether the browser stops cookies from dis.criteo.com from tracking users across websites. |
passed: true, true, true url: https://dis.criteo.com/dis/rtb/appnexus/cookiematch.aspx cookieFound: false, false, false |
passed: false, false url: https://dis.criteo.com/dis/rtb/appnexus/cookiematch.aspx cookieFound: true, true |
passed: true, true, true, true url: https://dis.criteo.com/dis/rtb/appnexus/cookiematch.aspx cookieFound: false, false, false, false |
passed: true, true, true url: https://dis.criteo.com/dis/rtb/appnexus/cookiematch.aspx cookieFound: false, false, false |
passed: true, true, true url: https://dis.criteo.com/dis/rtb/appnexus/cookiematch.aspx cookieFound: false, false, false |
passed: false, false url: https://dis.criteo.com/dis/rtb/appnexus/cookiematch.aspx cookieFound: true, true |
passed: true, true, true url: https://dis.criteo.com/dis/rtb/appnexus/cookiematch.aspx cookieFound: false, false, false |
passed: true, true url: https://dis.criteo.com/dis/rtb/appnexus/cookiematch.aspx cookieFound: false, false |
passed: false, false, false url: https://dis.criteo.com/dis/rtb/appnexus/cookiematch.aspx cookieFound: true, true, true |
DoubleClick (Google)
Tests whether the browser stops cookies from securepubads.g.doubleclick.net from tracking users across websites. |
passed: true, true, true url: https://securepubads.g.doubleclick.net/static/glade.js cookieFound: false, false, false |
passed: false, false url: https://securepubads.g.doubleclick.net/static/glade.js cookieFound: true, true |
passed: true, true, true, true url: https://securepubads.g.doubleclick.net/static/glade.js cookieFound: false, false, false, false |
passed: true, true, true url: https://securepubads.g.doubleclick.net/static/glade.js cookieFound: false, false, false |
passed: true, true, true url: https://securepubads.g.doubleclick.net/static/glade.js cookieFound: false, false, false |
passed: false, false url: https://securepubads.g.doubleclick.net/static/glade.js cookieFound: true, true |
passed: true, true, true url: https://securepubads.g.doubleclick.net/static/glade.js cookieFound: false, false, false |
passed: true, true url: https://securepubads.g.doubleclick.net/static/glade.js cookieFound: false, false |
passed: false, false, false url: https://securepubads.g.doubleclick.net/static/glade.js cookieFound: true, true, true |
Facebook tracking
Tests whether the browser stops cookies from connect.facebook.net from tracking users across websites. |
passed: true, true, true url: https://connect.facebook.net/en_US/fbevents.js cookieFound: false, false, false |
passed: false, false url: https://connect.facebook.net/en_US/fbevents.js cookieFound: true, true |
passed: true, true, true, true url: https://connect.facebook.net/en_US/fbevents.js cookieFound: false, false, false, false |
passed: true, true, true url: https://connect.facebook.net/en_US/fbevents.js cookieFound: false, false, false |
passed: true, true, true url: https://connect.facebook.net/en_US/fbevents.js cookieFound: false, false, false |
passed: false, false url: https://connect.facebook.net/en_US/fbevents.js cookieFound: true, true |
passed: true, true, true url: https://connect.facebook.net/en_US/fbevents.js cookieFound: false, false, false |
passed: true, true url: https://connect.facebook.net/en_US/fbevents.js cookieFound: false, false |
passed: false, false, false url: https://connect.facebook.net/en_US/fbevents.js cookieFound: true, true, true |
Google (third-party ad pixel)
Tests whether the browser stops cookies from www.google.com from tracking users across websites. |
passed: true, true, true url: https://www.google.com/pagead/1p-user-list/ cookieFound: false, false, false |
passed: false, false url: https://www.google.com/pagead/1p-user-list/ cookieFound: true, true |
passed: true, true, true, true url: https://www.google.com/pagead/1p-user-list/ cookieFound: false, false, false, false |
passed: true, true, true url: https://www.google.com/pagead/1p-user-list/ cookieFound: false, false, false |
passed: true, true, true url: https://www.google.com/pagead/1p-user-list/ cookieFound: false, false, false |
passed: false, false url: https://www.google.com/pagead/1p-user-list/ cookieFound: true, true |
passed: true, true, true url: https://www.google.com/pagead/1p-user-list/ cookieFound: false, false, false |
passed: true, true url: https://www.google.com/pagead/1p-user-list/ cookieFound: false, false |
passed: false, false, false url: https://www.google.com/pagead/1p-user-list/ cookieFound: true, true, true |
Google Analytics
Tests whether the browser stops cookies from google-analytics.com from tracking users across websites. |
passed: true, true, true url: https://google-analytics.com/urchin.js cookieFound: false, false, false |
passed: false, false url: https://google-analytics.com/urchin.js cookieFound: true, true |
passed: true, true, true, true url: https://google-analytics.com/urchin.js cookieFound: false, false, false, false |
passed: false, false, false url: https://google-analytics.com/urchin.js cookieFound: true, true, true |
passed: true, true, true url: https://google-analytics.com/urchin.js cookieFound: false, false, false |
passed: false, false url: https://google-analytics.com/urchin.js cookieFound: true, true |
passed: true, true, true url: https://google-analytics.com/urchin.js cookieFound: false, false, false |
passed: true, true url: https://google-analytics.com/urchin.js cookieFound: false, false |
passed: false, false, false url: https://google-analytics.com/urchin.js cookieFound: true, true, true |
Google Tag Manager
Tests whether the browser stops cookies from www.googletagmanager.com from tracking users across websites. |
passed: true, true, true url: https://www.googletagmanager.com/gtag.js?id=GTM-NX4SMZL cookieFound: false, false, false |
passed: false, false url: https://www.googletagmanager.com/gtag.js?id=GTM-NX4SMZL cookieFound: true, true |
passed: true, true, true, true url: https://www.googletagmanager.com/gtag.js?id=GTM-NX4SMZL cookieFound: false, false, false, false |
passed: false, false, false url: https://www.googletagmanager.com/gtag.js?id=GTM-NX4SMZL cookieFound: true, true, true |
passed: true, true, true url: https://www.googletagmanager.com/gtag.js?id=GTM-NX4SMZL cookieFound: false, false, false |
passed: false, false url: https://www.googletagmanager.com/gtag.js?id=GTM-NX4SMZL cookieFound: true, true |
passed: true, true, true url: https://www.googletagmanager.com/gtag.js?id=GTM-NX4SMZL cookieFound: false, false, false |
passed: true, true url: https://www.googletagmanager.com/gtag.js?id=GTM-NX4SMZL cookieFound: false, false |
passed: false, false, false url: https://www.googletagmanager.com/gtag.js?id=GTM-NX4SMZL cookieFound: true, true, true |
Index Exchange
Tests whether the browser stops cookies from dsum-sec.casalemedia.com from tracking users across websites. |
passed: true, true, true url: https://dsum-sec.casalemedia.com/crum?cm_dsp_id=10&external_user_id=629685505537&C=1 cookieFound: false, false, false |
passed: false, false url: https://dsum-sec.casalemedia.com/crum?cm_dsp_id=10&external_user_id=629685505537&C=1 cookieFound: true, true |
passed: true, true, true, true url: https://dsum-sec.casalemedia.com/crum?cm_dsp_id=10&external_user_id=629685505537&C=1 cookieFound: false, false, false, false |
passed: true, true, true url: https://dsum-sec.casalemedia.com/crum?cm_dsp_id=10&external_user_id=629685505537&C=1 cookieFound: false, false, false |
passed: true, true, true url: https://dsum-sec.casalemedia.com/crum?cm_dsp_id=10&external_user_id=629685505537&C=1 cookieFound: false, false, false |
passed: false, false url: https://dsum-sec.casalemedia.com/crum?cm_dsp_id=10&external_user_id=629685505537&C=1 cookieFound: true, true |
passed: true, true, true url: https://dsum-sec.casalemedia.com/crum?cm_dsp_id=10&external_user_id=629685505537&C=1 cookieFound: false, false, false |
passed: true, true url: https://dsum-sec.casalemedia.com/crum?cm_dsp_id=10&external_user_id=629685505537&C=1 cookieFound: false, false |
passed: false, false, false url: https://dsum-sec.casalemedia.com/crum?cm_dsp_id=10&external_user_id=629685505537&C=1 cookieFound: true, true, true |
New Relic
Tests whether the browser stops cookies from js-agent.newrelic.com from tracking users across websites. |
passed: true, true, true url: https://js-agent.newrelic.com/nr-1212.min.js cookieFound: false, false, false |
passed: false, false url: https://js-agent.newrelic.com/nr-1212.min.js cookieFound: true, true |
passed: true, true, true, true url: https://js-agent.newrelic.com/nr-1212.min.js cookieFound: false, false, false, false |
passed: false, false, false url: https://js-agent.newrelic.com/nr-1212.min.js cookieFound: true, true, true |
passed: true, true, true url: https://js-agent.newrelic.com/nr-1212.min.js cookieFound: false, false, false |
passed: false, false url: https://js-agent.newrelic.com/nr-1212.min.js cookieFound: true, true |
passed: true, true, true url: https://js-agent.newrelic.com/nr-1212.min.js cookieFound: false, false, false |
passed: true, true url: https://js-agent.newrelic.com/nr-1212.min.js cookieFound: false, false |
passed: false, false, false url: https://js-agent.newrelic.com/nr-1212.min.js cookieFound: true, true, true |
Quantcast
Tests whether the browser stops cookies from pixel.quantserve.com from tracking users across websites. |
passed: true, true, true url: https://pixel.quantserve.com/pixel cookieFound: false, false, false |
passed: true, true url: https://pixel.quantserve.com/pixel cookieFound: false, false |
passed: true, true, true, true url: https://pixel.quantserve.com/pixel cookieFound: false, false, false, false |
passed: true, true, true url: https://pixel.quantserve.com/pixel cookieFound: false, false, false |
passed: true, true, true url: https://pixel.quantserve.com/pixel cookieFound: false, false, false |
passed: false, true url: https://pixel.quantserve.com/pixel cookieFound: true, false |
passed: true, true, true url: https://pixel.quantserve.com/pixel cookieFound: false, false, false |
passed: true, true url: https://pixel.quantserve.com/pixel cookieFound: false, false |
passed: true, true, false url: https://pixel.quantserve.com/pixel cookieFound: false, false, true |
Scorecard Research Beacon
Tests whether the browser stops cookies from sb.scorecardresearch.com from tracking users across websites. |
passed: true, true, true url: https://sb.scorecardresearch.com/internal-c2/default/cs.js cookieFound: false, false, false |
passed: false, false url: https://sb.scorecardresearch.com/internal-c2/default/cs.js cookieFound: true, true |
passed: true, true, true, true url: https://sb.scorecardresearch.com/internal-c2/default/cs.js cookieFound: false, false, false, false |
passed: false, false, false url: https://sb.scorecardresearch.com/internal-c2/default/cs.js cookieFound: true, true, true |
passed: true, true, true url: https://sb.scorecardresearch.com/internal-c2/default/cs.js cookieFound: false, false, false |
passed: false, false url: https://sb.scorecardresearch.com/internal-c2/default/cs.js cookieFound: true, true |
passed: true, true, true url: https://sb.scorecardresearch.com/internal-c2/default/cs.js cookieFound: false, false, false |
passed: true, true url: https://sb.scorecardresearch.com/internal-c2/default/cs.js cookieFound: false, false |
passed: false, false, false url: https://sb.scorecardresearch.com/internal-c2/default/cs.js cookieFound: true, true, true |
Taboola
Tests whether the browser stops cookies from trc.taboola.com from tracking users across websites. |
passed: true, true, true url: https://trc.taboola.com/futureplc-tomsguide/trc/3/json cookieFound: false, false, false |
passed: false, false url: https://trc.taboola.com/futureplc-tomsguide/trc/3/json cookieFound: true, true |
passed: true, true, true, true url: https://trc.taboola.com/futureplc-tomsguide/trc/3/json cookieFound: false, false, false, false |
passed: true, true, true url: https://trc.taboola.com/futureplc-tomsguide/trc/3/json cookieFound: false, false, false |
passed: true, true, true url: https://trc.taboola.com/futureplc-tomsguide/trc/3/json cookieFound: false, false, false |
passed: false, false url: https://trc.taboola.com/futureplc-tomsguide/trc/3/json cookieFound: true, true |
passed: true, true, true url: https://trc.taboola.com/futureplc-tomsguide/trc/3/json cookieFound: false, false, false |
passed: true, true url: https://trc.taboola.com/futureplc-tomsguide/trc/3/json cookieFound: false, false |
passed: false, false, false url: https://trc.taboola.com/futureplc-tomsguide/trc/3/json cookieFound: true, true, true |
Twitter pixel
Tests whether the browser stops cookies from t.co from tracking users across websites. |
passed: true, true, true url: https://t.co/i/adsct cookieFound: false, false, false |
passed: false, false url: https://t.co/i/adsct cookieFound: true, true |
passed: true, true, true, true url: https://t.co/i/adsct cookieFound: false, false, false, false |
passed: false, false, false url: https://t.co/i/adsct cookieFound: true, true, true |
passed: true, true, true url: https://t.co/i/adsct cookieFound: false, false, false |
passed: false, false url: https://t.co/i/adsct cookieFound: true, true |
passed: true, true, true url: https://t.co/i/adsct cookieFound: false, false, false |
passed: true, true url: https://t.co/i/adsct cookieFound: false, false |
passed: false, false, false url: https://t.co/i/adsct cookieFound: true, true, true |
Yandex Ads
Tests whether the browser stops cookies from yandex.ru from tracking users across websites. |
passed: true, true, true url: https://yandex.ru/ads/system/header-bidding.js cookieFound: false, false, false |
passed: false, false url: https://yandex.ru/ads/system/header-bidding.js cookieFound: true, true |
passed: true, true, true, true url: https://yandex.ru/ads/system/header-bidding.js cookieFound: false, false, false, false |
passed: true, true, true url: https://yandex.ru/ads/system/header-bidding.js cookieFound: false, false, false |
passed: true, true, true url: https://yandex.ru/ads/system/header-bidding.js cookieFound: false, false, false |
passed: false, false url: https://yandex.ru/ads/system/header-bidding.js cookieFound: true, true |
passed: true, true, true url: https://yandex.ru/ads/system/header-bidding.js cookieFound: false, false, false |
passed: true, true url: https://yandex.ru/ads/system/header-bidding.js cookieFound: false, false |
passed: false, false, false url: https://yandex.ru/ads/system/header-bidding.js cookieFound: true, true, true |
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, h3, h3 result, different session: h3, h3, h3 unsupported: false, false, false passed: false, false, false test failed: 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: h3, h3 result, different session: h3, h3 unsupported: false, false passed: false, false test failed: 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, h2, h2, h2 result, different session: h2, h2, h2, h2 unsupported: true, true, true, true passed: undefined test failed: 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: h3, h3, h3 result, different session: h3, h3, h3 unsupported: false, false, false passed: false, false, false test failed: 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: h3, h3, h3 result, different session: h3, h3, h3 unsupported: false, false, false passed: false, false, false test failed: 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: h3, h3 result, different session: h3, h3 unsupported: false, false passed: false, false test failed: 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, h2, h2 result, different session: h2, h2, h2 unsupported: true, true, true passed: undefined test failed: 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, h2 result, different session: h2, h2 unsupported: true, true passed: undefined test failed: 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: h3, h3, h3 result, different session: h3, h3, h3 unsupported: false, false, false passed: false, false, false test failed: false, false, 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: b85ca32d-e983-45a3-9fcd-397953221748_1p, 498026b0-cd0c-40ce-8f8b-beb773704d24_1p, ab00ad24-34b0-46cd-afbd-b979d513ffc5_1p result, different session: b85ca32d-e983-45a3-9fcd-397953221748_1p, 498026b0-cd0c-40ce-8f8b-beb773704d24_1p, ab00ad24-34b0-46cd-afbd-b979d513ffc5_1p unsupported: false, false, false passed: false, false, false test failed: 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: aea789cd-5932-4f96-8600-bdf5a4a3d42f_1p, 75af5a0c-0041-4d02-96ed-9fe72600663f_1p result, different session: aea789cd-5932-4f96-8600-bdf5a4a3d42f_1p, 75af5a0c-0041-4d02-96ed-9fe72600663f_1p unsupported: false, false passed: false, false test failed: 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: 97ec8041-b6d1-4809-8bc0-362e9247e755_1p, 59503190-8263-45a5-92bf-8e6899d0e57f_1p, 6deda474-af03-4659-8626-26e498286d0b_1p, e95dff4e-71b2-429b-98a0-89a4f1bdf612_1p result, different session: Error: undefined is not an object (evaluating 'cacheKeys[0].url'), Error: undefined is not an object (evaluating 'cacheKeys[0].url'), Error: undefined is not an object (evaluating 'cacheKeys[0].url'), Error: undefined is not an object (evaluating 'cacheKeys[0].url') unsupported: false, false, false, false passed: true, true, true, true test failed: 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: 34985076-425c-46c3-9413-e94d5fe54a0c_1p, 3225c7dc-a182-40da-8101-7e50e78e1624_1p, 71ba7e98-31bf-4e3d-9e25-ed8d581d93c9_1p result, different session: 34985076-425c-46c3-9413-e94d5fe54a0c_1p, 3225c7dc-a182-40da-8101-7e50e78e1624_1p, 71ba7e98-31bf-4e3d-9e25-ed8d581d93c9_1p unsupported: false, false, false passed: false, false, false test failed: 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: 206e6877-f037-4ed7-967f-7e754a18833c_1p, 24941163-6b8d-486a-b253-aae4cd6593a3_1p, 64e3432a-c49c-4648-99b2-e1a565c0e486_1p result, different session: 206e6877-f037-4ed7-967f-7e754a18833c_1p, 24941163-6b8d-486a-b253-aae4cd6593a3_1p, 64e3432a-c49c-4648-99b2-e1a565c0e486_1p unsupported: false, false, false passed: false, false, false test failed: 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: 584058ed-6a62-4421-8872-a7a4ff86abc1_1p, c77d14f8-6224-4809-a2dd-67e9cac1807c_1p result, different session: 584058ed-6a62-4421-8872-a7a4ff86abc1_1p, c77d14f8-6224-4809-a2dd-67e9cac1807c_1p unsupported: false, false passed: false, false test failed: 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: Failed reading data from the file system, Error: Failed reading data from the file system, Error: Failed reading data from the file system result, different session: Error: Failed reading data from the file system, Error: Failed reading data from the file system, Error: Failed reading data from the file system unsupported: true, true, true passed: undefined test failed: 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., Error: The operation is insecure. result, different session: Error: The operation is insecure., Error: The operation is insecure. unsupported: true, true passed: undefined test failed: 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: 7e1f274d-f77e-418b-b6c2-b822e830036f_1p, eabace17-9ce1-4f03-87c9-9ac0de883eb9_1p, 5592107e-1002-4b3b-88d6-b0168b0810ef_1p result, different session: 7e1f274d-f77e-418b-b6c2-b822e830036f_1p, eabace17-9ce1-4f03-87c9-9ac0de883eb9_1p, 5592107e-1002-4b3b-88d6-b0168b0810ef_1p unsupported: false, false, false passed: false, false, false test failed: false, false, 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: , , result, different session: , , unsupported: true, true, true passed: undefined test failed: 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: , result, different session: , unsupported: true, true passed: undefined test failed: 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: , , , result, different session: , , , unsupported: true, true, true, true passed: undefined test failed: 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: , , result, different session: , , unsupported: true, true, true passed: undefined test failed: 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: , , result, different session: , , unsupported: true, true, true passed: undefined test failed: 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: , result, different session: , unsupported: true, true passed: undefined test failed: 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: , , result, different session: , , unsupported: true, true, true passed: undefined test failed: 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: , result, different session: , unsupported: true, true passed: undefined test failed: 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: , , result, different session: , , unsupported: true, true, true passed: undefined test failed: false, false, 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: b85ca32d-e983-45a3-9fcd-397953221748_1p_js, 498026b0-cd0c-40ce-8f8b-beb773704d24_1p_js, ab00ad24-34b0-46cd-afbd-b979d513ffc5_1p_js result, different session: , , unsupported: false, false, false passed: true, true, true test failed: 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: aea789cd-5932-4f96-8600-bdf5a4a3d42f_1p_js, 75af5a0c-0041-4d02-96ed-9fe72600663f_1p_js result, different session: , unsupported: false, false passed: true, true test failed: 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: 97ec8041-b6d1-4809-8bc0-362e9247e755_1p_js, 59503190-8263-45a5-92bf-8e6899d0e57f_1p_js, 6deda474-af03-4659-8626-26e498286d0b_1p_js, e95dff4e-71b2-429b-98a0-89a4f1bdf612_1p_js result, different session: , , , unsupported: false, false, false, false passed: true, true, true, true test failed: 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: 34985076-425c-46c3-9413-e94d5fe54a0c_1p_js, 3225c7dc-a182-40da-8101-7e50e78e1624_1p_js, 71ba7e98-31bf-4e3d-9e25-ed8d581d93c9_1p_js result, different session: , , unsupported: false, false, false passed: true, true, true test failed: 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: 206e6877-f037-4ed7-967f-7e754a18833c_1p_js, 24941163-6b8d-486a-b253-aae4cd6593a3_1p_js, 64e3432a-c49c-4648-99b2-e1a565c0e486_1p_js result, different session: 206e6877-f037-4ed7-967f-7e754a18833c_1p_js, 24941163-6b8d-486a-b253-aae4cd6593a3_1p_js, 64e3432a-c49c-4648-99b2-e1a565c0e486_1p_js unsupported: false, false, false passed: false, false, false test failed: 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: 584058ed-6a62-4421-8872-a7a4ff86abc1_1p_js, c77d14f8-6224-4809-a2dd-67e9cac1807c_1p_js result, different session: , unsupported: false, false passed: true, true test failed: 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: 27c270d5-e62d-466d-a5bb-47a9a79c96bc_1p_js, fbc71f37-17e1-4b20-9dd9-9b2c598d7a1c_1p_js, 745a0a43-27e4-4daf-920d-ab4b90e7f6ed_1p_js result, different session: 27c270d5-e62d-466d-a5bb-47a9a79c96bc_1p_js, fbc71f37-17e1-4b20-9dd9-9b2c598d7a1c_1p_js, 745a0a43-27e4-4daf-920d-ab4b90e7f6ed_1p_js unsupported: false, false, false passed: false, false, false test failed: 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: b6379b39-d029-45ce-b9a8-1b04bf9df9df_1p_js, 7404e62b-0c40-4a1b-8a53-655f1cfdbe78_1p_js result, different session: , unsupported: false, false passed: true, true test failed: 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: 7e1f274d-f77e-418b-b6c2-b822e830036f_1p_js, eabace17-9ce1-4f03-87c9-9ac0de883eb9_1p_js, 5592107e-1002-4b3b-88d6-b0168b0810ef_1p_js result, different session: , , unsupported: false, false, false passed: true, true, true test failed: false, false, 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: b85ca32d-e983-45a3-9fcd-397953221748_1p, 498026b0-cd0c-40ce-8f8b-beb773704d24_1p, ab00ad24-34b0-46cd-afbd-b979d513ffc5_1p result, different session: , , unsupported: false, false, false passed: true, true, true test failed: 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: aea789cd-5932-4f96-8600-bdf5a4a3d42f_1p, 75af5a0c-0041-4d02-96ed-9fe72600663f_1p result, different session: , unsupported: false, false passed: true, true test failed: 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, Error: Unsupported, Error: Unsupported, Error: Unsupported result, different session: Error: Unsupported, Error: Unsupported, Error: Unsupported, Error: Unsupported unsupported: true, true, true, true passed: undefined test failed: 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: 34985076-425c-46c3-9413-e94d5fe54a0c_1p, 3225c7dc-a182-40da-8101-7e50e78e1624_1p, 71ba7e98-31bf-4e3d-9e25-ed8d581d93c9_1p result, different session: , , unsupported: false, false, false passed: true, true, true test failed: 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, Error: Unsupported, Error: Unsupported result, different session: Error: Unsupported, Error: Unsupported, Error: Unsupported unsupported: true, true, true passed: undefined test failed: 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: 584058ed-6a62-4421-8872-a7a4ff86abc1_1p, c77d14f8-6224-4809-a2dd-67e9cac1807c_1p result, different session: , unsupported: false, false passed: true, true test failed: 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, Error: Unsupported, Error: Unsupported result, different session: Error: Unsupported, Error: Unsupported, Error: Unsupported unsupported: true, true, true passed: undefined test failed: 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, Error: Unsupported result, different session: Error: Unsupported, Error: Unsupported unsupported: true, true passed: undefined test failed: 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: 7e1f274d-f77e-418b-b6c2-b822e830036f_1p, eabace17-9ce1-4f03-87c9-9ac0de883eb9_1p, 5592107e-1002-4b3b-88d6-b0168b0810ef_1p result, different session: , , unsupported: false, false, false passed: true, true, true test failed: false, false, 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_317730538306892, fake_6921312098021202, fake_571012165787582 result, different session: fake_317730538306892, fake_6921312098021202, fake_571012165787582 unsupported: false, false, false passed: false, false, false test failed: 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_7785788005526688, fake_004477563297317744 result, different session: fake_7785788005526688, fake_004477563297317744 unsupported: false, false passed: false, false test failed: 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_9976996400371339, fake_5833528261261298, fake_14496911227808207, fake_6090798242264539 result, different session: fake_9976996400371339, fake_5833528261261298, fake_14496911227808207, fake_6090798242264539 unsupported: false, false, false, false passed: false, false, false, false test failed: 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_7515192073105947, fake_013703208112917364, fake_13825563158761223 result, different session: fake_7515192073105947, fake_013703208112917364, fake_13825563158761223 unsupported: false, false, false passed: false, false, false test failed: 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_9288192486430003, fake_578248161192763, fake_8706435462175481 result, different session: fake_9288192486430003, fake_578248161192763, fake_8706435462175481 unsupported: false, false, false passed: false, false, false test failed: 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_9027887435191753, fake_15044923064599836 result, different session: fake_9027887435191753, fake_15044923064599836 unsupported: false, false passed: false, false test failed: 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_3975128196645572, fake_40264913889570764, fake_01932311913305984 result, different session: fake_3975128196645572, fake_40264913889570764, fake_01932311913305984 unsupported: false, false, false passed: false, false, false test failed: 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_44305652749234636, fake_022880937503520826 result, different session: fake_9068717982281191, fake_9038103271532516 unsupported: false, false passed: true, true test failed: 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_17287780877605985, fake_8359361083016565, fake_15018982777096745 result, different session: fake_17287780877605985, fake_8359361083016565, fake_15018982777096745 unsupported: false, false, false passed: false, false, false test failed: false, false, 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, 1, 1 result, different session: 1, 1, 1 unsupported: false, false, false passed: false, false, false test failed: 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, 1 result, different session: 1, 1 unsupported: false, false passed: false, false test failed: 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, 1, 1, 1 result, different session: 1, 1, 1, 1 unsupported: false, false, false, false passed: false, false, false, false test failed: 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, 1, 1 result, different session: 1, 1, 1 unsupported: false, false, false passed: false, false, false test failed: 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, 1, 1 result, different session: 1, 1, 1 unsupported: false, false, false passed: false, false, false test failed: 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, 1 result, different session: 1, 1 unsupported: false, false passed: false, false test failed: 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, 1, 1 result, different session: 1, 1, 1 unsupported: false, false, false passed: false, false, false test failed: 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, 1 result, different session: 2, 2 unsupported: false, false passed: true, true test failed: 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: 2, 2, 2 result, different session: 2, 2, 2 unsupported: false, false, false passed: false, false, false test failed: false, false, 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, 1, 1 result, different session: 1, 1, 1 unsupported: false, false, false passed: false, false, false test failed: 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, 1 result, different session: 1, 1 unsupported: false, false passed: false, false test failed: 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, 1, 1, 1 result, different session: 1, 1, 1, 1 unsupported: false, false, false, false passed: false, false, false, false test failed: 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, 1, 1 result, different session: 1, 1, 1 unsupported: false, false, false passed: false, false, false test failed: 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, 1, 1 result, different session: 1, 1, 1 unsupported: false, false, false passed: false, false, false test failed: 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, 1 result, different session: 1, 1 unsupported: false, false passed: false, false test failed: 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, 1, 1 result, different session: 1, 1, 1 unsupported: false, false, false passed: false, false, false test failed: 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, 1 result, different session: 2, 2 unsupported: false, false passed: true, true test failed: 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, 1, 1 result, different session: 1, 1, 1 unsupported: false, false, false passed: false, false, false test failed: false, false, 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, 1, 1 result, different session: 1, 1, 1 unsupported: false, false, false passed: false, false, false test failed: 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, 1 result, different session: 1, 1 unsupported: false, false passed: false, false test failed: 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, 1, 1, 1 result, different session: 1, 1, 1, 1 unsupported: false, false, false, false passed: false, false, false, false test failed: 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, 1, 1 result, different session: 1, 1, 1 unsupported: false, false, false passed: false, false, false test failed: 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, 1, 1 result, different session: 1, 1, 1 unsupported: false, false, false passed: false, false, false test failed: 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, 1 result, different session: 1, 1 unsupported: false, false passed: false, false test failed: 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, 1, 1 result, different session: 1, 1, 1 unsupported: false, false, false passed: false, false, false test failed: 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, 1 result, different session: 2, 2 unsupported: false, false passed: true, true test failed: 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, 1, 1 result, different session: 1, 1, 1 unsupported: false, false, false passed: false, false, false test failed: false, false, 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, 1, 1 result, different session: 1, 1, 1 unsupported: false, false, false passed: false, false, false test failed: 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, 1 result, different session: 1, 1 unsupported: false, false passed: false, false test failed: 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, 1, 1, 1 result, different session: 1, 1, 1, 1 unsupported: false, false, false, false passed: false, false, false, false test failed: 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, 1, 1 result, different session: 1, 1, 1 unsupported: false, false, false passed: false, false, false test failed: 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, 1, 1 result, different session: 1, 1, 1 unsupported: false, false, false passed: false, false, false test failed: 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, 1 result, different session: 1, 1 unsupported: false, false passed: false, false test failed: 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, 1, 1 result, different session: 1, 1, 1 unsupported: false, false, false passed: false, false, false test failed: 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, 1 result, different session: 2, 2 unsupported: false, false passed: true, true test failed: 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, 1, 1 result, different session: 1, 1, 1 unsupported: false, false, false passed: false, false, false test failed: false, false, 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, 1, 1 result, different session: 1, 1, 1 unsupported: false, false, false passed: false, false, false test failed: 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, 1 result, different session: 1, 1 unsupported: false, false passed: false, false test failed: 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, 1, 1, 1 result, different session: 1, 1, 1, 1 unsupported: false, false, false, false passed: false, false, false, false test failed: 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, 1, 1 result, different session: 1, 1, 1 unsupported: false, false, false passed: false, false, false test failed: 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, 1, 1 result, different session: 1, 1, 1 unsupported: false, false, false passed: false, false, false test failed: 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, 1 result, different session: 1, 1 unsupported: false, false passed: false, false test failed: 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, 1, 1 result, different session: 1, 1, 1 unsupported: false, false, false passed: false, false, false test failed: 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, 1 result, different session: 2, 2 unsupported: false, false passed: true, true test failed: 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, 1, 1 result, different session: 1, 1, 1 unsupported: false, false, false passed: false, false, false test failed: false, false, 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: b85ca32d-e983-45a3-9fcd-397953221748_1p, 498026b0-cd0c-40ce-8f8b-beb773704d24_1p, ab00ad24-34b0-46cd-afbd-b979d513ffc5_1p result, different session: b85ca32d-e983-45a3-9fcd-397953221748_1p, 498026b0-cd0c-40ce-8f8b-beb773704d24_1p, ab00ad24-34b0-46cd-afbd-b979d513ffc5_1p unsupported: false, false, false passed: false, false, false test failed: 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: aea789cd-5932-4f96-8600-bdf5a4a3d42f_1p, 75af5a0c-0041-4d02-96ed-9fe72600663f_1p result, different session: aea789cd-5932-4f96-8600-bdf5a4a3d42f_1p, 75af5a0c-0041-4d02-96ed-9fe72600663f_1p unsupported: false, false passed: false, false test failed: 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: 97ec8041-b6d1-4809-8bc0-362e9247e755_1p, 59503190-8263-45a5-92bf-8e6899d0e57f_1p, 6deda474-af03-4659-8626-26e498286d0b_1p, e95dff4e-71b2-429b-98a0-89a4f1bdf612_1p result, different session: undefined unsupported: false, false, false, false passed: true, true, true, true test failed: 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: 34985076-425c-46c3-9413-e94d5fe54a0c_1p, 3225c7dc-a182-40da-8101-7e50e78e1624_1p, 71ba7e98-31bf-4e3d-9e25-ed8d581d93c9_1p result, different session: 34985076-425c-46c3-9413-e94d5fe54a0c_1p, 3225c7dc-a182-40da-8101-7e50e78e1624_1p, 71ba7e98-31bf-4e3d-9e25-ed8d581d93c9_1p unsupported: false, false, false passed: false, false, false test failed: 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: 206e6877-f037-4ed7-967f-7e754a18833c_1p, 24941163-6b8d-486a-b253-aae4cd6593a3_1p, 64e3432a-c49c-4648-99b2-e1a565c0e486_1p result, different session: 206e6877-f037-4ed7-967f-7e754a18833c_1p, 24941163-6b8d-486a-b253-aae4cd6593a3_1p, 64e3432a-c49c-4648-99b2-e1a565c0e486_1p unsupported: false, false, false passed: false, false, false test failed: 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: 584058ed-6a62-4421-8872-a7a4ff86abc1_1p, c77d14f8-6224-4809-a2dd-67e9cac1807c_1p result, different session: 584058ed-6a62-4421-8872-a7a4ff86abc1_1p, c77d14f8-6224-4809-a2dd-67e9cac1807c_1p unsupported: false, false passed: false, false test failed: 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: 27c270d5-e62d-466d-a5bb-47a9a79c96bc_1p, fbc71f37-17e1-4b20-9dd9-9b2c598d7a1c_1p, 745a0a43-27e4-4daf-920d-ab4b90e7f6ed_1p result, different session: 27c270d5-e62d-466d-a5bb-47a9a79c96bc_1p, fbc71f37-17e1-4b20-9dd9-9b2c598d7a1c_1p, 745a0a43-27e4-4daf-920d-ab4b90e7f6ed_1p unsupported: false, false, false passed: false, false, false test failed: 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: b6379b39-d029-45ce-b9a8-1b04bf9df9df_1p, 7404e62b-0c40-4a1b-8a53-655f1cfdbe78_1p result, different session: undefined unsupported: false, false passed: true, true test failed: 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: 7e1f274d-f77e-418b-b6c2-b822e830036f_1p, eabace17-9ce1-4f03-87c9-9ac0de883eb9_1p, 5592107e-1002-4b3b-88d6-b0168b0810ef_1p result, different session: 7e1f274d-f77e-418b-b6c2-b822e830036f_1p, eabace17-9ce1-4f03-87c9-9ac0de883eb9_1p, 5592107e-1002-4b3b-88d6-b0168b0810ef_1p unsupported: false, false, false passed: false, false, false test failed: false, false, 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: b85ca32d-e983-45a3-9fcd-397953221748_1p, 498026b0-cd0c-40ce-8f8b-beb773704d24_1p, ab00ad24-34b0-46cd-afbd-b979d513ffc5_1p result, different session: b85ca32d-e983-45a3-9fcd-397953221748_1p, 498026b0-cd0c-40ce-8f8b-beb773704d24_1p, ab00ad24-34b0-46cd-afbd-b979d513ffc5_1p unsupported: false, false, false passed: false, false, false test failed: false, false, false |
write: (secret) => localStorage.setItem("secret", secret) read: () => localStorage.getItem("secret") result, same session: aea789cd-5932-4f96-8600-bdf5a4a3d42f_1p, 75af5a0c-0041-4d02-96ed-9fe72600663f_1p result, different session: aea789cd-5932-4f96-8600-bdf5a4a3d42f_1p, 75af5a0c-0041-4d02-96ed-9fe72600663f_1p unsupported: false, false passed: false, false test failed: false, false |
write: (secret) => localStorage.setItem("secret", secret) read: () => localStorage.getItem("secret") result, same session: 97ec8041-b6d1-4809-8bc0-362e9247e755_1p, 59503190-8263-45a5-92bf-8e6899d0e57f_1p, 6deda474-af03-4659-8626-26e498286d0b_1p, e95dff4e-71b2-429b-98a0-89a4f1bdf612_1p result, different session: , , , unsupported: false, false, false, false passed: true, true, true, true test failed: false, false, false, false |
write: (secret) => localStorage.setItem("secret", secret) read: () => localStorage.getItem("secret") result, same session: 34985076-425c-46c3-9413-e94d5fe54a0c_1p, 3225c7dc-a182-40da-8101-7e50e78e1624_1p, 71ba7e98-31bf-4e3d-9e25-ed8d581d93c9_1p result, different session: 34985076-425c-46c3-9413-e94d5fe54a0c_1p, 3225c7dc-a182-40da-8101-7e50e78e1624_1p, 71ba7e98-31bf-4e3d-9e25-ed8d581d93c9_1p unsupported: false, false, false passed: false, false, false test failed: false, false, false |
write: (secret) => localStorage.setItem("secret", secret) read: () => localStorage.getItem("secret") result, same session: 206e6877-f037-4ed7-967f-7e754a18833c_1p, 24941163-6b8d-486a-b253-aae4cd6593a3_1p, 64e3432a-c49c-4648-99b2-e1a565c0e486_1p result, different session: 206e6877-f037-4ed7-967f-7e754a18833c_1p, 24941163-6b8d-486a-b253-aae4cd6593a3_1p, 64e3432a-c49c-4648-99b2-e1a565c0e486_1p unsupported: false, false, false passed: false, false, false test failed: false, false, false |
write: (secret) => localStorage.setItem("secret", secret) read: () => localStorage.getItem("secret") result, same session: 584058ed-6a62-4421-8872-a7a4ff86abc1_1p, c77d14f8-6224-4809-a2dd-67e9cac1807c_1p result, different session: 584058ed-6a62-4421-8872-a7a4ff86abc1_1p, c77d14f8-6224-4809-a2dd-67e9cac1807c_1p unsupported: false, false passed: false, false test failed: false, false |
write: (secret) => localStorage.setItem("secret", secret) read: () => localStorage.getItem("secret") result, same session: 27c270d5-e62d-466d-a5bb-47a9a79c96bc_1p, fbc71f37-17e1-4b20-9dd9-9b2c598d7a1c_1p, 745a0a43-27e4-4daf-920d-ab4b90e7f6ed_1p result, different session: 27c270d5-e62d-466d-a5bb-47a9a79c96bc_1p, fbc71f37-17e1-4b20-9dd9-9b2c598d7a1c_1p, 745a0a43-27e4-4daf-920d-ab4b90e7f6ed_1p unsupported: false, false, false passed: false, false, false test failed: false, false, false |
write: (secret) => localStorage.setItem("secret", secret) read: () => localStorage.getItem("secret") result, same session: b6379b39-d029-45ce-b9a8-1b04bf9df9df_1p, 7404e62b-0c40-4a1b-8a53-655f1cfdbe78_1p result, different session: , unsupported: false, false passed: true, true test failed: false, false |
write: (secret) => localStorage.setItem("secret", secret) read: () => localStorage.getItem("secret") result, same session: 7e1f274d-f77e-418b-b6c2-b822e830036f_1p, eabace17-9ce1-4f03-87c9-9ac0de883eb9_1p, 5592107e-1002-4b3b-88d6-b0168b0810ef_1p result, different session: 7e1f274d-f77e-418b-b6c2-b822e830036f_1p, eabace17-9ce1-4f03-87c9-9ac0de883eb9_1p, 5592107e-1002-4b3b-88d6-b0168b0810ef_1p unsupported: false, false, false passed: false, false, false test failed: false, false, 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, 1, 1 result, different session: 1, 1, 1 unsupported: false, false, false passed: false, false, false test failed: 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: 1, 1 result, different session: 1, 1 unsupported: false, false passed: false, false test failed: 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, Error: No requests received, Error: No requests received, Error: No requests received result, different session: Error: No requests received, Error: No requests received, Error: No requests received, Error: No requests received unsupported: true, true, true, true passed: undefined test failed: 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: 1, 1, 1 result, different session: 1, 1, 1 unsupported: false, false, false passed: false, false, false test failed: 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: 1, 1, 1 result, different session: 1, 1, 1 unsupported: false, false, false passed: false, false, false test failed: 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: 1, 1 result, different session: 1, 1 unsupported: false, false passed: false, false test failed: 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, Error: No requests received, Error: No requests received result, different session: Error: No requests received, Error: No requests received, Error: No requests received unsupported: true, true, true passed: undefined test failed: 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, Error: No requests received result, different session: Error: No requests received, Error: No requests received unsupported: true, true passed: undefined test failed: 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: 1, 1, 1 result, different session: 1, 1, 1 unsupported: false, false, false passed: false, false, false test failed: false, false, 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, 1, 1 result, different session: 1, 1, 1 unsupported: false, false, false passed: false, false, false test failed: 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, 1 result, different session: 1, 1 unsupported: false, false passed: false, false test failed: 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, 1, 1, 1 result, different session: 1, 1, 1, 1 unsupported: false, false, false, false passed: false, false, false, false test failed: 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, 1, 1 result, different session: 1, 1, 1 unsupported: false, false, false passed: false, false, false test failed: 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, 1, 1 result, different session: 1, 1, 1 unsupported: false, false, false passed: false, false, false test failed: 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, 1 result, different session: 1, 1 unsupported: false, false passed: false, false test failed: 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, 1, 1 result, different session: 1, 1, 1 unsupported: false, false, false passed: false, false, false test failed: 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, 1 result, different session: 2, 2 unsupported: false, false passed: true, true test failed: 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, 1, 1 result, different session: 1, 1, 1 unsupported: false, false, false passed: false, false, false test failed: false, false, false |
Web SQL Database
The Web SQL Database is a deprecated web API for storing data in an SQL database. |
write: async (key) => { if (!window.openDatabase) { throw new Error("gported"); } let database = window.openDatabase("sqlite_supercookie", "", "supercookie", 1024 * 1024); let tx = new Promise((resolve) => database.transaction(tx => { tx.executeSql( `CREATE TABLE IF NOT EXISTS cache( id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, name TEXT NOT NULL, value TEXT NOT NULL, UNIQUE (name) )`, [], (tx, rs) => {}, (tx, err) => {}); tx.executeSql( `INSERT OR REPLACE INTO cache(name, value) VALUES(?, ?)`, ["secret", key], (tx, rs) => {}, (tx, rs) => {}); })); } read: async () => { let database = window.openDatabase("sqlite_supercookie", "", "supercookie", 1024 * 1024); let result = await new Promise((resolve, reject) => database.transaction(tx => { tx.executeSql( "SELECT value FROM cache WHERE name=?", ["secret"], (tx, rs) => resolve(rs), (tx, err) => reject(err)); })); return result.rows.item(0).value; } result, same session: Error: window.openDatabase is not a function, Error: window.openDatabase is not a function, Error: window.openDatabase is not a function result, different session: Error: window.openDatabase is not a function, Error: window.openDatabase is not a function, Error: window.openDatabase is not a function unsupported: true, true, true passed: undefined test failed: false, false, false |
write: async (key) => { if (!window.openDatabase) { throw new Error("gported"); } let database = window.openDatabase("sqlite_supercookie", "", "supercookie", 1024 * 1024); let tx = new Promise((resolve) => database.transaction(tx => { tx.executeSql( `CREATE TABLE IF NOT EXISTS cache( id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, name TEXT NOT NULL, value TEXT NOT NULL, UNIQUE (name) )`, [], (tx, rs) => {}, (tx, err) => {}); tx.executeSql( `INSERT OR REPLACE INTO cache(name, value) VALUES(?, ?)`, ["secret", key], (tx, rs) => {}, (tx, rs) => {}); })); } read: async () => { let database = window.openDatabase("sqlite_supercookie", "", "supercookie", 1024 * 1024); let result = await new Promise((resolve, reject) => database.transaction(tx => { tx.executeSql( "SELECT value FROM cache WHERE name=?", ["secret"], (tx, rs) => resolve(rs), (tx, err) => reject(err)); })); return result.rows.item(0).value; } result, same session: Error: window.openDatabase is not a function, Error: window.openDatabase is not a function result, different session: Error: window.openDatabase is not a function, Error: window.openDatabase is not a function unsupported: true, true passed: undefined test failed: false, false |
write: async (key) => { if (!window.openDatabase) { throw new Error("gported"); } let database = window.openDatabase("sqlite_supercookie", "", "supercookie", 1024 * 1024); let tx = new Promise((resolve) => database.transaction(tx => { tx.executeSql( `CREATE TABLE IF NOT EXISTS cache( id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, name TEXT NOT NULL, value TEXT NOT NULL, UNIQUE (name) )`, [], (tx, rs) => {}, (tx, err) => {}); tx.executeSql( `INSERT OR REPLACE INTO cache(name, value) VALUES(?, ?)`, ["secret", key], (tx, rs) => {}, (tx, rs) => {}); })); } read: async () => { let database = window.openDatabase("sqlite_supercookie", "", "supercookie", 1024 * 1024); let result = await new Promise((resolve, reject) => database.transaction(tx => { tx.executeSql( "SELECT value FROM cache WHERE name=?", ["secret"], (tx, rs) => resolve(rs), (tx, err) => reject(err)); })); return result.rows.item(0).value; } result, same session: Error: Web SQL is deprecated, Error: Web SQL is deprecated, Error: Web SQL is deprecated, Error: Web SQL is deprecated result, different session: Error: Web SQL is deprecated, Error: Web SQL is deprecated, Error: Web SQL is deprecated, Error: Web SQL is deprecated unsupported: true, true, true, true passed: undefined test failed: false, false, false, false |
write: async (key) => { if (!window.openDatabase) { throw new Error("gported"); } let database = window.openDatabase("sqlite_supercookie", "", "supercookie", 1024 * 1024); let tx = new Promise((resolve) => database.transaction(tx => { tx.executeSql( `CREATE TABLE IF NOT EXISTS cache( id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, name TEXT NOT NULL, value TEXT NOT NULL, UNIQUE (name) )`, [], (tx, rs) => {}, (tx, err) => {}); tx.executeSql( `INSERT OR REPLACE INTO cache(name, value) VALUES(?, ?)`, ["secret", key], (tx, rs) => {}, (tx, rs) => {}); })); } read: async () => { let database = window.openDatabase("sqlite_supercookie", "", "supercookie", 1024 * 1024); let result = await new Promise((resolve, reject) => database.transaction(tx => { tx.executeSql( "SELECT value FROM cache WHERE name=?", ["secret"], (tx, rs) => resolve(rs), (tx, err) => reject(err)); })); return result.rows.item(0).value; } result, same session: Error: window.openDatabase is not a function, Error: window.openDatabase is not a function, Error: window.openDatabase is not a function result, different session: Error: window.openDatabase is not a function, Error: window.openDatabase is not a function, Error: window.openDatabase is not a function unsupported: true, true, true passed: undefined test failed: false, false, false |
write: async (key) => { if (!window.openDatabase) { throw new Error("gported"); } let database = window.openDatabase("sqlite_supercookie", "", "supercookie", 1024 * 1024); let tx = new Promise((resolve) => database.transaction(tx => { tx.executeSql( `CREATE TABLE IF NOT EXISTS cache( id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, name TEXT NOT NULL, value TEXT NOT NULL, UNIQUE (name) )`, [], (tx, rs) => {}, (tx, err) => {}); tx.executeSql( `INSERT OR REPLACE INTO cache(name, value) VALUES(?, ?)`, ["secret", key], (tx, rs) => {}, (tx, rs) => {}); })); } read: async () => { let database = window.openDatabase("sqlite_supercookie", "", "supercookie", 1024 * 1024); let result = await new Promise((resolve, reject) => database.transaction(tx => { tx.executeSql( "SELECT value FROM cache WHERE name=?", ["secret"], (tx, rs) => resolve(rs), (tx, err) => reject(err)); })); return result.rows.item(0).value; } result, same session: Error: window.openDatabase is not a function, Error: window.openDatabase is not a function, Error: window.openDatabase is not a function result, different session: Error: window.openDatabase is not a function, Error: window.openDatabase is not a function, Error: window.openDatabase is not a function unsupported: true, true, true passed: undefined test failed: false, false, false |
write: async (key) => { if (!window.openDatabase) { throw new Error("gported"); } let database = window.openDatabase("sqlite_supercookie", "", "supercookie", 1024 * 1024); let tx = new Promise((resolve) => database.transaction(tx => { tx.executeSql( `CREATE TABLE IF NOT EXISTS cache( id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, name TEXT NOT NULL, value TEXT NOT NULL, UNIQUE (name) )`, [], (tx, rs) => {}, (tx, err) => {}); tx.executeSql( `INSERT OR REPLACE INTO cache(name, value) VALUES(?, ?)`, ["secret", key], (tx, rs) => {}, (tx, rs) => {}); })); } read: async () => { let database = window.openDatabase("sqlite_supercookie", "", "supercookie", 1024 * 1024); let result = await new Promise((resolve, reject) => database.transaction(tx => { tx.executeSql( "SELECT value FROM cache WHERE name=?", ["secret"], (tx, rs) => resolve(rs), (tx, err) => reject(err)); })); return result.rows.item(0).value; } result, same session: Error: window.openDatabase is not a function, Error: window.openDatabase is not a function result, different session: Error: window.openDatabase is not a function, Error: window.openDatabase is not a function unsupported: true, true passed: undefined test failed: false, false |
write: async (key) => { if (!window.openDatabase) { throw new Error("gported"); } let database = window.openDatabase("sqlite_supercookie", "", "supercookie", 1024 * 1024); let tx = new Promise((resolve) => database.transaction(tx => { tx.executeSql( `CREATE TABLE IF NOT EXISTS cache( id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, name TEXT NOT NULL, value TEXT NOT NULL, UNIQUE (name) )`, [], (tx, rs) => {}, (tx, err) => {}); tx.executeSql( `INSERT OR REPLACE INTO cache(name, value) VALUES(?, ?)`, ["secret", key], (tx, rs) => {}, (tx, rs) => {}); })); } read: async () => { let database = window.openDatabase("sqlite_supercookie", "", "supercookie", 1024 * 1024); let result = await new Promise((resolve, reject) => database.transaction(tx => { tx.executeSql( "SELECT value FROM cache WHERE name=?", ["secret"], (tx, rs) => resolve(rs), (tx, err) => reject(err)); })); return result.rows.item(0).value; } result, same session: Error: Web SQL is deprecated, Error: Web SQL is deprecated, Error: Web SQL is deprecated result, different session: Error: Web SQL is deprecated, Error: Web SQL is deprecated, Error: Web SQL is deprecated unsupported: true, true, true passed: undefined test failed: false, false, false |
write: async (key) => { if (!window.openDatabase) { throw new Error("gported"); } let database = window.openDatabase("sqlite_supercookie", "", "supercookie", 1024 * 1024); let tx = new Promise((resolve) => database.transaction(tx => { tx.executeSql( `CREATE TABLE IF NOT EXISTS cache( id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, name TEXT NOT NULL, value TEXT NOT NULL, UNIQUE (name) )`, [], (tx, rs) => {}, (tx, err) => {}); tx.executeSql( `INSERT OR REPLACE INTO cache(name, value) VALUES(?, ?)`, ["secret", key], (tx, rs) => {}, (tx, rs) => {}); })); } read: async () => { let database = window.openDatabase("sqlite_supercookie", "", "supercookie", 1024 * 1024); let result = await new Promise((resolve, reject) => database.transaction(tx => { tx.executeSql( "SELECT value FROM cache WHERE name=?", ["secret"], (tx, rs) => resolve(rs), (tx, err) => reject(err)); })); return result.rows.item(0).value; } result, same session: Error: window.openDatabase is not a function, Error: window.openDatabase is not a function result, different session: Error: window.openDatabase is not a function, Error: window.openDatabase is not a function unsupported: true, true passed: undefined test failed: false, false |
write: async (key) => { if (!window.openDatabase) { throw new Error("gported"); } let database = window.openDatabase("sqlite_supercookie", "", "supercookie", 1024 * 1024); let tx = new Promise((resolve) => database.transaction(tx => { tx.executeSql( `CREATE TABLE IF NOT EXISTS cache( id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, name TEXT NOT NULL, value TEXT NOT NULL, UNIQUE (name) )`, [], (tx, rs) => {}, (tx, err) => {}); tx.executeSql( `INSERT OR REPLACE INTO cache(name, value) VALUES(?, ?)`, ["secret", key], (tx, rs) => {}, (tx, rs) => {}); })); } read: async () => { let database = window.openDatabase("sqlite_supercookie", "", "supercookie", 1024 * 1024); let result = await new Promise((resolve, reject) => database.transaction(tx => { tx.executeSql( "SELECT value FROM cache WHERE name=?", ["secret"], (tx, rs) => resolve(rs), (tx, err) => reject(err)); })); return result.rows.item(0).value; } result, same session: Error: window.openDatabase is not a function, Error: window.openDatabase is not a function, Error: window.openDatabase is not a function result, different session: Error: window.openDatabase is not a function, Error: window.openDatabase is not a function, Error: window.openDatabase is not a function unsupported: true, true, true passed: undefined test failed: false, false, 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, 1, 1 result, different session: 1, 1, 1 unsupported: false, false, false passed: false, false, false test failed: 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, 1 result, different session: 1, 1 unsupported: false, false passed: false, false test failed: 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, 1, 1, 1 result, different session: 1, 1, 1, 1 unsupported: false, false, false, false passed: false, false, false, false test failed: 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, 1, 1 result, different session: 1, 1, 1 unsupported: false, false, false passed: false, false, false test failed: 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, 1, 1 result, different session: 1, 1, 1 unsupported: false, false, false passed: false, false, false test failed: 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, 1 result, different session: 1, 1 unsupported: false, false passed: false, false test failed: 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, 1, 1 result, different session: 1, 1, 1 unsupported: false, false, false passed: false, false, false test failed: 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, 1 result, different session: 2, 2 unsupported: false, false passed: true, true test failed: 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, 1, 1 result, different session: 1, 1, 1 unsupported: false, false, false passed: false, false, false test failed: false, false, 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, h3, h3 result, different session: h3, h3, h3 unsupported: false, false, false passed: false, false, false test failed: 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: h3, h3 result, different session: h3, h3 unsupported: false, false passed: false, false test failed: 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, h2, h2, h2 result, different session: h2, h2, h2, h2 unsupported: true, true, true, true passed: undefined test failed: 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: h3, h3, h3 result, different session: h3, h3, h3 unsupported: false, false, false passed: false, false, false test failed: 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: h3, h3, h3 result, different session: h3, h3, h3 unsupported: false, false, false passed: false, false, false test failed: 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: h3, h3 result, different session: h3, h3 unsupported: false, false passed: false, false test failed: 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, h2, h2 result, different session: h2, h2, h2 unsupported: true, true, true passed: undefined test failed: 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, h2 result, different session: h2, h2 unsupported: true, true passed: undefined test failed: 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: h3, h3, h3 result, different session: h3, h3, h3 unsupported: false, false, false passed: false, false, false test failed: false, false, 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: b85ca32d-e983-45a3-9fcd-397953221748_3p, 498026b0-cd0c-40ce-8f8b-beb773704d24_3p, ab00ad24-34b0-46cd-afbd-b979d513ffc5_3p result, different session: b85ca32d-e983-45a3-9fcd-397953221748_3p, 498026b0-cd0c-40ce-8f8b-beb773704d24_3p, ab00ad24-34b0-46cd-afbd-b979d513ffc5_3p unsupported: false, false, false passed: false, false, false test failed: 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: aea789cd-5932-4f96-8600-bdf5a4a3d42f_3p, 75af5a0c-0041-4d02-96ed-9fe72600663f_3p result, different session: aea789cd-5932-4f96-8600-bdf5a4a3d42f_3p, 75af5a0c-0041-4d02-96ed-9fe72600663f_3p unsupported: false, false passed: false, false test failed: 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: undefined is not an object (evaluating 'cacheKeys[0].url'), Error: undefined is not an object (evaluating 'cacheKeys[0].url'), Error: undefined is not an object (evaluating 'cacheKeys[0].url'), Error: undefined is not an object (evaluating 'cacheKeys[0].url') result, different session: Error: undefined is not an object (evaluating 'cacheKeys[0].url'), Error: undefined is not an object (evaluating 'cacheKeys[0].url'), Error: undefined is not an object (evaluating 'cacheKeys[0].url'), Error: undefined is not an object (evaluating 'cacheKeys[0].url') unsupported: true, true, true, true passed: undefined test failed: 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: 34985076-425c-46c3-9413-e94d5fe54a0c_3p, 3225c7dc-a182-40da-8101-7e50e78e1624_3p, 71ba7e98-31bf-4e3d-9e25-ed8d581d93c9_3p result, different session: 34985076-425c-46c3-9413-e94d5fe54a0c_3p, 3225c7dc-a182-40da-8101-7e50e78e1624_3p, 71ba7e98-31bf-4e3d-9e25-ed8d581d93c9_3p unsupported: false, false, false passed: false, false, false test failed: 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: 206e6877-f037-4ed7-967f-7e754a18833c_3p, 24941163-6b8d-486a-b253-aae4cd6593a3_3p, 64e3432a-c49c-4648-99b2-e1a565c0e486_3p result, different session: 206e6877-f037-4ed7-967f-7e754a18833c_3p, 24941163-6b8d-486a-b253-aae4cd6593a3_3p, 64e3432a-c49c-4648-99b2-e1a565c0e486_3p unsupported: false, false, false passed: false, false, false test failed: 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: 584058ed-6a62-4421-8872-a7a4ff86abc1_3p, c77d14f8-6224-4809-a2dd-67e9cac1807c_3p result, different session: 584058ed-6a62-4421-8872-a7a4ff86abc1_3p, c77d14f8-6224-4809-a2dd-67e9cac1807c_3p unsupported: false, false passed: false, false test failed: 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: 47a37c68-eb39-4765-8686-ffe721bfeb14_3p, 47a37c68-eb39-4765-8686-ffe721bfeb14_3p, 47a37c68-eb39-4765-8686-ffe721bfeb14_3p result, different session: 47a37c68-eb39-4765-8686-ffe721bfeb14_3p, 47a37c68-eb39-4765-8686-ffe721bfeb14_3p, 47a37c68-eb39-4765-8686-ffe721bfeb14_3p unsupported: false, false, false passed: false, false, false test failed: 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., Error: The operation is insecure. result, different session: Error: The operation is insecure., Error: The operation is insecure. unsupported: true, true passed: undefined test failed: 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: 7e1f274d-f77e-418b-b6c2-b822e830036f_3p, eabace17-9ce1-4f03-87c9-9ac0de883eb9_3p, 5592107e-1002-4b3b-88d6-b0168b0810ef_3p result, different session: 7e1f274d-f77e-418b-b6c2-b822e830036f_3p, eabace17-9ce1-4f03-87c9-9ac0de883eb9_3p, 5592107e-1002-4b3b-88d6-b0168b0810ef_3p unsupported: false, false, false passed: false, false, false test failed: false, false, 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: b85ca32d-e983-45a3-9fcd-397953221748_3p_http, 498026b0-cd0c-40ce-8f8b-beb773704d24_3p_http, ab00ad24-34b0-46cd-afbd-b979d513ffc5_3p_http result, different session: , , unsupported: false, false, false passed: true, true, true test failed: 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: aea789cd-5932-4f96-8600-bdf5a4a3d42f_3p_http, 75af5a0c-0041-4d02-96ed-9fe72600663f_3p_http result, different session: , unsupported: false, false passed: true, true test failed: 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: , , , result, different session: , , , unsupported: true, true, true, true passed: undefined test failed: 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: 34985076-425c-46c3-9413-e94d5fe54a0c_3p_http, 3225c7dc-a182-40da-8101-7e50e78e1624_3p_http, 71ba7e98-31bf-4e3d-9e25-ed8d581d93c9_3p_http result, different session: , , unsupported: false, false, false passed: true, true, true test failed: 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: 206e6877-f037-4ed7-967f-7e754a18833c_3p_http, 24941163-6b8d-486a-b253-aae4cd6593a3_3p_http, 64e3432a-c49c-4648-99b2-e1a565c0e486_3p_http result, different session: 206e6877-f037-4ed7-967f-7e754a18833c_3p_http, 24941163-6b8d-486a-b253-aae4cd6593a3_3p_http, 64e3432a-c49c-4648-99b2-e1a565c0e486_3p_http unsupported: false, false, false passed: false, false, false test failed: 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: 584058ed-6a62-4421-8872-a7a4ff86abc1_3p_http, c77d14f8-6224-4809-a2dd-67e9cac1807c_3p_http result, different session: , unsupported: false, false passed: true, true test failed: 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: , , result, different session: , , unsupported: true, true, true passed: undefined test failed: 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: , result, different session: , unsupported: true, true passed: undefined test failed: 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: 7e1f274d-f77e-418b-b6c2-b822e830036f_3p_http, eabace17-9ce1-4f03-87c9-9ac0de883eb9_3p_http, 5592107e-1002-4b3b-88d6-b0168b0810ef_3p_http result, different session: , , unsupported: false, false, false passed: true, true, true test failed: false, false, 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: b85ca32d-e983-45a3-9fcd-397953221748_3p_js, 498026b0-cd0c-40ce-8f8b-beb773704d24_3p_js, ab00ad24-34b0-46cd-afbd-b979d513ffc5_3p_js result, different session: , , unsupported: false, false, false passed: true, true, true test failed: 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: aea789cd-5932-4f96-8600-bdf5a4a3d42f_3p_js, 75af5a0c-0041-4d02-96ed-9fe72600663f_3p_js result, different session: , unsupported: false, false passed: true, true test failed: 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: , , , result, different session: , , , unsupported: true, true, true, true passed: undefined test failed: 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: 34985076-425c-46c3-9413-e94d5fe54a0c_3p_js, 3225c7dc-a182-40da-8101-7e50e78e1624_3p_js, 71ba7e98-31bf-4e3d-9e25-ed8d581d93c9_3p_js result, different session: , , unsupported: false, false, false passed: true, true, true test failed: 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: 206e6877-f037-4ed7-967f-7e754a18833c_3p_js, 24941163-6b8d-486a-b253-aae4cd6593a3_3p_js, 64e3432a-c49c-4648-99b2-e1a565c0e486_3p_js result, different session: 206e6877-f037-4ed7-967f-7e754a18833c_3p_js, 24941163-6b8d-486a-b253-aae4cd6593a3_3p_js, 64e3432a-c49c-4648-99b2-e1a565c0e486_3p_js unsupported: false, false, false passed: false, false, false test failed: 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: 584058ed-6a62-4421-8872-a7a4ff86abc1_3p_js, c77d14f8-6224-4809-a2dd-67e9cac1807c_3p_js result, different session: , unsupported: false, false passed: true, true test failed: 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: , , result, different session: , , unsupported: true, true, true passed: undefined test failed: 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: , result, different session: , unsupported: true, true passed: undefined test failed: 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: 7e1f274d-f77e-418b-b6c2-b822e830036f_3p_js, eabace17-9ce1-4f03-87c9-9ac0de883eb9_3p_js, 5592107e-1002-4b3b-88d6-b0168b0810ef_3p_js result, different session: , , unsupported: false, false, false passed: true, true, true test failed: false, false, 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: b85ca32d-e983-45a3-9fcd-397953221748_3p, 498026b0-cd0c-40ce-8f8b-beb773704d24_3p, ab00ad24-34b0-46cd-afbd-b979d513ffc5_3p result, different session: , , unsupported: false, false, false passed: true, true, true test failed: 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: aea789cd-5932-4f96-8600-bdf5a4a3d42f_3p, 75af5a0c-0041-4d02-96ed-9fe72600663f_3p result, different session: , unsupported: false, false passed: true, true test failed: 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, Error: Unsupported, Error: Unsupported, Error: Unsupported result, different session: Error: Unsupported, Error: Unsupported, Error: Unsupported, Error: Unsupported unsupported: true, true, true, true passed: undefined test failed: 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: 34985076-425c-46c3-9413-e94d5fe54a0c_3p, 3225c7dc-a182-40da-8101-7e50e78e1624_3p, 71ba7e98-31bf-4e3d-9e25-ed8d581d93c9_3p result, different session: , , unsupported: false, false, false passed: true, true, true test failed: 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, Error: Unsupported, Error: Unsupported result, different session: Error: Unsupported, Error: Unsupported, Error: Unsupported unsupported: true, true, true passed: undefined test failed: 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: 584058ed-6a62-4421-8872-a7a4ff86abc1_3p, c77d14f8-6224-4809-a2dd-67e9cac1807c_3p result, different session: , unsupported: false, false passed: true, true test failed: 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, Error: Unsupported, Error: Unsupported result, different session: Error: Unsupported, Error: Unsupported, Error: Unsupported unsupported: true, true, true passed: undefined test failed: 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, Error: Unsupported result, different session: Error: Unsupported, Error: Unsupported unsupported: true, true passed: undefined test failed: 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: 7e1f274d-f77e-418b-b6c2-b822e830036f_3p, eabace17-9ce1-4f03-87c9-9ac0de883eb9_3p, 5592107e-1002-4b3b-88d6-b0168b0810ef_3p result, different session: , , unsupported: false, false, false passed: true, true, true test failed: false, false, 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_84247438490342, fake_8702266617686103, fake_4196027813561969 result, different session: fake_84247438490342, fake_8702266617686103, fake_4196027813561969 unsupported: false, false, false passed: false, false, false test failed: 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_8646864441003652, fake_2173976279810208 result, different session: fake_8646864441003652, fake_2173976279810208 unsupported: false, false passed: false, false test failed: 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_6543711587755463, fake_8917764021974657, fake_15996262322785726, fake_10037299792353194 result, different session: fake_6543711587755463, fake_8917764021974657, fake_15996262322785726, fake_10037299792353194 unsupported: false, false, false, false passed: false, false, false, false test failed: 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_1448119035776454, fake_394860752190773, fake_780596091015471 result, different session: fake_1448119035776454, fake_394860752190773, fake_780596091015471 unsupported: false, false, false passed: false, false, false test failed: 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_5456367623303182, fake_6168802531174515, fake_19881752400467323 result, different session: fake_5456367623303182, fake_6168802531174515, fake_19881752400467323 unsupported: false, false, false passed: false, false, false test failed: 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_148380500135183, fake_3356637652017447 result, different session: fake_148380500135183, fake_3356637652017447 unsupported: false, false passed: false, false test failed: 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_46273672024327817, fake_5283128653339393, fake_40659693892394966 result, different session: fake_46273672024327817, fake_5283128653339393, fake_40659693892394966 unsupported: false, false, false passed: false, false, false test failed: 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_12465708355380478, fake_22625348040931215 result, different session: fake_9945938122221021, fake_8852124610289427 unsupported: false, false passed: true, true test failed: 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_3669266802685869, fake_6690005376442603, fake_49128107536045906 result, different session: fake_3669266802685869, fake_6690005376442603, fake_49128107536045906 unsupported: false, false, false passed: false, false, false test failed: false, false, 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, 1, 1 result, different session: Error: Failed to fetch, 1, 1 unsupported: false, false, false passed: true, false, false test failed: 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, 1 result, different session: 1, 1 unsupported: false, false passed: false, false test failed: 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, 1, 1, 1 result, different session: 1, 1, 1, 1 unsupported: false, false, false, false passed: false, false, false, false test failed: 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, 1, 1 result, different session: 1, 1, 1 unsupported: false, false, false passed: false, false, false test failed: 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, 1, 1 result, different session: 1, 1, 1 unsupported: false, false, false passed: false, false, false test failed: 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, 1 result, different session: 1, 1 unsupported: false, false passed: false, false test failed: 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, 1, 1 result, different session: 1, 1, 1 unsupported: false, false, false passed: false, false, false test failed: 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, 1 result, different session: 2, 2 unsupported: false, false passed: true, true test failed: 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: 2, 2, 2 result, different session: 2, 2, 2 unsupported: false, false, false passed: false, false, false test failed: false, false, 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, 1, 1 result, different session: 1, 1, 1 unsupported: false, false, false passed: false, false, false test failed: 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, 1 result, different session: 1, 1 unsupported: false, false passed: false, false test failed: 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, 1, 1, 1 result, different session: 1, 1, 1, 1 unsupported: false, false, false, false passed: false, false, false, false test failed: 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, 1, 1 result, different session: 1, 1, 1 unsupported: false, false, false passed: false, false, false test failed: 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, 1, 1 result, different session: 1, 1, 1 unsupported: false, false, false passed: false, false, false test failed: 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, 1 result, different session: 1, 1 unsupported: false, false passed: false, false test failed: 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, 1, 1 result, different session: 1, 1, 1 unsupported: false, false, false passed: false, false, false test failed: 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, 1 result, different session: 2, 2 unsupported: false, false passed: true, true test failed: 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, 1, 1 result, different session: 1, 1, 1 unsupported: false, false, false passed: false, false, false test failed: false, false, 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, 1, 1 result, different session: 1, 1, 1 unsupported: false, false, false passed: false, false, false test failed: 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, 1 result, different session: 1, 1 unsupported: false, false passed: false, false test failed: 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, 1, 1, 1 result, different session: 1, 1, 1, 1 unsupported: false, false, false, false passed: false, false, false, false test failed: 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, 1, 1 result, different session: 1, 1, 1 unsupported: false, false, false passed: false, false, false test failed: 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, 1, 1 result, different session: 1, 1, 1 unsupported: false, false, false passed: false, false, false test failed: 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, 1 result, different session: 1, 1 unsupported: false, false passed: false, false test failed: 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, 1, 1 result, different session: 1, 1, 1 unsupported: false, false, false passed: false, false, false test failed: 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, 1 result, different session: 2, 2 unsupported: false, false passed: true, true test failed: 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, 1, 1 result, different session: 1, 1, 1 unsupported: false, false, false passed: false, false, false test failed: false, false, 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, 1, 1 result, different session: 1, 1, 1 unsupported: false, false, false passed: false, false, false test failed: 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, 1 result, different session: 1, 1 unsupported: false, false passed: false, false test failed: 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, 1, 1, 1 result, different session: 1, 1, 1, 1 unsupported: false, false, false, false passed: false, false, false, false test failed: 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, 1, 1 result, different session: 1, 1, 1 unsupported: false, false, false passed: false, false, false test failed: 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, 1, 1 result, different session: 1, 1, 1 unsupported: false, false, false passed: false, false, false test failed: 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, 1 result, different session: 1, 1 unsupported: false, false passed: false, false test failed: 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, 1, 1 result, different session: 1, 1, 1 unsupported: false, false, false passed: false, false, false test failed: 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, 1 result, different session: 2, 2 unsupported: false, false passed: true, true test failed: 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, 1, 1 result, different session: 1, 1, 1 unsupported: false, false, false passed: false, false, false test failed: false, false, 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, 1, 1 result, different session: 1, 1, 1 unsupported: false, false, false passed: false, false, false test failed: 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, 1 result, different session: 1, 1 unsupported: false, false passed: false, false test failed: 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, 1, 1, 1 result, different session: 1, 1, 1, 1 unsupported: false, false, false, false passed: false, false, false, false test failed: 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, 1, 1 result, different session: 1, 1, 1 unsupported: false, false, false passed: false, false, false test failed: 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, 1, 1 result, different session: 1, 1, 1 unsupported: false, false, false passed: false, false, false test failed: 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, 1 result, different session: 1, 1 unsupported: false, false passed: false, false test failed: 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, 1, 1 result, different session: 1, 1, 1 unsupported: false, false, false passed: false, false, false test failed: 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, 1 result, different session: 2, 2 unsupported: false, false passed: true, true test failed: 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, 1, 1 result, different session: 1, 1, 1 unsupported: false, false, false passed: false, false, false test failed: false, false, 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: b85ca32d-e983-45a3-9fcd-397953221748_3p, 498026b0-cd0c-40ce-8f8b-beb773704d24_3p, ab00ad24-34b0-46cd-afbd-b979d513ffc5_3p result, different session: b85ca32d-e983-45a3-9fcd-397953221748_3p, 498026b0-cd0c-40ce-8f8b-beb773704d24_3p, ab00ad24-34b0-46cd-afbd-b979d513ffc5_3p unsupported: false, false, false passed: false, false, false test failed: 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: aea789cd-5932-4f96-8600-bdf5a4a3d42f_3p, 75af5a0c-0041-4d02-96ed-9fe72600663f_3p result, different session: aea789cd-5932-4f96-8600-bdf5a4a3d42f_3p, 75af5a0c-0041-4d02-96ed-9fe72600663f_3p unsupported: false, false passed: false, false test failed: 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: undefined result, different session: undefined unsupported: true, true, true, true passed: undefined test failed: 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: 34985076-425c-46c3-9413-e94d5fe54a0c_3p, 3225c7dc-a182-40da-8101-7e50e78e1624_3p, 71ba7e98-31bf-4e3d-9e25-ed8d581d93c9_3p result, different session: 34985076-425c-46c3-9413-e94d5fe54a0c_3p, 3225c7dc-a182-40da-8101-7e50e78e1624_3p, 71ba7e98-31bf-4e3d-9e25-ed8d581d93c9_3p unsupported: false, false, false passed: false, false, false test failed: 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: 206e6877-f037-4ed7-967f-7e754a18833c_3p, 24941163-6b8d-486a-b253-aae4cd6593a3_3p, 64e3432a-c49c-4648-99b2-e1a565c0e486_3p result, different session: 206e6877-f037-4ed7-967f-7e754a18833c_3p, 24941163-6b8d-486a-b253-aae4cd6593a3_3p, 64e3432a-c49c-4648-99b2-e1a565c0e486_3p unsupported: false, false, false passed: false, false, false test failed: 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: 584058ed-6a62-4421-8872-a7a4ff86abc1_3p, c77d14f8-6224-4809-a2dd-67e9cac1807c_3p result, different session: 584058ed-6a62-4421-8872-a7a4ff86abc1_3p, c77d14f8-6224-4809-a2dd-67e9cac1807c_3p unsupported: false, false passed: false, false test failed: 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: 27c270d5-e62d-466d-a5bb-47a9a79c96bc_3p, fbc71f37-17e1-4b20-9dd9-9b2c598d7a1c_3p, 745a0a43-27e4-4daf-920d-ab4b90e7f6ed_3p result, different session: undefined unsupported: false, false, false passed: true, true, true test failed: 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., Error: The operation is insecure. result, different session: Error: The operation is insecure., Error: The operation is insecure. unsupported: true, true passed: undefined test failed: 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: 7e1f274d-f77e-418b-b6c2-b822e830036f_3p, eabace17-9ce1-4f03-87c9-9ac0de883eb9_3p, 5592107e-1002-4b3b-88d6-b0168b0810ef_3p result, different session: 7e1f274d-f77e-418b-b6c2-b822e830036f_3p, eabace17-9ce1-4f03-87c9-9ac0de883eb9_3p, 5592107e-1002-4b3b-88d6-b0168b0810ef_3p unsupported: false, false, false passed: false, false, false test failed: false, false, 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: b85ca32d-e983-45a3-9fcd-397953221748_3p, 498026b0-cd0c-40ce-8f8b-beb773704d24_3p, ab00ad24-34b0-46cd-afbd-b979d513ffc5_3p result, different session: b85ca32d-e983-45a3-9fcd-397953221748_3p, 498026b0-cd0c-40ce-8f8b-beb773704d24_3p, ab00ad24-34b0-46cd-afbd-b979d513ffc5_3p unsupported: false, false, false passed: false, false, false test failed: false, false, false |
write: (secret) => localStorage.setItem("secret", secret) read: () => localStorage.getItem("secret") result, same session: aea789cd-5932-4f96-8600-bdf5a4a3d42f_3p, 75af5a0c-0041-4d02-96ed-9fe72600663f_3p result, different session: aea789cd-5932-4f96-8600-bdf5a4a3d42f_3p, 75af5a0c-0041-4d02-96ed-9fe72600663f_3p unsupported: false, false passed: false, false test failed: false, false |
write: (secret) => localStorage.setItem("secret", secret) read: () => localStorage.getItem("secret") result, same session: , , , result, different session: , , , unsupported: true, true, true, true passed: undefined test failed: false, false, false, false |
write: (secret) => localStorage.setItem("secret", secret) read: () => localStorage.getItem("secret") result, same session: 34985076-425c-46c3-9413-e94d5fe54a0c_3p, 3225c7dc-a182-40da-8101-7e50e78e1624_3p, 71ba7e98-31bf-4e3d-9e25-ed8d581d93c9_3p result, different session: 34985076-425c-46c3-9413-e94d5fe54a0c_3p, 3225c7dc-a182-40da-8101-7e50e78e1624_3p, 71ba7e98-31bf-4e3d-9e25-ed8d581d93c9_3p unsupported: false, false, false passed: false, false, false test failed: false, false, false |
write: (secret) => localStorage.setItem("secret", secret) read: () => localStorage.getItem("secret") result, same session: 206e6877-f037-4ed7-967f-7e754a18833c_3p, 24941163-6b8d-486a-b253-aae4cd6593a3_3p, 64e3432a-c49c-4648-99b2-e1a565c0e486_3p result, different session: 206e6877-f037-4ed7-967f-7e754a18833c_3p, 24941163-6b8d-486a-b253-aae4cd6593a3_3p, 64e3432a-c49c-4648-99b2-e1a565c0e486_3p unsupported: false, false, false passed: false, false, false test failed: false, false, false |
write: (secret) => localStorage.setItem("secret", secret) read: () => localStorage.getItem("secret") result, same session: 584058ed-6a62-4421-8872-a7a4ff86abc1_3p, c77d14f8-6224-4809-a2dd-67e9cac1807c_3p result, different session: 584058ed-6a62-4421-8872-a7a4ff86abc1_3p, c77d14f8-6224-4809-a2dd-67e9cac1807c_3p unsupported: false, false passed: false, false test failed: false, false |
write: (secret) => localStorage.setItem("secret", secret) read: () => localStorage.getItem("secret") result, same session: 27c270d5-e62d-466d-a5bb-47a9a79c96bc_3p, fbc71f37-17e1-4b20-9dd9-9b2c598d7a1c_3p, 745a0a43-27e4-4daf-920d-ab4b90e7f6ed_3p result, different session: , , unsupported: false, false, false passed: true, true, true test failed: false, false, false |
write: (secret) => localStorage.setItem("secret", secret) read: () => localStorage.getItem("secret") result, same session: Error: The operation is insecure., Error: The operation is insecure. result, different session: Error: The operation is insecure., Error: The operation is insecure. unsupported: true, true passed: undefined test failed: false, false |
write: (secret) => localStorage.setItem("secret", secret) read: () => localStorage.getItem("secret") result, same session: 7e1f274d-f77e-418b-b6c2-b822e830036f_3p, eabace17-9ce1-4f03-87c9-9ac0de883eb9_3p, 5592107e-1002-4b3b-88d6-b0168b0810ef_3p result, different session: 7e1f274d-f77e-418b-b6c2-b822e830036f_3p, eabace17-9ce1-4f03-87c9-9ac0de883eb9_3p, 5592107e-1002-4b3b-88d6-b0168b0810ef_3p unsupported: false, false, false passed: false, false, false test failed: false, false, 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, 1, 1 result, different session: 1, 1, 1 unsupported: false, false, false passed: false, false, false test failed: 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: 1, 1 result, different session: 1, 1 unsupported: false, false passed: false, false test failed: 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, Error: No requests received, Error: No requests received, Error: No requests received result, different session: Error: No requests received, Error: No requests received, Error: No requests received, Error: No requests received unsupported: true, true, true, true passed: undefined test failed: 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: 1, 1, 1 result, different session: 1, 1, 1 unsupported: false, false, false passed: false, false, false test failed: 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, Error: No requests received, Error: No requests received result, different session: Error: No requests received, Error: No requests received, Error: No requests received unsupported: true, true, true passed: undefined test failed: 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: 1, 1 result, different session: 1, 1 unsupported: false, false passed: false, false test failed: 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, Error: No requests received, Error: No requests received result, different session: Error: No requests received, Error: No requests received, Error: No requests received unsupported: true, true, true passed: undefined test failed: 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, Error: No requests received result, different session: Error: No requests received, Error: No requests received unsupported: true, true passed: undefined test failed: 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: 1, 1, 1 result, different session: 1, 1, 1 unsupported: false, false, false passed: false, false, false test failed: false, false, 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, 1, 1 result, different session: 1, 1, 1 unsupported: false, false, false passed: false, false, false test failed: 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, 1 result, different session: 1, 1 unsupported: false, false passed: false, false test failed: 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, 1, 1, 1 result, different session: 1, 1, 1, 1 unsupported: false, false, false, false passed: false, false, false, false test failed: 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, 1, 1 result, different session: 1, 1, 1 unsupported: false, false, false passed: false, false, false test failed: 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, 1, 1 result, different session: 1, 1, 1 unsupported: false, false, false passed: false, false, false test failed: 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, 1 result, different session: 1, 1 unsupported: false, false passed: false, false test failed: 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, 1, 1 result, different session: 1, 1, 1 unsupported: false, false, false passed: false, false, false test failed: 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, 1 result, different session: 2, 2 unsupported: false, false passed: true, true test failed: 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, 1, 1 result, different session: 1, 1, 1 unsupported: false, false, false passed: false, false, false test failed: false, false, false |
Web SQL Database
The Web SQL Database is a deprecated web API for storing data in an SQL database. |
write: async (key) => { if (!window.openDatabase) { throw new Error("gported"); } let database = window.openDatabase("sqlite_supercookie", "", "supercookie", 1024 * 1024); let tx = new Promise((resolve) => database.transaction(tx => { tx.executeSql( `CREATE TABLE IF NOT EXISTS cache( id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, name TEXT NOT NULL, value TEXT NOT NULL, UNIQUE (name) )`, [], (tx, rs) => {}, (tx, err) => {}); tx.executeSql( `INSERT OR REPLACE INTO cache(name, value) VALUES(?, ?)`, ["secret", key], (tx, rs) => {}, (tx, rs) => {}); })); } read: async () => { let database = window.openDatabase("sqlite_supercookie", "", "supercookie", 1024 * 1024); let result = await new Promise((resolve, reject) => database.transaction(tx => { tx.executeSql( "SELECT value FROM cache WHERE name=?", ["secret"], (tx, rs) => resolve(rs), (tx, err) => reject(err)); })); return result.rows.item(0).value; } result, same session: Error: window.openDatabase is not a function, Error: window.openDatabase is not a function, Error: window.openDatabase is not a function result, different session: Error: window.openDatabase is not a function, Error: window.openDatabase is not a function, Error: window.openDatabase is not a function unsupported: true, true, true passed: undefined test failed: false, false, false |
write: async (key) => { if (!window.openDatabase) { throw new Error("gported"); } let database = window.openDatabase("sqlite_supercookie", "", "supercookie", 1024 * 1024); let tx = new Promise((resolve) => database.transaction(tx => { tx.executeSql( `CREATE TABLE IF NOT EXISTS cache( id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, name TEXT NOT NULL, value TEXT NOT NULL, UNIQUE (name) )`, [], (tx, rs) => {}, (tx, err) => {}); tx.executeSql( `INSERT OR REPLACE INTO cache(name, value) VALUES(?, ?)`, ["secret", key], (tx, rs) => {}, (tx, rs) => {}); })); } read: async () => { let database = window.openDatabase("sqlite_supercookie", "", "supercookie", 1024 * 1024); let result = await new Promise((resolve, reject) => database.transaction(tx => { tx.executeSql( "SELECT value FROM cache WHERE name=?", ["secret"], (tx, rs) => resolve(rs), (tx, err) => reject(err)); })); return result.rows.item(0).value; } result, same session: Error: window.openDatabase is not a function, Error: window.openDatabase is not a function result, different session: Error: window.openDatabase is not a function, Error: window.openDatabase is not a function unsupported: true, true passed: undefined test failed: false, false |
write: async (key) => { if (!window.openDatabase) { throw new Error("gported"); } let database = window.openDatabase("sqlite_supercookie", "", "supercookie", 1024 * 1024); let tx = new Promise((resolve) => database.transaction(tx => { tx.executeSql( `CREATE TABLE IF NOT EXISTS cache( id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, name TEXT NOT NULL, value TEXT NOT NULL, UNIQUE (name) )`, [], (tx, rs) => {}, (tx, err) => {}); tx.executeSql( `INSERT OR REPLACE INTO cache(name, value) VALUES(?, ?)`, ["secret", key], (tx, rs) => {}, (tx, rs) => {}); })); } read: async () => { let database = window.openDatabase("sqlite_supercookie", "", "supercookie", 1024 * 1024); let result = await new Promise((resolve, reject) => database.transaction(tx => { tx.executeSql( "SELECT value FROM cache WHERE name=?", ["secret"], (tx, rs) => resolve(rs), (tx, err) => reject(err)); })); return result.rows.item(0).value; } result, same session: Error: Web SQL is deprecated, Error: Web SQL is deprecated, Error: Web SQL is deprecated, Error: Web SQL is deprecated result, different session: Error: Web SQL is deprecated, Error: Web SQL is deprecated, Error: Web SQL is deprecated, Error: Web SQL is deprecated unsupported: true, true, true, true passed: undefined test failed: false, false, false, false |
write: async (key) => { if (!window.openDatabase) { throw new Error("gported"); } let database = window.openDatabase("sqlite_supercookie", "", "supercookie", 1024 * 1024); let tx = new Promise((resolve) => database.transaction(tx => { tx.executeSql( `CREATE TABLE IF NOT EXISTS cache( id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, name TEXT NOT NULL, value TEXT NOT NULL, UNIQUE (name) )`, [], (tx, rs) => {}, (tx, err) => {}); tx.executeSql( `INSERT OR REPLACE INTO cache(name, value) VALUES(?, ?)`, ["secret", key], (tx, rs) => {}, (tx, rs) => {}); })); } read: async () => { let database = window.openDatabase("sqlite_supercookie", "", "supercookie", 1024 * 1024); let result = await new Promise((resolve, reject) => database.transaction(tx => { tx.executeSql( "SELECT value FROM cache WHERE name=?", ["secret"], (tx, rs) => resolve(rs), (tx, err) => reject(err)); })); return result.rows.item(0).value; } result, same session: Error: window.openDatabase is not a function, Error: window.openDatabase is not a function, Error: window.openDatabase is not a function result, different session: Error: window.openDatabase is not a function, Error: window.openDatabase is not a function, Error: window.openDatabase is not a function unsupported: true, true, true passed: undefined test failed: false, false, false |
write: async (key) => { if (!window.openDatabase) { throw new Error("gported"); } let database = window.openDatabase("sqlite_supercookie", "", "supercookie", 1024 * 1024); let tx = new Promise((resolve) => database.transaction(tx => { tx.executeSql( `CREATE TABLE IF NOT EXISTS cache( id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, name TEXT NOT NULL, value TEXT NOT NULL, UNIQUE (name) )`, [], (tx, rs) => {}, (tx, err) => {}); tx.executeSql( `INSERT OR REPLACE INTO cache(name, value) VALUES(?, ?)`, ["secret", key], (tx, rs) => {}, (tx, rs) => {}); })); } read: async () => { let database = window.openDatabase("sqlite_supercookie", "", "supercookie", 1024 * 1024); let result = await new Promise((resolve, reject) => database.transaction(tx => { tx.executeSql( "SELECT value FROM cache WHERE name=?", ["secret"], (tx, rs) => resolve(rs), (tx, err) => reject(err)); })); return result.rows.item(0).value; } result, same session: Error: window.openDatabase is not a function, Error: window.openDatabase is not a function, Error: window.openDatabase is not a function result, different session: Error: window.openDatabase is not a function, Error: window.openDatabase is not a function, Error: window.openDatabase is not a function unsupported: true, true, true passed: undefined test failed: false, false, false |
write: async (key) => { if (!window.openDatabase) { throw new Error("gported"); } let database = window.openDatabase("sqlite_supercookie", "", "supercookie", 1024 * 1024); let tx = new Promise((resolve) => database.transaction(tx => { tx.executeSql( `CREATE TABLE IF NOT EXISTS cache( id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, name TEXT NOT NULL, value TEXT NOT NULL, UNIQUE (name) )`, [], (tx, rs) => {}, (tx, err) => {}); tx.executeSql( `INSERT OR REPLACE INTO cache(name, value) VALUES(?, ?)`, ["secret", key], (tx, rs) => {}, (tx, rs) => {}); })); } read: async () => { let database = window.openDatabase("sqlite_supercookie", "", "supercookie", 1024 * 1024); let result = await new Promise((resolve, reject) => database.transaction(tx => { tx.executeSql( "SELECT value FROM cache WHERE name=?", ["secret"], (tx, rs) => resolve(rs), (tx, err) => reject(err)); })); return result.rows.item(0).value; } result, same session: Error: window.openDatabase is not a function, Error: window.openDatabase is not a function result, different session: Error: window.openDatabase is not a function, Error: window.openDatabase is not a function unsupported: true, true passed: undefined test failed: false, false |
write: async (key) => { if (!window.openDatabase) { throw new Error("gported"); } let database = window.openDatabase("sqlite_supercookie", "", "supercookie", 1024 * 1024); let tx = new Promise((resolve) => database.transaction(tx => { tx.executeSql( `CREATE TABLE IF NOT EXISTS cache( id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, name TEXT NOT NULL, value TEXT NOT NULL, UNIQUE (name) )`, [], (tx, rs) => {}, (tx, err) => {}); tx.executeSql( `INSERT OR REPLACE INTO cache(name, value) VALUES(?, ?)`, ["secret", key], (tx, rs) => {}, (tx, rs) => {}); })); } read: async () => { let database = window.openDatabase("sqlite_supercookie", "", "supercookie", 1024 * 1024); let result = await new Promise((resolve, reject) => database.transaction(tx => { tx.executeSql( "SELECT value FROM cache WHERE name=?", ["secret"], (tx, rs) => resolve(rs), (tx, err) => reject(err)); })); return result.rows.item(0).value; } result, same session: Error: Web SQL is deprecated, Error: Web SQL is deprecated, Error: Web SQL is deprecated result, different session: Error: Web SQL is deprecated, Error: Web SQL is deprecated, Error: Web SQL is deprecated unsupported: true, true, true passed: undefined test failed: false, false, false |
write: async (key) => { if (!window.openDatabase) { throw new Error("gported"); } let database = window.openDatabase("sqlite_supercookie", "", "supercookie", 1024 * 1024); let tx = new Promise((resolve) => database.transaction(tx => { tx.executeSql( `CREATE TABLE IF NOT EXISTS cache( id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, name TEXT NOT NULL, value TEXT NOT NULL, UNIQUE (name) )`, [], (tx, rs) => {}, (tx, err) => {}); tx.executeSql( `INSERT OR REPLACE INTO cache(name, value) VALUES(?, ?)`, ["secret", key], (tx, rs) => {}, (tx, rs) => {}); })); } read: async () => { let database = window.openDatabase("sqlite_supercookie", "", "supercookie", 1024 * 1024); let result = await new Promise((resolve, reject) => database.transaction(tx => { tx.executeSql( "SELECT value FROM cache WHERE name=?", ["secret"], (tx, rs) => resolve(rs), (tx, err) => reject(err)); })); return result.rows.item(0).value; } result, same session: Error: window.openDatabase is not a function, Error: window.openDatabase is not a function result, different session: Error: window.openDatabase is not a function, Error: window.openDatabase is not a function unsupported: true, true passed: undefined test failed: false, false |
write: async (key) => { if (!window.openDatabase) { throw new Error("gported"); } let database = window.openDatabase("sqlite_supercookie", "", "supercookie", 1024 * 1024); let tx = new Promise((resolve) => database.transaction(tx => { tx.executeSql( `CREATE TABLE IF NOT EXISTS cache( id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, name TEXT NOT NULL, value TEXT NOT NULL, UNIQUE (name) )`, [], (tx, rs) => {}, (tx, err) => {}); tx.executeSql( `INSERT OR REPLACE INTO cache(name, value) VALUES(?, ?)`, ["secret", key], (tx, rs) => {}, (tx, rs) => {}); })); } read: async () => { let database = window.openDatabase("sqlite_supercookie", "", "supercookie", 1024 * 1024); let result = await new Promise((resolve, reject) => database.transaction(tx => { tx.executeSql( "SELECT value FROM cache WHERE name=?", ["secret"], (tx, rs) => resolve(rs), (tx, err) => reject(err)); })); return result.rows.item(0).value; } result, same session: Error: window.openDatabase is not a function, Error: window.openDatabase is not a function, Error: window.openDatabase is not a function result, different session: Error: window.openDatabase is not a function, Error: window.openDatabase is not a function, Error: window.openDatabase is not a function unsupported: true, true, true passed: undefined test failed: false, false, 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, 1, 1 result, different session: 1, 1, 1 unsupported: false, false, false passed: false, false, false test failed: 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, 1 result, different session: 1, 1 unsupported: false, false passed: false, false test failed: 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, 1, 1, 1 result, different session: 1, 1, 1, 1 unsupported: false, false, false, false passed: false, false, false, false test failed: 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, 1, 1 result, different session: 1, 1, 1 unsupported: false, false, false passed: false, false, false test failed: 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, 1, 1 result, different session: 1, 1, 1 unsupported: false, false, false passed: false, false, false test failed: 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, 1 result, different session: 1, 1 unsupported: false, false passed: false, false test failed: 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, 1, 1 result, different session: 1, 1, 1 unsupported: false, false, false passed: false, false, false test failed: 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, 1 result, different session: 2, 2 unsupported: false, false passed: true, true test failed: 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, 1, 1 result, different session: 1, 1, 1 unsupported: false, false, false passed: false, false, false test failed: false, false, false |
DNS privacy testsWhich browsers keep their DNS queries encrypted?
The Domain Name System (DNS) is the method by which web browsers look up the IP address for each website you visit. In a DNS query, a web browser will ask a DNS resolver (somewhere on the internet) for the IP address corresponding to a domain name (such as nytimes.com) for a website you want to visit. Traditionally, most web browsers have sent their DNS queries unencrypted, which means your ISP or anyone else on the network between your computer and the DNS resolver can eavesdrop on the websites you visit. In recent years, web browsers and operating systems have begun to introduce encrypted DNS, including the DNS over HTTPS (DoH) protocol, to encrypt the DNS request from your browser and the response from the resolver to keep your browsing history from leaking. These tests check whether a browser is still protecting its DNS requests by sending them encrypted. | |||||||||
Location: Brazil
Checks whether the browser decides to use encrypted DNS if the computer is located in Brazil. |
passed: false, false, false leak detected: true, true, true |
passed: false, false leak detected: true, true |
passed: false, false, false, false leak detected: true, true, true, true |
passed: false, false, false leak detected: true, true, true |
passed: false, false, false leak detected: true, true, true |
passed: false, true leak detected: true, false |
passed: false, false, false leak detected: true, true, true |
passed: true, true leak detected: false, false |
passed: false, false, false leak detected: true, true, true |
Location: China
Checks whether the browser decides to use encrypted DNS if the computer is located in China. |
passed: false, false, false leak detected: true, true, true |
passed: false, false leak detected: true, true |
passed: false, false, false, false leak detected: true, true, true, true |
passed: false, false, false leak detected: true, true, true |
passed: false, false, false leak detected: true, true, true |
passed: false, true leak detected: true, false |
passed: false, false, false leak detected: true, true, true |
passed: true, true leak detected: false, false |
passed: false, false, false leak detected: true, true, true |
Location: Germany
Checks whether the browser decides to use encrypted DNS if the computer is located in Germany. |
passed: false, false, false leak detected: true, true, true |
passed: false, false leak detected: true, true |
passed: false, false, false, false leak detected: true, true, true, true |
passed: false, false, false leak detected: true, true, true |
passed: false, false, false leak detected: true, true, true |
passed: false, true leak detected: true, false |
passed: false, false, false leak detected: true, true, true |
passed: true, true leak detected: false, false |
passed: false, false, false leak detected: true, true, true |
Location: India
Checks whether the browser decides to use encrypted DNS if the computer is located in India. |
passed: false, false, false leak detected: true, true, true |
passed: false, false leak detected: true, true |
passed: false, false, false, false leak detected: true, true, true, true |
passed: false, false, false leak detected: true, true, true |
passed: false, false, false leak detected: true, true, true |
passed: false, true leak detected: true, false |
passed: false, false, false leak detected: true, true, true |
passed: true, true leak detected: false, false |
passed: false, false, false leak detected: true, true, true |
Location: Nigeria
Checks whether the browser decides to use encrypted DNS if the computer is located in Nigeria. |
passed: false, false, false leak detected: true, true, true |
passed: false, false leak detected: true, true |
passed: false, false, false, false leak detected: true, true, true, true |
passed: false, false, false leak detected: true, true, true |
passed: false, false, false leak detected: true, true, true |
passed: false, true leak detected: true, false |
passed: false, false, false leak detected: true, true, true |
passed: true, true leak detected: false, false |
passed: false, false, false leak detected: true, true, true |
Location: Russia
Checks whether the browser decides to use encrypted DNS if the computer is located in Russia. |
passed: false, false, false leak detected: true, true, true |
passed: false, false leak detected: true, true |
passed: false, false, false, false leak detected: true, true, true, true |
passed: false, false, false leak detected: true, true, true |
passed: true, true, true leak detected: false, false, false |
passed: false, true leak detected: true, false |
passed: false, false, false leak detected: true, true, true |
passed: true, true leak detected: false, false |
passed: false, false, false leak detected: true, true, true |
Location: United States
Checks whether the browser decides to use encrypted DNS if the computer is located in United States. |
passed: false, false, false leak detected: true, true, true |
passed: false, false leak detected: true, true |
passed: false, false, false, false leak detected: true, true, true, true |
passed: false, false, false leak detected: true, true, true |
passed: true, true, true leak detected: false, false, false |
passed: false, true leak detected: true, false |
passed: false, false, false leak detected: true, true, true |
passed: true, true leak detected: false, false |
passed: false, false, false leak detected: true, true, true |
OS DNS: Cloudflare
Checks whether the browser decides to use encrypted DNS if the operating system's default DNS provider is Cloudflare. |
passed: true, true, true leak detected: false, false, false |
passed: true, true leak detected: false, false |
passed: true, true, true, true leak detected: false, false, false, false |
passed: true, true, true leak detected: false, false, false |
passed: true, true, true leak detected: false, false, false |
passed: false, false leak detected: true, true |
passed: true, true, true leak detected: false, false, false |
passed: true, true leak detected: false, false |
passed: true, true, true leak detected: false, false, false |
OS DNS: Comodo
Checks whether the browser decides to use encrypted DNS if the operating system's default DNS provider is Comodo. |
passed: false, false, false leak detected: true, true, true |
passed: false, false leak detected: true, true |
passed: false, false, false, false leak detected: true, true, true, true |
passed: false, false, false leak detected: true, true, true |
passed: false, false, false leak detected: true, true, true |
passed: false, true leak detected: true, false |
passed: false, false, false leak detected: true, true, true |
passed: true, true leak detected: false, false |
passed: false, false, false leak detected: true, true, true |
OS DNS: Google
Checks whether the browser decides to use encrypted DNS if the operating system's default DNS provider is Google. |
passed: true, true, true leak detected: false, false, false |
passed: true, true leak detected: false, false |
passed: true, true, true, true leak detected: false, false, false, false |
passed: true, true, true leak detected: false, false, false |
passed: true, true, true leak detected: false, false, false |
passed: false, true leak detected: true, false |
passed: true, true, true leak detected: false, false, false |
passed: true, true leak detected: false, false |
passed: true, true, true leak detected: false, false, false |
OS DNS: Quad9
Checks whether the browser decides to use encrypted DNS if the operating system's default DNS provider is Quad9. |
passed: false, false, false leak detected: true, true, true |
passed: false, false leak detected: true, true |
passed: true, true, true, true leak detected: false, false, false, false |
passed: false, false, false leak detected: true, true, true |
passed: true, true, true leak detected: false, false, false |
passed: false, true leak detected: true, false |
passed: true, true, true leak detected: false, false, false |
passed: true, true leak detected: false, false |
passed: false, false, false leak detected: true, true, true |