dotnet 2.0 webbrowser control

  • Thread starter Thread starter Robert Skidmore
  • Start date Start date
R

Robert Skidmore

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?
 
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
 
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
 
Back
Top