Downloadable font on firefox: bad URI or cross-site access not allowed

后端 未结 4 777
终归单人心
终归单人心 2020-12-01 00:18

I\'m a webmaster at http://www.beperk.com (I\'m giving you the URL so you are able to check the problem) and I\'m having lots of problems using @font-face in CSS.

I

4条回答
  •  孤街浪徒
    2020-12-01 00:57

    If anyone are using local resource and facing this problem in firefox. You can go to about:config and change the security.fileuri.strict_origin_policy preference to false.

    see : https://developer.mozilla.org/en-US/docs/Same-origin_policy_for_file:_URIs

提交回复
热议问题