我已经在服务器上解决了这个问题,但在 Chrome 扩展程序中没有解决。当我使用加载了@font-face
. 例如:
@font-face {
font-family: 'fontello';
src: url("../../fonts/fontello.svg#fontello") format('svg');
font-weight: normal;
font-style: normal;
}
Chrome 告诉我这样的事情:
Resource interpreted as Font but transferred with MIME type image/svg+xml: "fonts/fontello.svg#fontello"
所以在服务器上我可以强制为我的字体设置标题,但我可以在 Chrome 扩展中做什么?任何类型的 Chrome 扩展魔法提前谢谢。