AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Zurück Delphi-PRAXiS Programmierung allgemein Netzwerke Delphi get only HTML - no images
Thema durchsuchen
Ansicht
Themen-Optionen

get only HTML - no images

Ein Thema von mr_fahrrad · begonnen am 18. Jan 2007 · letzter Beitrag vom 20. Jan 2007
Antwort Antwort
mr_fahrrad

Registriert seit: 28. Dez 2006
46 Beiträge
 
#1

get only HTML - no images

  Alt 18. Jan 2007, 00:04
how i make to DONT load images in webbrowser?
  Mit Zitat antworten Zitat
flossinger

Registriert seit: 22. Aug 2005
Ort: südlich der Alpen
109 Beiträge
 
Delphi 5 Standard
 
#2

Re: get only HTML - no images

  Alt 20. Jan 2007, 10:03
Filter the HTML of the loading page, and replace the img tags. Either you simply delete them or you replace the pointed brackets with the sequences of characters "ampersand l t semicolon" and "ampersand g t semicolon" respectively - witout the quotes and without the spaces.

der flossinger
  Mit Zitat antworten Zitat
marabu

Registriert seit: 6. Apr 2005
10.109 Beiträge
 
#3

Re: get only HTML - no images

  Alt 20. Jan 2007, 16:35
Hi,

to keep a webbrowser instance from downloading images you will have to implement a host control with an IDispatch interface. The method Invoke() must handle the event id DISPID_AMBIENT_DLCONTROL. This event id is sent from the WB control to the host to request the download options, once at startup and always when informed of changes.
read more

You sure could cut corners by downloading the EmbeddedWebBrowser component, which has all this and more accessible in your object inspector.

Have fun.
  Mit Zitat antworten Zitat
Antwort Antwort


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 00:02 Uhr.
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz