2 ms·
AFAIK there isn't an API call to enumerate fonts. There are a number of methods developed over the years to do that. If there were an API call I think any brow
by pmontra 10y ago
AFAIK there isn't an API call to enumerate fonts. There are a number of methods developed over the years to do that.
If there were an API call I think any browser shouldn't implement it, but how to block any possible font sniffing method?
There is an API to enumerate plugins: navigator.plugins returns them into an array. I'd like to be warned about sites asking that and I'd like to return an empty array and see if something breaks. Better: tell me which plugin you need and why and I'll decide which one to let you know I have.