by SquareWheel · 8y ago · 0 comments
So it can render the website in an appropriate font, while avoiding unnecessary network downloads.
>Why a website needs to know my plugins?
Plugins used to be used for rendering applets. It made sense to see if you had Flash/Java installed before trying to insert one.
Thankfully, plugins are now going away.
if (!isFontAvailable(font)) {
downloadFont(font);
}
It's not like a tracking script is going to try to iterate over every single existing font out in the wild for finger printing purposes. Doing so would be too easy to detect and block at the browser level. In the meanwhile, a script can get the list of fonts directly.