B4A Library WebViewExtras - warwound    
Oct 16, 2023   
(36 reactions)Hi all.
WebViewExtras is my latest library.
It's a much updated version of JSInterface.
WebViewExtras exposes more of the available native Android WebView methods to your B4A application:
addJavascriptInterface(webView1 As WebView, interfaceName As String)
Add a javascript interface to webView1,
link: Version 1.41 is the latest version of the original WebViewExtras.
WebViewExtras2 is available for download from my server (let me know if you want a l
link: WebViewExtras (original version) was updated to version 2.41 and can be downloaded from first post in this thread.
WebViewExtras2 latest version is 2
link: Hi,
A WebChromeClient handles many things, the WebChromeClient that WebViewExtras adds to your WebView enables:
-- Logging of javascript console mes
B4A Question WebViewExtras (File Upload to Php) - josejad (first post)    
Apr 28, 2021   
(2 reactions)Hi:
Where did you get the example? In order to test it.
When you start typing, you get the help with the parameters you need.
As you can see, addWebChromeClient needs two parameters.
It should be
WebViewExtras1.addWebChromeClient(WebView1, "WebView1") 'for example
112409
link: The error say ", expected" so i guess you need to give one or more parameters to addwebchromeclient?
link: The code source below is originated in this site furom..
I change the source to my created Php File to Move Uploaded Photo To A Folder (pc localhost w
link: Your error clearly says a description is expected which is obviously a parameter of some sort. In your error line where is says WebView1, try the foll
B4A Question WebViewExtras (WebView) touch or click on EditText - DeveloperNima    
Jan 16, 2021Hello dear friends
I want to touch EditText in WebView when touched inside the app Edit Text.
But I can not do that, Please guide me !
Thank you in advance for your effort .
link: works for me (as far as i went). when i type developernima into the user edittext in b4a, it appears in the correct field in the webview.
you have a
link: Hi Sir @drgottjr,
Unfortunately my question was not clear, I apologize.
When I write text in B4A it works normally in WebView of other sites.
But here
link: Please see the full source code first !
Private Sub BtnDeleteAccount_Click
WebViewExtras1.executeJavascript(WebView1, "document.evaluate('/html/b
Italian Problema visualizzazione webview - MarcoRome (first post)    
Sep 21, 2020   
(1 reaction)Dim WebViewExtras1 As WebViewExtras
link: WebViewExtras2 Rel 2.20 la trovi qui: http://b4a.martinpearman.co.-v2.20.zip
Le reference le trovi qui: http://b4a.martinpearman.co..html
Dim WebVie
link: 'These variables can only be accessed from this module.
Dim WebViewExtras1 As WebViewExtras
Dim WebView1 As WebView
End Sub
Sub Activity
link: Ho visto che c'è la WebViewExtras2 2.20.
Puoi provare quella.
Non avendola mai usata però non so se è la soluzione al tuo problema.
B4A Question Extract value from website - DonManfred (first post)    
Sep 24, 2018webviewextras is a b4a library. It is the right way to inject javascript.
Search the forum; there are some samples.
You need to know Javascript do write it though.
Webvieextras
link: The sample needs Webvieextras2, I have searched the forum but the library seems to be removed?
Found this one: http://b4a.martinpearman.co.-201403
link: i think you can use the sample you’ve pasted in B4A
I don’t know if there will be an easier way, but search about WebViewExtras.
You can se a sample
B4A Question webviewextra - drgottjr (first post)    
Mar 25, 2020   
(2 reactions)you can set an "onload" event to fire from either the main page or an iframe (or, presumably, both). it can trigger an event in the app which you can handle. webviewextras1.42 is a 2-way street between the app and the webview. in your case, it's the webview talking to the app.
link: works no problem. when frame loads, it reports. when main page finishes, it reports... everything in attached image
link: In webviewextra 1.42 I would like to handle the event WebViewClient_PageFinished(Url As String).............
for pages loaded inside an iframe. Now
B4A Question WebViewExtras1.JavaScriptEnabled not work - cenyu (first post)    
Aug 11, 2020   
(2 reactions)WebViewExtras1.Initialize(WebView1)
' WebViewExtras1 now has all the methods and properties of WebView1 plus it's additonal methods and properties
' so you can use WebView1 to get/set WebView properties/methods
' or use WebViewExtras1 to get/set WebView1 properties/methods with the
link: I using WebViewExtras ver. 2.20
I am trying to call B4A sub from my web site
This below is my code but cant start b4a sub from html page loaded into W
link: I have it...But my html code does not reach the b4a sub
I think may be WebViewExtras1.JavaScriptEnabled=True is not enough?
link: You need a sub in your B4A code that is named "WebViewGoBack_Request" that will do the WebViewClient1.Back function in it:
Sub WebViewGoBack_Request()
B4A Question WebView SslError = 3 - Erel (first post)    
May 23, 2018It is WebViewExtras2.
link: What is the WebViewExtras lib version ?
I use WebViewExtras2 v.2.20 https://www.b4x.-https-workaround-how-to.23325/#post-334102
WebViewExtras lib v.1
link: This code works fine with an invalid SSL certificate:
Sub Globals
Private WebView1 As WebView
Private we As WebViewExtras
End Sub
Sub Activit
B4A Question ChromeClient ? - drgottjr (first post)    
Apr 17, 2020webview is the view. webviewextras are the, ummm, extras. you add the extras to the view when you initialiaze them
link: Webviewextras is not a view.
Check the forum on how to implement webviewextras and chromeclient
link: Hello everyone, I would like to access https://meet.jit.si/xxxx with WebChromeClient, but the application closes, not giving any errors.
a greeting
B4i Question B4X-B4XPages first app - aeric (first post)    
Oct 01, 2021You may want to open a new thread for a new question.
As I know, WebViewExtras is only available for B4A. WebView is available in B4i Core if I am not mistaken.
link: I got this B4i errors:
"Unknown type: webviewextras<br />Are you missing a library reference?"
"Unknown type: defaultjavascriptinterface<br />Are you
link: Try:
#if B4A
Dim wve As WebViewExtras
#End If
Page: 1  
2  
3  
4  
5  
6  
7  
Powered by ColBERT