Chrome for mac 版本 76.0.3809.87(正式版本) (64 位)字体图标跨域不显示?

2019-08-05 08:27:43 +08:00
 piloots

前两天升级了 chrome for mac 版本 76.0.3809.87 (正式版本) ( 64 位),发现打开所有网站比如淘宝,所有字体文件浏览器报跨域不显示,你们有这个情况吗?

不上图了,粘贴下来自 chrome console 控制台中的错误信息,访问淘宝首页。

Access to font at 'https://at.alicdn.com/t/font_1404888168_2057645.woff' from origin 'https://www.taobao.com' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. font_1404888168_2057645.woff:1 Failed to load resource: net::ERR_FAILED (index):1 Access to font at 'https://at.alicdn.com/t/font_403341_n8tj33yn5peng66r.woff' from origin 'https://www.taobao.com' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. font_403341_n8tj33yn5peng66r.woff:1 Failed to load resource: net::ERR_FAILED (index):1 Access to font at 'https://at.alicdn.com/t/font_1404888168_2057645.ttf' from origin 'https://www.taobao.com' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. font_1404888168_2057645.ttf:1 Failed to load resource: net::ERR_FAILED (index):1 Access to font at 'https://at.alicdn.com/t/font_403341_n8tj33yn5peng66r.ttf' from origin 'https://www.taobao.com' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. font_403341_n8tj33yn5peng66r.ttf:1 Failed to load resource: net::ERR_FAILED ??kissy/k/6.2.4/seed-min.js,kg/global-util/1.0.7/index-min.js,tb/tracker/4.3.12/index.js,kg/tb-nav/2.5.3/index-min.js,secdev/sufei_data/3.3.5/index.js:6 Uncaught (in promise) DOMException: Failed to execute 'setLocalDescription' on 'RTCPeerConnection': Failed to parse SessionDescription. a=msid: Missing track ID in msid attribute.

1530 次点击
所在节点    问与答
6 条回复
piloots
2019-08-05 08:29:36 +08:00
尝试
1.重启 wifi
2.重启浏览器 /清除缓存 /重启电脑
都没有解决这个问题,访问所有网站(字体文件)都不显示....江湖救急
piloots
2019-08-05 08:35:45 +08:00
目前的环境和之前的环境,仅升级了 chrome 浏览器,并未增加浏览器插件,也没有升级系统和路由固件 /路由设置,有 v 友使用这个版本 chrome 是正常的吗?
um1ng
2019-08-05 10:10:51 +08:00
没遇到过
virusdefender
2019-08-05 10:57:32 +08:00
字体我记得一直不能跨域啊,可能是 cdn 的问题?
jarnanchen
2019-08-05 11:12:01 +08:00
同系统环境并未出现你所说的问题
piloots
2019-08-05 12:00:43 +08:00
已经解决,因为我伪造了 x-forwarded-for。。。。某些 chrome 最近更新策略修改了,之前的版本都没有这个问题

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/589053

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX