德尔福。如何监控 IE 正在下载的 URL?

发布于 2024-09-04 02:58:35 字数 125 浏览 6 评论 0原文

当您在 IE 中打开页面时,它会下载大量文件,包括 CSS、脚本、图片、SWF 等。我需要开发一个小插件来监视所有这些 URL,并保存到文件中。

我在 Delphi 中需要它,但是任何其他编程语言的任何示例都将非常感激。

When you're opening page in IE it downloads lots of files, including CSS, scripts, pictures, SWFs, etc. I need to develop small plugin which will monitor all these URLs and let's say save to file this list.

I need it in Delphi, but any example in any other programming languages will be really appreciated.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

能否归途做我良人 2024-09-11 02:58:35

即使是 BHO 也不能很好地解决这个问题。从技术上讲,您可以编写一个使用 APP 包装器包装 HTTP 和 HTTPS 协议的 BHO,但这不受支持,会导致性能和崩溃问题,而且非常困难。

如果您使用 .NET,您可以非常轻松地托管 FiddlerCore (www.fiddler2.com/fiddler/core/),并且您可能可以用 Delphi 包装它,但这更多的是用于测试而不是生产用途。

Even a BHO won't really work very well for this. Technically, you could write a BHO that wraps the HTTP and HTTPS protocols using an APP-wrapper, but this is unsupported, causes performance and crashing problems, and is very hard.

If you're using .NET, you can pretty easily host FiddlerCore (www.fiddler2.com/fiddler/core/) and you could probably wrap it with Delphi, but this is meant more for testing than production use.

亣腦蒛氧 2024-09-11 02:58:35

您需要创建一个浏览器帮助对象(BHO)。我会为您重新标记问题。这是对标记为 BHO 的问题的 SO 搜索:
https://stackoverflow.com/questions/tagged/bho

You need to make a Browser Helper Object (BHO). I'll re-tag the question for you. Here's a SO search for questions tagged BHO:
https://stackoverflow.com/questions/tagged/bho

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文