[webkit-help] extend javascript inside iframes, and hide cursor
scostas
scostas at det.uvigo.es
Tue Jul 14 09:52:50 PDT 2009
Hi:
> In the code you pasted:
>> WebKitWebFrame* frame = webkit_web_view_get_main_frame (web_view);
> This line always retrieves the main frame of the WebView. If you want to
> add your object to the global object of an iframe, you need to get the
> WebKitWebFrame* corresponding to that iframe.
I found it, yes. The problem was that I incorrectly defined the
callback header (I copied it from the one used for notify::progress);
that's why I was not able to find the WebFrame variable.
Thanks.
More information about the webkit-help
mailing list