|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
read the contents of Address bar in browserHi
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 Which browsers do you need to support? I don't think there's a general>Address bar in browser so that I can find out currently which web site >is loaded in browser. 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 -- Mattias Sjögren [C# MVP] mattias @ mvps.org http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com Please reply only to the newsgroup. 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... -- Show quoteHide quotePatrice <kmerce***@yahoo.com> a écrit dans le message de news:1138035617.347451.297840@g44g2000cwa.googlegroups.com... > 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 > Hi,
http://msdn2.microsoft.com/en-us/library/ms171712.aspx The word for this is Uri, it exist in more flavours. Document.Url and more. It is a part of the Document Object Model for HTML which is used by all modern browsers. I hope this helps, Cor
AMD/Dual-Core/64 bit: influence on compiled files? - Clients?
change IFRAME src disable Close button (X) Application doesn't close on Shut Down - Please help! Using pulldownlist in datagridview .. can it be done! Inserting text at the beginning of an existing text file Update error Intern Strings - am I using them right? Please help! Marking a changed row PrintLine vs. WriteLine |
|||||||||||||||||||||||