get only HTML - no images
how i make to DONT load images in webbrowser?
|
Re: get only HTML - no images
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 |
Re: get only HTML - no images
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. |
Alle Zeitangaben in WEZ +1. Es ist jetzt 05:40 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