I need a c++ source code that has a function that can capture current url and title of firefox.
For example, if I am looking at [url removed, login to view] on firefox, the function should be able to return this url in char* or string.
If the source code needs external libraries, i shouldn't need to install them on my computer to compile the code.
I need it for a program that sends an email to me whenever my clients go to a specific website. It will reside on the trayicon. It is critical that whenever firefox loads up a webpage, my program needs to know about it. My program is based on MFC(not c#), so if you need to use callback function, that is fine.
Just for your information, Firefox don't use WIN32 API, it has own custom 'gadget' API. So getting text from Address Bar is not simple like find windows, get handle control, then get text.