dotnet 2.0 webbrowser control


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?
 
Ad

Advertisements

R

rossum

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
 
Ad

Advertisements

R

Robert Skidmore

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top