1

当我在 HTTPS 页面中使用 Google 字体时,它被视为 chrome 中的“不安全脚本”。

有没有办法解决这个问题?

我得到这个:

http://snag.gy/9FAx3.jpg

我正在使用@import它来导入它。

4

1 回答 1

2

Use https or simply leave the protocol off in the href. For example:

<link href='//fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'>
于 2014-10-11T21:35:11.770 回答