From a5ca565e9ce6ce4f24c3343744d12ed518422348 Mon Sep 17 00:00:00 2001 From: Raymond Hill Date: Fri, 28 Jan 2022 09:26:57 -0500 Subject: [PATCH] Add hashComponents() to FingerprintJS v3 shim Related feedback: - https://github.com/gorhill/uBlock/commit/f4824bd0d9b8face3c579b1c08a4e6f7576bcfb4#commitcomment-64534458 --- src/web_accessible_resources/fingerprint3.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/web_accessible_resources/fingerprint3.js b/src/web_accessible_resources/fingerprint3.js index bd4a4e17b..1bf152983 100644 --- a/src/web_accessible_resources/fingerprint3.js +++ b/src/web_accessible_resources/fingerprint3.js @@ -29,6 +29,9 @@ return id; })(); const FingerprintJS = class { + static hashComponents() { + return visitorId; + } static load() { return Promise.resolve(new FingerprintJS()); }