Communicating with a web page inside a web view using javascript
Communicate with a web page within a web view using JavaScript and find html5 elements. I have tried code that executes JavaScript, but I want to communicate with the web page or check for changes to the web page and elements inside the webview using JavaScript, like IDM Extension, Web Browser Extension. How can I achieve this?
+3
source to share
1 answer
You need to use Javascript Bridge like here:
http://android-er.blogspot.com/2011/10/call-javascript-inside-webview-from.html
or here:
https://labs.mwrinfosecurity.com/blog/2014/06/12/putting-javascript-bridges-into-android-context/
+1
source to share