[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: XWidget/WebKit: Getting Web Content From Webkit To Emacs
From: |
joakim |
Subject: |
Re: XWidget/WebKit: Getting Web Content From Webkit To Emacs |
Date: |
Mon, 25 Jan 2016 12:34:21 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
Vasilij Schneidermann <address@hidden> writes:
>> Sadly there wasn't a good function for returning values from webkit in
>> their api when I wrote the code. I haven't checked if that situation has
>> changed recently. The return value is pased by setting the
>> document.title. Ahem... I'm not sure about the limits of this mechanism,
>> it has been working for the things I've done anyway.
>
>
> This is still the case for webkit1gtk, webkit2gtk however introduced
> the functions webkit_web_view_run_javascript and
> webkit_web_view_run_javascript_finish which allow you to evaluate
> JavaScript asynchronously and retrieve the return value once it's
> done.
Thanks for this information! I will try it out once things have stabilized.
--
Joakim Verona