typekit: Failed on Firefox, Worked on Chrome and Safari

可紊 提交于 2019-12-05 02:04:09

Do you by any chance have referrers turned off on firefox? Any extensions that handle privacy settings?

if you can see the fonts in other browsers then it has to be something that is blocking the referrer from Firefox from being passed into Typekit. All web font services require that referrer to be present so they can tie the font to the domain for security purposes.

Complementing Brad, those are the FF configs about http referers:

0 : Never send the Referer header or set document.referrer.

1 : Send the Referer header when clicking on a link, and set document.referrer for the following page.

2 : Send the Referer header when clicking on a link or loading an image, and set document.referrer for the following page. (Default)

source: http://kb.mozillazine.org/Network.http.sendRefererHeader

Typekit needs this config in: 2... so:

  1. open firefox.
  2. type about:config in URL address box.
  3. search for: network.http.sendRefererHeader
  4. if value is 0 or 1, FF is not sending the referers when loading page resources, set it to 2 to make it works.
  5. test it

It worked for me :)

I had the same issue. TypeKit was not only on Firefix. From Brad`s answer I remembered I unified fonts for all webpages on firefix. The fix for me was to go to

  1. FireFox Options
  2. Content
  3. Font & Colors click Advanced
  4. make sure "Allow pages to choose their own fonts, instead of your selections above" is checked.
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!