read the contents of Address bar in browser

  • Thread starter Thread starter kmercer46
  • Start date Start date
K

kmercer46

Hi

Is there any way in VB.net using which I can read the content of
Address bar in browser so that I can find out currently which web site
is loaded in browser.


Thanks
 
Is there any way in VB.net using which I can read the content of
Address bar in browser so that I can find out currently which web site
is loaded in browser.

Which browsers do you need to support? I don't think there's a general
way to do it that will work for all browsers. But it's pretty easy to
do for IE, it has a nice automation object model.



Mattias
 
Not sure what you mean ?

If this is your site you can get this information server side (using
VB.NET). Else you have to get this client side (using JavaScript) but the
script has to be loaded by your site...

If you meant any site that the user browses you can't of course for privacy
(if they were not technical) reasons...
 
Back
Top