Re: [hackers] [surf] [PATCH] Introduce JavaScriptMarkup option (limit site JS w/o user JS)

From: Quentin Rameau <quinq_AT_fifth.space>
Date: Mon, 21 Apr 2025 09:13:44 +0200

Hi,

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

I have a local patch for this, but that's still ugly,
because then you have to deal with freaking Glib Variant.
Received on Mon Apr 21 2025 - 09:13:44 CEST

This archive was generated by hypermail 2.3.0 : Mon Apr 21 2025 - 09:24:41 CEST