Hi Guys,
is there a way to inject this javascript
through webview?
i'm trying different ways
but it seems missing a lib
or
using webview extra lib
or also
in process global
dim webview1 as webviewextra
and inside a button
but none of these ways is working...
what am i doing wrong? :\
is there a way to inject this javascript
B4X:
$("button[aria-label='fullscreen']").click();
through webview?
i'm trying different ways
B4X:
Dim no As NativeObject = WebView1
no.RunMethod("stringByEvaluatingJavaScriptFromString:", Array("$("button[aria-label='fullscreen']").click();"))
or
B4X:
WebView1.LoadUrl("$("button[aria-label='fullscreen']").click();")
using webview extra lib
or also
in process global
dim webview1 as webviewextra
and inside a button
B4X:
Javascript = $"$("button[aria-label='fullscreen']").click();"$
WebView1.executeJavascript(Javascript)
but none of these ways is working...
what am i doing wrong? :\