Firefox对某些图像说“无法加载图像”,自动添加奇怪的类

not_a_generic_user

我已经尝试了几次和几种方法,但无法弄清楚。以下图像集在非Firefox浏览器中可以完美加载,但是所有这些图像在Firefox中都是不可见的。如果我调出文档检查器并将鼠标悬停在url上,则仅针对google和email(这是仅有的两个没有此类奇怪类的图片)弹出图像。

所以我想问题是:为什么firefox在我的图像上添加了一个奇怪的类(恰好这些,页面上的所有其他图像都可以正常工作),为什么这些图像中的任何一个都没有出现?

   <div id="share_icons">
            <img class="gknwrycuvfcesykaisun" src="http://localhost:80/graphics/share/facebook.png" id="share_facebook">
            <img src="http://localhost:80/graphics/share/google.png" id="share_google">
            <img class="gknwrycuvfcesykaisun" src="http://localhost:80/graphics/share/pinterest.png" id="share_pinterest">
            <img class="gknwrycuvfcesykaisun" src="http://localhost:80/graphics/share/tumblr.png" id="share_tumblr">
            <img class="gknwrycuvfcesykaisun" src="http://localhost:80/graphics/share/twitter.png" id="share_twitter">
            <img src="http://localhost:80/graphics/share/email.png" id="share_email" pop="Send a link to this list to friends via e-mail. <b>Note:</b> recipients must already be users of the site or your view settings must allow public views for them to see it!">
        </div>

这是#share_icons区域的计算CSS:

#share_icons {
width: 150px;
text-align: center;
margin-left: auto;
margin-right: auto;
}
* {
border: 0px none;
margin: 0px;
padding: 0px;
font: inherit;
vertical-align: baseline;
-moz-box-sizing: border-box;
}

我注意到的另一件事是,当我单击该区域中的任何图像时,通常会悬停在页面上元素上方的检查器弹出框位于屏幕的左上方,就像所有图像一样。屏幕外某处。

已经尝试完全清除缓存。还尝试在Firefox中手动加载图片网址,并且如果我这样做,图片会加载并显示正常。我还将图像标签移到了页面上的其他位置,以确保这不是嵌套的CSS。

not_a_generic_user

抱歉,这么快就加入了,但是我注意到有些奇怪,最终发现了原因。Adblock最有可能阻止了图像,因为我不小心单击并过滤了它。

我将离开这个问题,因为它可能对其他人有帮助。

本文收集自互联网,转载请注明来源。

如有侵权,请联系 [email protected] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章