Internet Explorer ActiveX and filtering the html before it arrives to the browser

  • Thread starter Thread starter VeNoM00
  • Start date Start date
V

VeNoM00

Hello, i have a WebBrowser imported form SHDocVw and i need to filter
the data before it arrives to the browser (for example i want to delete
all the <script> tag). I tried to realize a proxy server but it's hard
and i don't like this idea. I also tought of reading the file written
in the temporary folder but i don't like neither this idea.
Does anybody know another way? Maybe a way to get control on the tcp/ip
connection that the IE AX creates?

Thanks in advance
 
The easy way is to write the file to a temp folder. I can understand
the desire to not use that mechanism though.

However, in order to intercept the download stream that the webbrowser
control is using, you would have to create an implementation of IMoniker
which would handle the URL scheme and then perform the downloading that you
are looking to do.

Hope this helps.
 

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

Back
Top