[webkit-gtk] Get result of JavaScript execution

Михаил Лапшин sotakone at sotakone.com
Fri May 14 01:32:30 PDT 2010

OK, seems like my first idea with console.log is not so bad.

On 13 May 2010 18:57, David P. Reed <dpreed at reed.com> wrote:
> Updating the window title is a semi-standard approach used for reflecting
> data back to the embedding program from Javascript.
> One could also directly "POST" a result to a webserver on a network port
> that is based on the same machine as the webkit-gtk processor.
> On 05/13/2010 08:12 AM, Михаил Лапшин wrote:
> Hi.
> Maybe it is a FA question, but I didn't found any answer in Google. I
> need to execute javascript and receive it's response (or result) in my
> C code. The only solution I found is write result to console (using
> console.log) and then receive it in 'console-message' signal. However,
> this solution seems a bit hacky.
> Any suggestions are welcome.
> _______________________________________________
> webkit-gtk mailing list
> webkit-gtk at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-gtk

More information about the webkit-gtk mailing list