unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: joakim@verona.se
To: Vasilij Schneidermann <v.schneidermann@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: XWidget/WebKit: Getting Web Content From Webkit To Emacs
Date: Mon, 25 Jan 2016 12:34:21 +0100	[thread overview]
Message-ID: <m3io2h51vm.fsf@exodia.verona.se> (raw)
In-Reply-To: <CAPGgwWRBRL3r2dc5r6yzwHiCXOXdtJx07u5MbMFrydZVH_=w1g@mail.gmail.com> (Vasilij Schneidermann's message of "Mon, 25 Jan 2016 12:14:35 +0100")

Vasilij Schneidermann <v.schneidermann@gmail.com> 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



  reply	other threads:[~2016-01-25 11:34 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-25 11:14 XWidget/WebKit: Getting Web Content From Webkit To Emacs Vasilij Schneidermann
2016-01-25 11:34 ` joakim [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-01-23 21:14 raman
2016-01-23 21:56 ` joakim
2016-01-25  1:42   ` Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3io2h51vm.fsf@exodia.verona.se \
    --to=joakim@verona.se \
    --cc=emacs-devel@gnu.org \
    --cc=v.schneidermann@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).