emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: XWidget/WebKit: Getting Web Content From Webkit To Emacs


From: Vasilij Schneidermann
Subject: Re: XWidget/WebKit: Getting Web Content From Webkit To Emacs
Date: Mon, 25 Jan 2016 12:14:35 +0100

> 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]