ungoogled-software / ungoogled-chromium

Google Chromium, sans integration with Google
BSD 3-Clause "New" or "Revised" License
19.53k stars 801 forks source link

Site whitelist for fingerprint deception #2714

Open therainydev opened 4 months ago

therainydev commented 4 months ago

Description

Add an option to disable fingerprint deception for some sites.

The problem

Users have no way to disable fingerprint deception for some sites while keeping it enabled for others.

This issue was originally opened due to the #fingerprinting-client-rects-noise flag breaking some sites, such as causing the lines in the Desmos graphing calculator to jitter around randomly at high speeds. That issue has been fixed in #2790, though I had originally thought that the only way to fix it was to disable fingerprint deception entirely.

https://github.com/ungoogled-software/ungoogled-chromium/assets/123329306/f61c3b14-ee8d-43bb-a460-a6ba75ea7215

That issue could previously be reproduced by following these steps in a version prior to the merging of #2790:

Possible solutions

I suggest adding an option to whitelist some sites from fingerprint deception, which would allow users to disable fingerprinting deception for some sites while keeping it enabled for all other sites. This would allow users to temporarily work around issues that may arise with fingerprint deception breaking sites, as well as issues only pertinent to specific websites.

karachikorai commented 1 month ago

@therainydev I am not able to reproduce this error.

therainydev commented 1 month ago

@karachikorai The original issue of the rectangles moving around weirdly was fixed by #2790. (Admittedly, me opening this was a case of the XY problem, thinking the get*ClientRects fingerprint deception itself was the cause.) I'd like to keep this issue open, though, because it's a separate feature that could be needed (e.g. if sites start detecting fingerprint deception). Shall I update the original post to make that clear?

PF4Public commented 1 month ago

Shall I update the original post to make that clear?

Yes, please be so kind, more so that one of the issues got fixed. A tight correspondence between issue subject and text would be nice.