Files
camoufox/scripts
Ruben Vereecken 5f3c1f2c64 Allow disabling font spacing perturbation (seed=0 no-op, matching audio) (#548)
* Allow disabling font spacing perturbation (seed=0 no-op, matching audio)

The audio fingerprint manager treats seed==0 as "no perturbation", but
font spacing had a hardcoded fallback (0x6D2B79F5u) that made it always
active — even when no seed was explicitly set.

C++ change: remove the hardcoded fallback and add `if (seed != 0)` guard
around the LCG + glyph offset loop (mirrors AudioFingerprintManager).
Also removes the debug printf that fired on every ShapeText() call.

To disable font spacing from the Python API, set fonts:spacing_seed to 0
in the config/preset — same convention as audio:seed and canvas:seed.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* Add local channel install script for custom builds

Installs build artifacts to browsers/local/ instead of overwriting
official slots. Survives camoufox fetch. Handles permissions and
version.json automatically.

---------

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-10 11:06:25 -04:00
..
2024-08-01 04:41:03 -05:00
2026-01-04 23:26:32 -05:00
2026-01-04 23:26:32 -05:00
2024-07-26 06:49:20 -05:00
2024-07-26 06:49:20 -05:00
2024-07-26 06:49:20 -05:00
2025-02-05 19:18:17 -06:00
2024-11-21 18:51:27 -06:00
2024-07-26 06:49:20 -05:00