[webkit-gtk] window.webkit undefined?
antonio at vieiro.net
Wed Jan 25 09:37:11 PST 2023
First of all: apologies if this is not an appropriate mailing list for
questions about the webkit-gtk API. In this case, would you please point
me to a proper one?
The fact is that I'm trying to receive messages from a <script> in my
webpage through the "window.webkit.messageHandlers.XYZ.postMessage()"
call, as indicated in , but "window.webkit" is undefined.
How so? Has this changed somehow?
Thanks in advance,
NOTE: I've already
a) set up a signal callback to "script-message-received::XYZ"
b) and registered a message handler with
More information about the webkit-gtk