defaultjavascriptinterface

  1. practicalsoft

    B4X FEED [B4X] Auto Height Webview

    For B4i: Run this JavaScript code after the page is loaded: Sub webview_PageFinished (Success As Boolean, Url As String) wait for (webview.EvaluateJavaScript("document.documentElement.scrollHeight")) webview_JSComplete (Success As Boolean, Result As String) If Success Then...
  2. practicalsoft

    B4X FEED Auto Height Webview

    Dependency: WebViewExtras2 (v2.20) Add WebViewExtra and DefaultJavascriptInterface variable in Global Sub: Sub Globals Dim wve As WebViewExtras Dim jsi As DefaultJavascriptInterface End Sub Initialize WebViewExtra and DefaultJavascriptInterface before loading content in WebView...
عقب
بالا