Leni Berry Active Member Licensed User Longtime User Oct 2, 2017 #1 Example as described here use a WebViewExtras library. My project use WebViewExtras2 library. i dont know how to use .addJavascriptInterface using WebViewExtras2 library. any example how to use it with .addJavascriptInterface? Especially for getting source code of webpage.
Example as described here use a WebViewExtras library. My project use WebViewExtras2 library. i dont know how to use .addJavascriptInterface using WebViewExtras2 library. any example how to use it with .addJavascriptInterface? Especially for getting source code of webpage.
Erel B4X founder Staff member Licensed User Longtime User Oct 2, 2017 #2 If you are trying to access a public page (no need to sign in) then the simplest way to get the source is with OkHttpUtils2. Upvote 0
If you are trying to access a public page (no need to sign in) then the simplest way to get the source is with OkHttpUtils2.
Leni Berry Active Member Licensed User Longtime User Oct 2, 2017 #3 no.. my code start with WebView1.LoadHtml(strHTML). I put some javascripts inside to calculate document.body.scrollheight. Upvote 0
no.. my code start with WebView1.LoadHtml(strHTML). I put some javascripts inside to calculate document.body.scrollheight.
Erel B4X founder Staff member Licensed User Longtime User Oct 2, 2017 #4 I'm not really familiar with WebViewExtras2 however based on the documentation there is a WebViewExtra type there: http://b4a.martinpearman.co.uk/webviewextras/WebViewExtras2.html Upvote 0
I'm not really familiar with WebViewExtras2 however based on the documentation there is a WebViewExtra type there: http://b4a.martinpearman.co.uk/webviewextras/WebViewExtras2.html