🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.socket
Article #3083

Re: Indy TdHTTP and Javascript

#3083
From: Remy Lebeau (TeamB)
Date: Wed, 16 Nov 2005 21:47
22 lines
1479 bytes
"Metro" <metro9999@lycos.co.uk.nospam> wrote in message
news:437a505e$1@newsgroups.borland.com...

> I would like to know if its possible for TdHttp to get
> a web page containing javascript

Yes.

> will it run the script ?

No.  That is the application's responsibility to do after the content has
been downloaded.  Web browsers do the same thing - download content and then
parse/process/execute it separately.

> If not how do you grab the source of the page generated
> from the javascript ?

You will have to run the Javascript yourself.


Gambit
Technical Details
Message-ID: <437ba8a7$3@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <437a505e$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,3132ea3b7f1c34d5
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.internet.socket
References: <437a505e$1@newsgroups.borland.com>
Subject: Re: Indy TdHTTP and Javascript
Date: Wed, 16 Nov 2005 13:47:35 -0800
Lines: 24
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 68.69.17.41
Message-ID: <437ba8a7$3@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1132177575 68.69.17.41 (16 Nov 2005 13:46:15 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail