by LeoPanthera · 7y ago · 0 comments
tl;dr css hover selectors that change the background image don't actually cause the browser to GET the specified background image until you hover over it, thus creating a way to send data from a web page with no javascript.
That doesn't solve the problem; email trackers could just use a unique URL per email.
Why are you contributing to the surveillance age of the internet?
In some other profession I'd make exceptions, but seriously the amount of money flowing to developers these days, there's no excuse to sell out.
That little background image feature in CSS has given up quite a bit of data in similar situations (people used to use it to check browsing history of :visited links before browser started blocking that).
It's intended to ensure that a CDN doesn't change the content they're serving to your users.
But it turns out you can approximate the speed a visiting browser computes those hashes to fingerprint browsers just by including some CSS on a page.
Unfortunately, as always, using Tor will make things slower.
It will make this kind of example really slow, but if the intention is to break this kind of spying, then that's okay.
It's things like this that drove me to start browsing the web with CSS disabled by default. It's yet another vector for tracking.
This specific page uses :active, not :hover, so it is really no different from a web form, that performs web request each time you press a submit button. It just does not reload a page.