Welcome Guest Search | Active Topics | Sign In | Register

EO.WebBrowser IsScriptContextReadyChanged Gone? Options
Galloden
Posted: Thursday, July 9, 2015 8:21:49 PM
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 =]
eo_support
Posted: Thursday, July 9, 2015 8:40:43 PM
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.aspx

Hope this helps. Please feel free to let us know if you still have any more questions.

Thanks!
Galloden
Posted: Thursday, July 9, 2015 11:19:31 PM
Rank: Newbie
Groups: Member

Joined: 4/7/2015
Posts: 8
I will try this, thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.