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

From: Artyom Bologov <mail_AT_aartaka.me>
Date: Mon, 21 Apr 2025 00:04:29 +0400

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
Received on Sun Apr 20 2025 - 22:04:29 CEST

This archive was generated by hypermail 2.3.0 : Sun Apr 20 2025 - 22:12:40 CEST