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.
_______________________________________________
webkit-help mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-help

Reply via email to