A
A
Alexander Batukhtin2010-09-15 11:08:39
C++ / C#
Alexander Batukhtin, 2010-09-15 11:08:39

How to find out from a windows application which site is open?

C#. There is a program that should respond to the opening of sites from a specific list. How to find out what the user has in the browser?

You can search by the title of the window, but it's not true.

You can read the url from the address bar (for ie, the process is described here - maybe it's interesting to anyone), but there you need to know the names of the classes, and spy ++ only shows them in ie and chrome.

Are there any other options?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
schursin, 2010-09-15
@0lorin

Hook network functions and analyze HTTP traffic.
It is not so difficult and the addresses where the user goes will show 100%.

A
Alexander, 2010-09-15
@0lympian

If invisibility (and protecting the user from easily bypassing this matter) is not needed, then you can still make a local proxy server and register it in the browser. Some banner cutters and traffic dampers work on this principle.

Y
Yaroslav Savchenko, 2014-07-07
@Sylion

Or so stackoverflow.com/questions/3579649/get-url-from-b...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question