Quentin, >>> > I think that's fine, as this was kind of happening before anyway, >>> > and if we can remove that IPC between main and ext through >>> > ugly glib, the better. >>> >>> Not sure I get this one. Why glib? >> >> Because of the need for integrating into the main gtk loop, >> look at the whole GIO madness (which doesn't work well too) >> from pageusermessagereply().
Actually, why not use webkit_web_view_send_message_to_page? https://webkitgtk.org/reference/webkitgtk/unstable/method.WebView.send_message_to_page.html Thanks, -- Artyom Bologov https://aartaka.me