B4A Question Help to find and inject some javascript code to set option to a stream player - Mattiaf    Nov 9, 2022 , startMuted = startMuted()
is there any way to inject some javascript in order to get the options I want... B4A Question Inject javascript through webview - William Lancee (first post)    Dec 25, 2022 Just responding because it is a quiet time on the Forum, and I want to help keep the question alive.
The form of your statement is using the jQuery library that is missing.
You should either convert it to plain JavaScript, or also inject the JavasSript code to load the jQuery library.
It has been a while since I used Javascript and jQuery, but I am sure there is someone who knows.... B4A Example Catch Webview Item's Longclick without late Javascript injection - fredo    Apr 17, 2019   (4 reactions) an external source, you have to inject a certain javascript after loading the page, which will be shown later...(FlingableWebViewAj1, 0, 0, 100%x, 100%y) Dim JavascriptInterface1 As DefaultJavascriptInterface JavascriptInterface1.Initialize(FlingableWebViewAj1) FlingableWebViewAj1.AddJavascriptInterface(JavascriptInterface1, "B4A") ' Enable a _PageFinished event... B4A Question WebView + Javascript injection launching on different threads - Charles Bib    May 22, 2020
I have an activity that uses webview extras to inject javascript and get the source HTML. It works great in debug... WebView1_PageFinished (Url As String)
' Call the javascript injection routine to get the HTML
WebView1... B4A Question Inject Javascript in webview - Mansour01    Oct 7, 2013 Hi
since yesterday i tried to understand how to inject some javascript (*.js) into a loaded url , but i can't figure it out how to do that , something that works like Greasemonkey .
can anyone do... B4A Question JavaScript injection before the page loading - kofiking (first post)    Oct 21, 2024 Private Sub WebkitWebView1_LoadResource (Url As String) 'Works from API level 1 and above.
' Inject JavaScript here'
End Sub... B4A Question Pass more than 3 arguments from B4A to WebView Javascript function - max123    May 31, 2024 created two releases of this app, one with Javascript injected using WebViewExtras.executeJavascript in... I put a ScrollView with a long EditText, here I write directly the Javascript code to be executed in... the EditText I do not see the HTML file, just the Javascript to put inside the HTML <script>... string with Javascript too and load it in the WebView, this work very well and just by changing the JS.... Now my problem is that I want integrate this inside my app and call from B4A the Javascript functions... B4A Question Measure content hight in webview - KY Leng (first post)    Feb 8, 2023
Try to inject JavaScript that gets the document height: http://stackoverflow.com/questions/1145850/how-to-get-height-of-entire-document-with-javascript
Could you give example? I am not good in Java.... B4A Question Detecting End of WebView Scroll in B4A - JohnC (first post)    Jun 22, 2024   (1 reaction) ChatGPT says.... (this code may need tweaking to get it running - but it should be a good start) Step 1: Inject JavaScript into WebView after Page Load We'll use the WebViewExtras library to inject JavaScript into an existing page loaded in the WebView. First, make sure...://example.com") End Sub Sub WebView1_PageFinished (Url As String) ' Inject JavaScript to...); " & _ "}});" WebViewExtra.ExecuteJavascript(WebView1, js) End Sub Sub... B4A Question Webview with Vimeo player - drgottjr (first post)    Nov 28, 2024 site has a CSP in effect. it may be difficult to inject javascript. it will take a lot of trial and error to get it right (unless you're lucky early on). the site's policy appears to leave a few doors open, but you will have to know what you're doing or wait until the collaborative minds of our javascript mavens find the correct statement. "event.preventDefault();" is the usual statement to cause a click on an <a> link to be ignored, but in this case, the CSP... Page: 1   2   3   4   5   6   7   |