无法在Chrome下载入资源 [英] Failed to load resource under Chrome

查看:109
本文介绍了无法在Chrome下载入资源的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

网页中有一堆图片。

其他浏览器正在正确下载,但Chrome不会加载它们。

Other browsers are downloading them correctly, but Chrome doesn't loads them.

在开发人员控制台中,每个图片都会显示以下讯息:

In the developer's console, it shows the following message for each image:


无法载入资源

Failed to load resource

此问题仅在Chrome中出现。

This problem appears only in Chrome.

p>

推荐答案

我最近遇到这个问题,发现它是由Adblock扩展引起的(我最好的猜测是,在文件名中有banner和ad字样。)

I recently ran into this problem and discovered that it was caused by the "Adblock" extension (my best guess is that it's because I had the words "banner" and "ad" in the filename).

作为一个快速测试,看看是否是您的问题,在隐身模式下启用Chrome ctrl + shift + n ),看看您的网页是否正常工作。请注意,默认情况下,所有扩展程序都将在隐身模式下停用,除非您已将其设置为(通过 chrome:// extensions )运行。

As a quick test to see if that's your problem, start Chrome in incognito mode with extensions disabled (ctrl+shift+n) and see if your page works now. Note that by default all extensions will be already disabled in incognito mode unless you've specifically set them to run (via chrome://extensions).

这篇关于无法在Chrome下载入资源的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆