471,321 Members | 1,974 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,321 software developers and data experts.

dotnet 2.0 webbrowser control

I am trying to figure out a way to get a list of URL that my webbrowser
control has accessed, including images, javascript files, and download
files. Some of the urls I am trying to capture are obscured in
javascript so looping through the documents links is not good enough. I
tried the filedownload event but I could not figure out how to get a
url from it, and it does not fire on everything. Any ideas?

Dec 16 '05 #1
3 1659
Any ideas anyone?

Dec 16 '05 #2
On 15 Dec 2005 21:42:37 -0800, "Robert Skidmore"
<ro*************@gmail.com> wrote:
I am trying to figure out a way to get a list of URL that my webbrowser
control has accessed, including images, javascript files, and download
files. Some of the urls I am trying to capture are obscured in
javascript so looping through the documents links is not good enough. I
tried the filedownload event but I could not figure out how to get a
url from it, and it does not fire on everything. Any ideas?


All I can think of would be to parse through each HTML page looking
for embedded URLs. The web-browser control can give you the text of
each page as a string.

For Java you are going to have to parse the Javascript files as well.

Not a trivial task I fear.

rossum

--

The ultimate truth is that there is no ultimate truth
Dec 16 '05 #3
That's what I was afraid of. Maybe I should just write some kind of
proxy application for http to intercept each request instead. Thanks

Dec 16 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

9 posts views Thread by ASP .NET Newbie | last post: by
reply views Thread by Jim Hubbard | last post: by
8 posts views Thread by Prosperz | last post: by
2 posts views Thread by jasonhartsoe | last post: by
11 posts views Thread by Anil Gupte | last post: by
4 posts views Thread by Steve Richter | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.