I've been digging into extending the Javascript context associated with a
Webview, however I'm not sure that that public JS core APIs accomplish what
I want to achieve.
Ideally, I would like to extend the JS global object with my external (C++)
library routines so that any time a new WebView is
Hi Ross.
While I can grab the JSGlobalContext reference from a WebView's
mainFrame,
and subsequently use the public JS APIs to extend the underlying JS
global
object, I believe that subsequent WebView allocations will cause the
underlying JSGlobalObject to be reinitialized forcing me to
Thanks Geoff,
But I think I¹m still faced with the same problem. If I want ALL pages
associated with all possible WebViews to have access to my external
objects/properties, does this still not require me to reinitialize the
global object (via the context reference) at each page load? What I¹m
3 matches
Mail list logo