[webkit-gtk] evaluateJavascript() ?

Martin Robinson martin.james.robinson at gmail.com
Thu Jun 10 10:43:43 PDT 2010


On Thu, Jun 10, 2010 at 10:38 AM, Diego Escalante Urrelo
<diegoe at gnome.org> wrote:
> webkit_web_view_execute_script (view, const char *script);

Also, if you need to execute JavaScript in a particular frame, you can connect
to the window-object-cleared signal and use the JavaScriptCore API to execute
scripts against the JSGlobalContextRef. Here's a link to the documentation:

http://developer.apple.com/mac/library/documentation/Carbon/Reference/WebKit_JavaScriptCore_Ref/JSBase_h/index.html#//apple_ref/c/func/JSEvaluateScript

Martin


More information about the webkit-gtk mailing list