[Please don't cross post on webkit-dev & webkit-help. If it does not involve developing WebKit itself, webkit-dev should not be included.]
2011/6/20 achellies <[email protected]>: > you can call as the following: [snipped code] > anyone help me, how to call JavaScript function from webkit and give the > example code.. Achellies gave you a way using the API inside WebCore. There is no guarantee that the API will stay stable over time as WebCore is internal is under heavy development. Unless the code is internal to WebKit, I would advice not to use that. Depending on the port of WebKit, you are using there may be another way (see http://www.webkit.org/asking_questions.html). There is a way to inject user scripts into the current page but it needs to be exposed to the API. Some ports also expose the C++ <-> JavaScript bridge (mostly useful if you control the page you load). Finally if you use only the JS engine, JSC and V8 have a way to do that. Hope it helps, Julien _______________________________________________ webkit-help mailing list [email protected] http://lists.webkit.org/mailman/listinfo.cgi/webkit-help
