diff options
| author | stuppie | 2026-03-19 14:11:12 -0600 |
|---|---|---|
| committer | stuppie | 2026-03-19 14:11:12 -0600 |
| commit | 435e93817a10dc2c06fa29ce0cef36f2758299ba (patch) | |
| tree | 0d3231d91902518864208cc2d3fe9e931bb276c2 | |
| parent | 9ae26d35d77694f25faa7841f4155bf7300467bf (diff) | |
| download | generalresearch-435e93817a10dc2c06fa29ce0cef36f2758299ba.tar.gz generalresearch-435e93817a10dc2c06fa29ce0cef36f2758299ba.zip | |
grliq fingerprint_keys composition based on os family
| -rw-r--r-- | generalresearch/grliq/models/forensic_data.py | 5 | ||||
| -rw-r--r-- | 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" |
