First WebKit: a project called Chromium embedded (Chromium is basically a WebKit rendering engine and Javascript V8 engine), which also supports Delphi . After a quick look at the headers, I did not find a way to access the JS methods, but it allows you to execute javascript fragments in this frame:
// Execute a string of JavaScript code in this frame. The |script_url|
// parameter is the URL where the script in question can be found, if any. The
// renderer may request this URL to show the developer the source of the
// error. The |start_line| parameter is the base line number to use for error
// reporting.
execute_java_script: procedure(self: PCefFrame; const jsCode, scriptUrl: PWideChar; startLine: Integer); stdcall;
So there are parts, you just need to figure out how to copy them.
Gecko Delphi, d-gecko. , , , , Javascript.