ollydbg23
火狐狸
火狐狸
  • UID27913
  • 注册日期2009-02-05
  • 最后登录2018-09-26
  • 发帖数107
  • 经验25枚
  • 威望0点
  • 贡献值12点
  • 好评度2点
  • 社区居民
  • 忠实会员
阅读:2761回复:6

Firefox能否提示在网页中有无法访问的图片?比如显示红叉叉符号

楼主#
更多 发布于:2013-07-29 17:02
我经常逛国外论坛,有的时候,找论坛的帖子里面用户贴了一些图片,可是这些图片由于所在的服务器被墙了或者别的啥原因,在帖子里面就显示不出来,这种情况下,firefox只是简单的现实一个比较小的空白区域,让我很难知道这个地方存在一个无法显示的图片。

请问有什么办法,可以让firefox在无法显示的图片的地方给个红叉叉之类的东西?

举例说明,某帖子有个内容如下:
I have a question regarding the behavior of code folding with brace completion. When auto brace completion is on, everything is fine, so far as I know. But if auto brace completion is off, it messes with the code folding when you type an opening brace '{'.

Here is a simple program below to just illustrate it. First, start with a normal program.

[IMG]http://imageshack.us/a/img203/4496/xljm.png[/img]

Then, do a couple of folds. 

[IMG]http://imageshack.us/a/img689/2474/zioj.png[/img]
。。。


但是实际显示的结果如下:

描述:对于无法显示的图片,firefox无法显示任何提示

图片:2013-07-29 17 06 53.png

对于无法显示的图片,firefox无法显示任何提示
Code::Blocks Developer, OpenCV Chinese forum moderator, Interest in GCC, GDB and other Free/Libre software, robotics, Computer vision.
ollydbg23
火狐狸
火狐狸
  • UID27913
  • 注册日期2009-02-05
  • 最后登录2018-09-26
  • 发帖数107
  • 经验25枚
  • 威望0点
  • 贡献值12点
  • 好评度2点
  • 社区居民
  • 忠实会员
1楼#
发布于:2013-07-29 17:02
Ok,我找了一下,找到一个方法,似乎还不错:
http://gavtaylor.co.uk/blog/enable-brok ... in-firefox
我看有人已经把这个方法做成了一个脚本了,在这里:
Show broken image placeholders for Greasemonkey
使用了一下,不错,下面是效果图:

描述:使用脚本后,可以显示一个图标了。

图片:2013-07-29 17 24 48.png

使用脚本后,可以显示一个图标了。
Code::Blocks Developer, OpenCV Chinese forum moderator, Interest in GCC, GDB and other Free/Libre software, robotics, Computer vision.
ollydbg23
火狐狸
火狐狸
  • UID27913
  • 注册日期2009-02-05
  • 最后登录2018-09-26
  • 发帖数107
  • 经验25枚
  • 威望0点
  • 贡献值12点
  • 好评度2点
  • 社区居民
  • 忠实会员
2楼#
发布于:2013-07-29 17:02
fang5566:这个行不?
http://userstyles.org/styles/17978/show ... aceholders
回到原帖

多谢大牛,你提供的这个方法我还真不知道怎么用,在你给我回复的时候,我找到了一个使用GreaseMonkey里面的脚本的方法。谢谢。
Code::Blocks Developer, OpenCV Chinese forum moderator, Interest in GCC, GDB and other Free/Libre software, robotics, Computer vision.
游客

返回顶部