🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Indy TdHTTP and Javascript

#3078
From: Don
Date: Wed, 16 Nov 2005 05:16
20 lines
1550 bytes
>I would like to know if its possible for TdHttp to get a web page 
>containing javascript...

Yes, just like any other resource with a URL.

> will it run the script ?

No.  In Indy, TIdHTTP is just an HTTP transport.  For that you need an HTML 
parser and a Javascript engine... both are outside the scope of Indy.

> then pass on the actual html generated from the javascript ?

Why not use TWebBrowser... it has that capability already.

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

See above...

hth... 
Technical Details
Message-ID: <437ac0e3$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!news-out.newsfeeds.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!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: "Don" <blacknapkin@twistandfruge.com>
Newsgroups: borland.public.cppbuilder.internet.socket
References: <437a505e$1@newsgroups.borland.com>
Subject: Re: Indy TdHTTP and Javascript
Date: Wed, 16 Nov 2005 00:16:06 -0500
Lines: 22
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Response
NNTP-Posting-Host: 71.9.158.33
Message-ID: <437ac0e3$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1132118243 71.9.158.33 (15 Nov 2005 21:17:23 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!news-out.newsfeeds.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail