views:

94

answers:

2

gud day!.

i am to develop a system that would simply list all URL accessed in a browser with its response time. my probtion is alem is this applica standalone program(not a plug-in to a certain browser) written in c++. every time a user browse, the program then performs certain method.

so it is like, my program would listen to the browsers events. i dont know how to create an EVEN SINK implemetation for the above mention event in web browsers like Internet explorer, mozilla firefox and google chrome.

any suggestion, advise or idea i cant get from you for me to be able to start the development. any areas i need to focus in studying.

thanks alot for your time! hope for your response!:)

best regards!

A: 

The easiest way to achieve what you need is intercepting network traffic and extracting URLs from HTTP packets. You can do this in many ways, e.g.:

  • using WinPCAP/libPCAP libarary
  • modifying LSP stack
  • intercepting winsock functions calls
Oleg
A: 

If you're on the Windows platform, I think your best shot is using the MSAA interface, which is supported by all three browsers.

Documentation:

MSDN Overview and C++ API

Firefox statement of support for MSAA

Chrome

You could take a lower-level approach (such as an LSP), but they're much harder to debug.

egrunin