From 435e93817a10dc2c06fa29ce0cef36f2758299ba Mon Sep 17 00:00:00 2001 From: stuppie Date: Thu, 19 Mar 2026 14:11:12 -0600 Subject: grliq fingerprint_keys composition based on os family --- generalresearch/grliq/models/forensic_data.py | 5 +++-- pyproject.toml | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/generalresearch/grliq/models/forensic_data.py b/generalresearch/grliq/models/forensic_data.py index 1eb3648..6852707 100644 --- a/generalresearch/grliq/models/forensic_data.py +++ b/generalresearch/grliq/models/forensic_data.py @@ -522,7 +522,6 @@ class GrlIqData(BaseModel): "text_2d_fingerprint", "canvas_fingerprint", "device_pixel_ratio", - "storage_estimate_quota", "audio_codecs", "video_codecs", "color_gamut", @@ -534,7 +533,9 @@ class GrlIqData(BaseModel): "prefers_color_scheme", ] if self.useragent.os.family in {OSFamily.IOS, OSFamily.MAC_OSX}: - fp_cols += ["screen_width", "screen_height"] + fp_cols.extend(["screen_width", "screen_height"]) + if self.useragent.os.family not in {OSFamily.CHROME_OS, OSFamily.ANDROID}: + fp_cols.append("storage_estimate_quota") return fp_cols @cached_property diff --git a/pyproject.toml b/pyproject.toml index 7ff3033..d6f9ebf 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "generalresearch" -version = "3.3.5" +version = "3.3.6" description = "Python Utilities for General Research" readme = "README.md" requires-python = ">=3.8" -- cgit v1.2.3