-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Description
Is your feature request related to a problem? Please describe.
Trackers can use the installed system fonts to track you across websites, if you have a unique set of fonts installed (like if you're using linux and are missing one or two default windows fonts. If you're spoofing a windows useagent, this could be used to deanonymize you.)
Describe the solution you'd like
It'd be pretty cool if you could somehow spoof this, so it's impossible to track you using fonts.
According to coveryourtracks.eff.org, js trackers can do this by creating a <span> tag, and then loading a bunch of fonts and checking if the width changed.
So, a simple solution would be to randomize font widths every time they're drawn by ±0.0003% (or possibly more), like you do a few other flags.
(Actually, looking at those flags it seems like it may actually be already doing that, which causes it to match all the fonts, which makes you less unique. Here's a solution for that.)
An alternative solution would be the following:
allow the user to specify a list of fonts (or just use a short list of the most common ones), and generate a random variation at start up, which is applied to only those fonts in the list.
As for the rest of the fonts, it would apply no variation to them, to make it look like you don't have them.
This would make it seem like you're a default windows user with no extra fonts installed.
Describe alternatives you've considered
Alternatively, you could just not do this. I mean yeah, it might be a pain to implement, and I would understand if you think it's too much work.
Additional context
According to bot EFF.og and amiunique.org, the set of fonts that I have installed is very unique and could be used to deanonymize me:

