Hi Arto,
>Have you link to the msdn?
MSDN moves around as usual, so my old link went astray.
At least today I found it under
Q196340 HOWTO: Get the WebBrowser Object Model of an HTML Frame at
http://support.microsoft.com/support/kb/articles/q196/3/40.asp.
>There is also an easy way to prevent popups in VFP but popups are opened (visible) first. Even they are visible a split second it would be better to prevent/close popups before they are visible.
Are you hooking BeforeNavigate2 ?
Also, there was (at least under IE5) the possibility to hook into the scripting mechanism, but for my purposes it usually is enough to enable/disable scripting wholesale.
>In C and VB there is a easy way to do it with SetWindowsHookEx function but it needs callbacks and can't be used with VFP. Maybe that cross-frame have an answer?
The callback utility Sergey mentioned sounds interesting, but I haven't looked at it yet.
>Also real filtering (as packet filtering) can be done
An example of writing a pluggable protocol i c++ should be on my machine, (article from one of the MSHTML-Newsgroups AFAIR) if you need it, I can search for it.
>NDIS (see
http://www.ndis.com/papers/winpktfilter.htm#W2KPktFilterInterface) and it's not my goal at the moment.
Something new for me: thnx!
HTH
thomas