Callback from javascript

LexxWork

Client
Регистрация
31.10.2013
Сообщения
1 190
Благодарностей
786
Баллы
113
Some times I need to evaluate javascrtipt on a page and have to wait until the value is returned into injectd dom element.
It's would be very helpful to be presented (and be used on demand) event listener in instance like an intstance.ActiveTab.MainDocument.onJavascriptDone and from a javascrtip injection must be callback function with name like a _callbackToZenno(data, errors).
In instance.ActiveTab.MainDocument.EvaluateScript must be added an optinal string parametr "callbackname" and use this name in javascript like a "_callbackToZenno".
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 707
Баллы
113
Added to IdeaCollector but it will not be implemented any time soon.
 

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)