Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Binding Web browser
Message
 
À
24/08/2003 05:32:32
Thomas Ganss (En ligne)
Main Trend
Frankfurt, Allemagne
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00822402
Message ID:
00823141
Vues:
22
>Hi Rick,
>
>

>>I'm not sure. You can retrieve the document and possibly before you show it >you can modify it. You can scan all image links and if you can determine >them to come from another site disable them. This wouldn't be terribly >difficult to do.
><\pre>
>
>I believe this to be the wrong approach. While the disabling part should work, you would have to load the site from your machine. If there are any links left (for instance frames which you want to be shown) these will then be coming from a different domain. If they are adressed relativly in the HTML, they won't work since you don't have these files on your machine, and if they are called with with the UNC you might run into security hassles because of cross domain scripting.
>
>I think, a better approach wold be to add a pluggable protocol between receiving and rendering, or make the firewall smarter. Any leftover advertisements could be handled by "your" version of IE, by canceling any navigation in BeforeNavigate2 according to a blacklist for instance.

Well yes, if you go outside of IE to handle this you'll have a much easier time, but htis is not really a good imp[lementation option for a VFP application.

>BTW: just read the article: congratulations for showing many faces of IE with examples and "common sense" reasons to use (Why couldn't you write that one 3 years ago <g> ? It would have spared me many hours back then!). I haven't looked at the IE recently, but the hint on execWB(4,0) was something I had looked for and had not found or read somewhere else for quite some time. How did you find that one ?

I did write a good part of this 3 years ago <g>. It is in my Internet Applications book. I republished some of this material with more additional information and many more examlpes now though because I keep seeing a lot of questions about this stuff.

I've used the WebBrowser ActiveX control extensively in my applications so I've figured out a few things. Basically all of the IE functionality is there so if you can do it with the UI you can probably do it via code...







>
>Regards,
>
>Thomas
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform