开发者

Delphi. How to monitor URLs being downloaded by IE?

开发者 https://www.devze.com 2023-01-01 05:09 出处:网络
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 开发者_如何学运维sa

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.


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.


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

0

精彩评论

暂无评论...
验证码 换一张
取 消