Rank: Newbie Groups: Member
Joined: 4/7/2015 Posts: 8
|
I just updated to the newest version of the EO.WebBrowser to utilize the new chrome engine and updates, looks great! However one handler has gone missing that we were using to initiate scripts. The IsScriptContextReadyChanged handler was removed from the WebView. Do we have the reason why this was removed and how would we now go about finding the correct time to start registering my javascript functions (before any page based scripts are executed).
Thanks =]
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Hi, You can use WebView.JSInitCode to specify the code that you wish to run before everything else. You can also use QueueScriptCall to run JavaScript as soon as the engine is ready: http://www.essentialobjects.com/doc/eo.webbrowser.webview.queuescriptcall_overloads.aspxHope this helps. Please feel free to let us know if you still have any more questions. Thanks!
|
Rank: Newbie Groups: Member
Joined: 4/7/2015 Posts: 8
|
I will try this, thanks!
|