BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

TWebBrowser - Can I change data on a webpage being retrieved

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Winsock
View previous topic :: View next topic  
Author Message
Daniel Hobert
Guest





PostPosted: Mon Dec 20, 2004 7:45 pm    Post subject: TWebBrowser - Can I change data on a webpage being retrieved Reply with quote



Hi All,

I'm wondering if it is possible to change a webpage as it comes in if, for
example, it contains text/images, etc that are undesirable. I'd like to be
able to replace the undesirable text/images, etc with text/images of my own
but I can't seem to figure out how ... or more properly when, to do it. It
seems like doing it on OnDocumentComplete or OnDownloadComplete would be too
late because the data has already been downloaded for that piece of the
page.

Does anyone know if this is even possible?

Thanks.

Cheers,

Daniel Hobert


Back to top
Andrew Ryazanov
Guest





PostPosted: Tue Dec 21, 2004 10:02 pm    Post subject: Re: TWebBrowser - Can I change data on a webpage being retri Reply with quote



"Daniel Hobert" <daniel (AT) cyberspacehq (DOT) com> wrote

Quote:
I'm wondering if it is possible to change a webpage as it comes in if, for
example, it contains text/images, etc that are undesirable. I'd like to
be
able to replace the undesirable text/images, etc with text/images of my
own
but I can't seem to figure out how ... or more properly when, to do it.
It
seems like doing it on OnDocumentComplete or OnDownloadComplete would be
too
late because the data has already been downloaded for that piece of the
page.
Does anyone know if this is even possible?

Yes, you can. Use IDocHostUIHandler.FilterDataObject from TEmbeddedWb
(http://www.euromind.com/iedelphi/)



Back to top
Daniel Hobert
Guest





PostPosted: Mon Jan 03, 2005 4:59 pm    Post subject: Re: TWebBrowser - Can I change data on a webpage being retri Reply with quote



Hi Andrew,

Thanks for the suggestion there. I'm going to look into it. Is there any
chance I could get you to expand on it's use a bit though?

Cheers,

Daniel Hobert


"Andrew Ryazanov" <aust (AT) rin (DOT) ru> wrote

Quote:
"Daniel Hobert" <daniel (AT) cyberspacehq (DOT) com> wrote in message
news:41c72bc8$1 (AT) newsgroups (DOT) borland.com...
I'm wondering if it is possible to change a webpage as it comes in if,
for
example, it contains text/images, etc that are undesirable. I'd like to
be
able to replace the undesirable text/images, etc with text/images of my
own
but I can't seem to figure out how ... or more properly when, to do it.
It
seems like doing it on OnDocumentComplete or OnDownloadComplete would be
too
late because the data has already been downloaded for that piece of the
page.
Does anyone know if this is even possible?

Yes, you can. Use IDocHostUIHandler.FilterDataObject from TEmbeddedWb
(http://www.euromind.com/iedelphi/)





Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Winsock All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.