From 6dcdc42c0536cbe9163e4b99778916ac53aee86f Mon Sep 17 00:00:00 2001 From: feder-cr <85809106+feder-cr@users.noreply.github.com> Date: Wed, 17 Jun 2026 00:48:20 +0200 Subject: [PATCH] Drop the dead zoom.stealth.normalize_date_now baseline pref The Date.now self-assignment was a stopgap that the page-realm fix (the automation layer no longer touches the realm's built-ins before page scripts run) made unnecessary; that binary support was never landed, so the pref is a no-op on every shipped build. Remove it and its now-inaccurate comment. --- src/invisible_playwright/prefs.py | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/invisible_playwright/prefs.py b/src/invisible_playwright/prefs.py index be3263a..529b01f 100644 --- a/src/invisible_playwright/prefs.py +++ b/src/invisible_playwright/prefs.py @@ -243,18 +243,6 @@ _BASELINE: Dict[str, Any] = { # improves fingerprint consistency — it cannot break connectivity. "security.ssl3.ecdhe_ecdsa_aes_128_sha": False, - # Date.now property normalization. Our build's *pristine* built-in Date.now - # property carries an internal representation that differs subtly from a - # stock Firefox's, which some fingerprint scripts can distinguish from a - # normal property. The binary (Juggler FrameTree) performs a plain - # self-assignment `Date.now = Date.now` in every new main-world document, - # converting it to a normal data property identical to a real browser's — - # WITHOUT changing its value, identity or toString (it stays the native - # function reporting "[native code]"). Pure fingerprint-consistency, no - # behavior change. Requires the binary's `zoom.stealth.normalize_date_now` - # support (firefox builds from 2026-06-15 on). - "zoom.stealth.normalize_date_now": True, - # Safebrowsing — chatty and fingerprintable. "browser.safebrowsing.malware.enabled": False, "browser.safebrowsing.phishing.enabled": False,