Something like:


webView.evaluateJavascript("document.createElement(...);", new
ValueCallback<String>() {

    public void onReceiveValue(String value) { }

});



You'll have to work out the Javascript you want to call
yourself. I have a Javascript programmer in the next room that
writes the code to do whatever I need; I don't really know what
I'm doing there. But its just regular web Javascript, nothing
fancy.



On Thu, 9 Oct 2014, at 10:32 AM, Farhad Ahmadi wrote:

Thanks for your replay
But how can i for example to add child html element to loaded
page?
Best regards


On Thu, Oct 9, 2014 at 1:11 AM, Robert Norris
<[1][email protected]> wrote:

On Thu, 9 Oct 2014, at 08:36 AM, Farhad Ahmadi wrote:

I'd like to manipulate "page source" (web page) after it has
loaded in embedded XWalkView.
Anybody know how can i do this?


In your onPageLoadStopped, call evaluateJavascript.

Rob N.



_______________________________________________

Crosswalk-help mailing list

[2][email protected]

[3]https://lists.crosswalk-project.org/mailman/listinfo/crosswa
lk-help

References

1. mailto:[email protected]
2. mailto:[email protected]
3. https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help
_______________________________________________
Crosswalk-help mailing list
[email protected]
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help

Reply via email to