473,406 Members | 2,894 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

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

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 <scripttag). 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

Oct 7 '06 #1
2 1552
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.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"VeNoM00" <ve*************@gmail.comwrote in message
news:11**********************@c28g2000cwb.googlegr oups.com...
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 <scripttag). 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

Oct 7 '06 #2
VeNoMoo

You can use this one, be aware that it is a HTML file, not a webpage, that
can exist from different frames.

http://groups.google.com/group/micro...1e3d33d337e3b1

I hope this helps,

Cor

"VeNoM00" <ve*************@gmail.comschreef in bericht
news:11**********************@c28g2000cwb.googlegr oups.com...
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 <scripttag). 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

Oct 8 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Scott A. Keen | last post by:
Hi, I'm getting tasked with writing an ASP application deployed throughout the company's intranet where all the workstations will be running Internet Explorer 6.0. It's a retail business, and...
2
by: Ofer Lavi | last post by:
Hi, I am trying to build an activeX that, if missing, will be downloaded and setup automatically on the client's browser (internet explorer). Using VB6, it was easy, using the <Object> tag,...
6
by: Marc | last post by:
How could I directly trigger a very simple on localhost and a known port listening server from my internet browser client? Local host means the little server would be running on the client machine,...
21
by: Joe Attardi | last post by:
Hey all! I was reading over at the IE Blog the other day http://http://blogs.msdn.com/ie/] and read some interesting, and encouraging news. According to Sunava Dutta, an IE Program Manager,...
0
by: VeNoM00 | last post by:
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 <scripttag). I tried to realize a proxy server...
3
by: bharath.0523 | last post by:
hi, I have developed a multithreaded MFC activeX control, which i host on the Internet Explorer. when i click on the close button of the Internet Explorer i.e., when the user decides to end the...
11
by: ft310 | last post by:
Use Internet Explorer go to http://rhodeisland-aa.org/tester/meetings/index.htm On the left click "and go to meetings" Click any address in the right hand 'location' column. The entire page...
1
by: alpana.dhole | last post by:
I have made a ActiveX control for commericial application. A Drag and Drop component for Mail server. I need to host the component in Internet Explorer. When a user opens a mail it should...
26
by: Prisoner at War | last post by:
Hi, All: I have a JavaScript search engine that always causes MSIE 7 to do a top-of-page security "warning" (that top-of-page-bar, and not an "alert" )...but other websites' JavaScripts do not...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.