Is there a way to somehow trick the server that HttpCli is javascript enabled?

You have to look at the HTML page which does the check. In that page, a javascript script do something to send something back to the server to signal javascript is here, or the javascript do some redirection so that the user see the next page automatically. Without javascript the user simply see the page which contain the message.

In other words: you don't need javascript but you need to understand what is done using javascript and do the same with Delphi code.

--
francois.pie...@overbyte.be
The author of the freeware multi-tier middleware MidWare
The author of the freeware Internet Component Suite (ICS)
http://www.overbyte.be


----- Original Message ----- From: "Azrin Aris" <azrin_a...@yahoo.com>
To: "ICS support mailing" <twsocket@elists.org>
Sent: Wednesday, August 12, 2009 2:53 AM
Subject: Re: [twsocket] THttpCli and Javascript


My aim of using THttpCli is to open a page and collect the information from there (Getting information from Modem WebGUI). I have no problem with pages without javascript. Actually I do not have to interpret the script at all, the only thing is when the page detects that I have no javascript capability, then I'm stuck.

Is there a way to somehow trick the server that HttpCli is javascript enabled?


On Aug 12, 2009, at 7:50 AM, Darin McGee wrote:

The THttpCli does NOT have built in Javascript support, it is simply a
basic HTTP client NOT a full blown browser.

-----Original Message-----
From: twsocket-boun...@elists.org [mailto:twsocket-boun...@elists.org]
On Behalf Of Azrin Aris
Sent: Tuesday, August 11, 2009 7:17 PM
To: ICS support mailing
Subject: Re: [twsocket] THttpCli and Javascript

But I already did :(

On Aug 12, 2009, at 2:15 AM, Francois PIETTE wrote:

I'm quite new to ICS THttpCli and now trying the THttpCli example.
I  just try to open a website but what I got is     <noscript>You
must  enable JavaScript in your browser.</noscript>.
My question is how can I enable JavaScript in HttpCli?

You don't have to enable JavaScript in HttpCli ! You have to enable
JavaScript in your BROWSER (that is IE, FireFox,...).

--
francois.pie...@overbyte.be
The author of the freeware multi-tier middleware MidWare
The author of the freeware Internet Component Suite (ICS)
http://www.overbyte.be

--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


__________ Information from ESET Smart Security, version of virus
signature database 4327 (20090811) __________

The message was checked by ESET Smart Security.

http://www.eset.com



__________ Information from ESET Smart Security, version of virus
signature database 4327 (20090811) __________

The message was checked by ESET Smart Security.

http://www.eset.com

--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to