【问题标题】:What is making the request for tis image file? [closed]什么是请求 tis 图像文件? [关闭]
【发布时间】:2013-09-11 11:38:58
【问题描述】:

如果我检查网络活动(使用 Google Chrome 检查器)以服务 this page,我注意到一个名为 close.gif 的文件的请求无法找到。

这个文件请求的奇怪之处首先是请求的发起者被列为“其他”——在大多数其他情况下,发起者与原始请求的域名相同。接下来,我 grepped the entire source tree 并在其中的任何地方都找不到 close.gif

任何有关识别此静态 html 站点的哪个方面正在发起对该未知文件的请求的帮助表示赞赏。

【问题讨论】:

  • 来自添加插件。

标签: html google-chrome google-chrome-devtools


【解决方案1】:
  1. 打开 chrome 检查器,
  2. 点击“元素”
  3. 按 [Ctrl]+[F]
  4. 键入“close.gif”
  5. 注意这一行:

    <div id="template04_close" style="display: none; padding: 0px; position: absolute; left: 163px; top: 0px; width: 20px; height: 20px; background-image: url(http://www.freegold.biz/supreme/close.gif); cursor: pointer; z-index: 10003; visibility: hidden; background-position: initial initial; background-repeat: no-repeat no-repeat;"></div>
    

    尤其是这部分

    background-image: url(http://www.freegold.biz/supreme/close.gif);
    
  6. 从免费黄金中获利。

【讨论】:

    【解决方案2】:

    它是从广告插件加载的。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2012-11-01
      • 2011-05-28
      • 1970-01-01
      • 2015-08-15
      • 1970-01-01
      • 2012-12-06
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多