by blitmap · 7y ago · 0 comments
I wish there were 4 modes:
- Standard/light mode
- Dark mode (website has facilities to test for this and style accordingly)
- Dark mode with fake or unknown values advertised to the website
- Dark mode with a user-custom filter applied (like below) that the website cannot test for (it sees untransformed computed styles)
> filter: invert(95%) hue-rotate(190deg)
ISTR (late 1990's?) reading about fingerprinting attacks that didn't require script or even CSS. Subtle changes in font size and attributes (bold, italic) may affect the order in which page elements are requested by the browser.
Even if you wanted to, there's simply no reliable way to isolate data about client rendering from any other data exchanged with the server. Even if you did a heroic rearchitecture of the DOM and rendering system, there are still static IP addresses and cookies.