Click here to Skip to main content
15,886,199 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
i want to see which website is open in which browser on a computer and show it in a table like

IE - xyz.com
IE - abc.com
mozilla - ab1.com
chrome - ab2.com

etc

browser can be any, mozilla, IE, opera, cometBird etc

one way to implement it is by sniffing IP packets, but thats very crude way. can anyone help and suggest some good way of doing
Posted
Comments
Sergey Alexandrovich Kryukov 2-Mar-12 10:00am    
Not clear. Is it the code on each of those sites, or on the host running all those browsers. Makes no sense, anyway...
--SA

1 solution

The only way to do that is the "crude way" as you call it. It's called a proxy server. The proxy can get the browser information from the request headers.

There is no single way to get the URLs for every web browser out there by hunting down controls in windows or going through COM interfaces. Did you know there are about 40 different browsers out in the wild??
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900