On Fri, Feb 22, 2013 at 9:39 PM, Martin Robinson <[email protected]> wrote: > On Fri, Feb 22, 2013 at 4:28 AM, Christian Frost <[email protected]> wrote: > >> However, I use WebKit2 which may cause that my WebKitWebView does not >> have the "window-object-cleared" signal. Therefore it cannot be >> connected. I have tried to "hook" it to the "resource-load-started" >> with the following callback function: > > In WebKit2, the DOM lives in a different process, so if you want to > inject JavaScript objects you need to write a WebKitWebExtension [1]. > There's very little documentation around this subject, so I suggest > looking at the unit tests we have for it in the WebKit source > repository [2]. > > 1. http://webkitgtk.org/reference/webkit2gtk/unstable/WebKitWebExtension.html > 2. > http://trac.webkit.org/browser/trunk/Source/WebKit2/UIProcess/API/gtk/tests/TestWebExtensions.cpp > > --Martin
Is this present in WebKitGTK+ 1.10.0? Or is it only available in the latest unstable version? /Christian _______________________________________________ webkit-gtk mailing list [email protected] https://lists.webkit.org/mailman/listinfo/webkit-gtk
