3

Trying to get system fonts to use as part of browser fingerprint (like here https://panopticlick.eff.org/index.php?action=log&js=yes)

Searching Google found 2 options

http://hasseg.org/blog/post/526/getting-a-list-of-installed-fonts-with-flash-and-javascript/

But here http://hasseg.org/stuff/fontList/example.html see Listing not done yet... (make sure Javascript and Flash are enabled). So for all visitors that have not enabled JavaScript/Flash result would be the same. In https://panopticlick.eff.org/index.php?action=log&js=yes see No Flash or Java fonts detected. Also in comments below https://stackoverflow.com/a/3368858/2118559 read that Flash not good option. And for me seems very difficult how to implement.

Another option to use http://www.lalit.org/lab/javascript-css-font-detect/. Seems very simple and understandable. But it detect only one particular font. So i must create/define some array of fonts (name each font) and loop through array. For example here http://www.myfonts.com/search/is_webfont%3Atrue/fonts/ see that 22,652 fonts available... Loop through 22,652 fonts. Not good option

Any ideas how to get list of existing system fonts?

5
  • 1
    AFAIK there's no way in Javascript to query the host system for system-related data of any kind. Why do you need to know what's installed?
    – user1864610
    Commented Feb 25, 2015 at 3:50
  • possible duplicate of list every font a user's browser can display
    – spender
    Commented Feb 25, 2015 at 3:52
  • I need to use as part of browser fingerprint
    – Andris
    Commented Feb 25, 2015 at 3:54
  • @spender I know link you mention. I even in my question wrote about the answer and placed link. And read about the two options, i mentioned. My question is: is there any other option. Because the 2 options i know, are not very suitable. Seems no other options. May be to use javascript to loop through most common system fonts
    – Andris
    Commented Feb 25, 2015 at 3:57
  • @Andris, did you find any solution about that? Commented Mar 14, 2019 at 17:59

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.