4

只是想看看我是否可以阻止 Watin / IE 加载图像,从而使整个过程变得更快?

4

1 回答 1

6

您可以通过 Internet Explorer 选项停止加载图像。

要在 IE 中禁用图像:

  1. 选择工具 -> Internet 选项
  2. 转到高级选项卡
  3. 向下滚动到设置部分多媒体
  4. 取消选中“显示图片”框

这也可以通过更改适当的注册表设置以编程方式实现。例如

RegistryKey ieKey = Registry.CurrentUser.CreateSubKey(@"Software\Microsoft\Internet Explorer\Main");
ieKey.SetValue("Display Inline Images", "no");
于 2009-08-14T06:23:05.537 回答