Re: [twsocket] THttpCli and Javascript
Thanks, I'll try to get the page source. On Aug 12, 2009, at 1:38 PM, Francois PIETTE wrote: 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" To: "ICS support mailing" 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 You must enable JavaScript in your browser.. 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 -- 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
Re: [twsocket] THttpCli and Javascript
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" To: "ICS support mailing" 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 You must enable JavaScript in your browser.. 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
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 You must enable JavaScript in your browser.. 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
Re: [twsocket] THttpCli and Javascript
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 You >> must enable JavaScript in your browser.. >> 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
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 You must enable JavaScript in your browser.. 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
Re: [twsocket] THttpCli and Javascript
Azrin Aris 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 You must > enable JavaScript in your browser.. > > My question is how can I enable JavaScript in HttpCli? > THttpCli implements HTTP, which is the Hyper-Text Transport Protocol. This is the communications protocol between the web server and client, which is only a very small part of a full-featured web browser. The parsing and rendering of HTML, the display of images, and the execution of JavaScript, plug-ins and other embedded objects; are strictly functions of the web browser, and outside the scope of THttpCli--and ICS in general. In practice, you would create an application--a custom web browser--that uses THttpCli to request and retrieve data to and from the HTTP server. Once the data is received, your application will consume it by using any other sort of mechanisms available to it to render or process this data. This could be a third-party rendering engine, such as Gecko or WebKit, or a custom made one. To support JavaScript you need a script engine that will parse and execute the script code. This topic is outside the scope of this mailing-list. However, here is a list of available scripting engines to give you an idea: http://en.wikipedia.org/wiki/List_of_ECMAScript_engines Note that some of these are proprietary or commercial technologies, and may not be readily available. -dZ. -- 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
Re: [twsocket] THttpCli and Javascript
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 You must enable JavaScript in your browser.. 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